why two switches which connect to the other with different vlans can communicate with each other?

Created: Apr 22, 2019 10:40:57Latest reply: Apr 29, 2019 09:39:57 278 6 0 0
  Rewarded Hi-coins: 0 (problem resolved)

we got two switches, both are s5720HI, and when connected these two switches with interface which belongs to the different vlans, why they can communicate with each other successful. Shouldn't it be impossible to communication because of the connected interface are in different vlans?

topology as below shows:

104046s0uzr2i825r4it1z.png?switch_connec

  • x
  • convention:

Featured Answers
Admin Created Apr 22, 2019 11:05:10 Helpful(0) Helpful(0)

Good day sir @sim_157!

As you said, LSW1 and LSW2 connect to each other via the access port, so they can communicate with each other, because when the packets are forwarded outside the access port, they will not be tagged. 

So when the interface is configured as the access port, the switch will transfer the packets which are untagged, no matter which device sends this packet out.
  • x
  • convention:

All Answers
chenhui Admin Created Apr 22, 2019 11:05:10 Helpful(0) Helpful(0)

Good day sir @sim_157!

As you said, LSW1 and LSW2 connect to each other via the access port, so they can communicate with each other, because when the packets are forwarded outside the access port, they will not be tagged. 

So when the interface is configured as the access port, the switch will transfer the packets which are untagged, no matter which device sends this packet out.
  • x
  • convention:

sim_157 Created Apr 22, 2019 11:09:25 Helpful(0) Helpful(0)

Posted by chenhui at 2019-04-22 11:05 @sim_157good day sir, as you said, the LSW1 and LSW2 connects to each other with access port, so the ...
thanks for your support,
you mean switch will accept all the untagged packets no matter whether they comes from the PC or other switch?
  • x
  • convention:

chenhui Admin Created Apr 22, 2019 11:11:54 Helpful(0) Helpful(0)

Posted by sim_157 at 2019-04-22 11:09 thanks for your support,you mean switch will accept all the untagged packets no matter whether the ...
yes, the switch will accept all the untagged packets, though the remote device is another switch which configured the connected interface another vlan.
  • x
  • convention:

chenhui Admin Created Apr 22, 2019 11:14:05 Helpful(0) Helpful(0)

Posted by sim_157 at 2019-04-22 11:09 thanks for your support,you mean switch will accept all the untagged packets no matter whether the ...
by the way, switch is just a machine, it is not so intelligent, it cannot recognize which type of device it connected with.
  • x
  • convention:

Hobbit Created Apr 22, 2019 11:21:28 Helpful(0) Helpful(0)

Very useful
  • x
  • convention:

bigwangz Created Apr 29, 2019 09:39:57 Helpful(0) Helpful(0)

My friend
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top