Got it

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

Created: Apr 22, 2019 02:40:57Latest reply: Aug 13, 2021 16:14:31 1008 12 1 0 0
  Rewarded HiCoins: 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

Featured Answers

Recommended answer

chenhui
Admin Created Apr 22, 2019 03:05:10

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.
View more
  • x
  • convention:

nochhie
nochhie Created Aug 4, 2021 04:29:27 (0) (0)
 
All Answers
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.
View more
  • x
  • convention:

nochhie
nochhie Created Aug 4, 2021 04:29:27 (0) (0)
 
Posted by chenhui at 2019-04-22 03: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?
View more
  • x
  • convention:

nochhie
nochhie Created Aug 4, 2021 04:29:32 (0) (0)
 
Posted by sim_157 at 2019-04-22 03: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.
View more
  • x
  • convention:

Posted by sim_157 at 2019-04-22 03: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.
View more
  • x
  • convention:

Very useful
View more
  • x
  • convention:

My friend
View more
  • x
  • convention:

IndianKid
IndianKid Moderator Author Created May 21, 2021 12:13:05

Hi Sim,

is each Switch VLAN Interface having the IP assigned? if yes what is both VLAN Swicthinterface IP? did you configure any routing on switch or firewall or router connected to it.?

Example in your case: one switch is having a VLAN ID 10(untagged VLAN 10) to access port and another switch is having a VLAN ID 100 Access port(untagged VLAN 100).
When you connect a cable between these two ports, you will have communication because the first switch and second swicth acting as layer 2 with untagged packets. but if you configure the different network for both interfaces it won't communicate.
View more
  • x
  • convention:

Good answer
View more
  • x
  • convention:

why two switches which connect to the other with different vlans can communicate with each other?-4069329-1
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.