cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
30
Helpful
16
Replies

Re: Communication of two different VLANs(Layer 2 switch) without the help of Layer 3 devices.

Hi Sir @luis_cordova

I have one more question, then what us the use of this type of topology (Which I uploaded at first). Take an instance, in a company there is two departments namely, Sales and Engineering. Like sw1 has VLAN "Sales" and Sw2 has VLAN "Engineering", switches are connected, then it will share the information? Then what's the use?

Also, Is this a Bug? Or It happens for a reason?

Also, take another instance, sw1 has VLANs 10 and 20 and sw2 has VLANs 50 and 60 then, they will not share information(ignore trunking) even if they share same network/subnet whereas if, both switches has VLAN 10 in one and VLAN 20 in other, they will communicate.

(So, we conclude that if a switch has multiple VLANs, it will not communicate without trunking, although they are in same subnet/network) and if switches have only single VLAN they will communicate, then what's it use?

Thank You.! 

Highlighted
Advocate

Re: Communication of two different VLANs(Layer 2 switch) without the help of Layer 3 devices.

Hi @YamanBelwal0505 ,

 

I have one more question, then what us the use of this type of topology (Which I uploaded at first). Take an instance, in a company there is two departments namely, Sales and Engineering. Like sw1 has VLAN "Sales" and Sw2 has VLAN "Engineering", switches are connected, then it will share the information? Then what's the use?

Also, Is this a Bug? Or It happens for a reason?

If in your topology you have more than one vlan, the correct thing is to configure the links that connect the switches in trunk mode.
That prevents the packets from being re-tagged and achieves the purpose of the vlan, that is, that the packets are only retransmitted to the ports with the same vlan number configured.

 

Also, take another instance, sw1 has VLANs 10 and 20 and sw2 has VLANs 50 and 60 then, they will not share information(ignore trunking) even if they share same network/subnet whereas if, both switches has VLAN 10 in one and VLAN 20 in other, they will communicate.

I give you an example:

 

Switch1(vlan 10, 20, 30) <- trunk mode link -> Swtich2 (vlan 10, 40, 50)

 

In this topology, there will only be successful ping among the vlan10 PCs.

In order to have connectivity between PCs of different vlan, you will need a layer 3 device that does intervlan routing.

 

Regards

 

Remember to mark the correct answers as solved, because that helps other users with similar questions

 

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards