Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Consider a setup of LANs which has multiple switches and these LANs are connected to a backbone router and which handles the data between these LANs.Now I want to know what is the need of VLAN in this set up .And If I have a VALN 10 in say Switch1(10 interface) and Switch 2(7 interface) in the same LAN also if I have the same VALN ID with in Switch 3(4 interfaces) and Switch4(2 interface) .What is the consequence of this scenario .

Also the default VALN ID(1) is same for all the Switches.

share|improve this question

VLAN is great when you need to achieve network isolation/segmentation. Virtual switches within switches.

share|improve this answer

"It depends". Specifically, it depends on what VLANs are allowed to pass over a trunk.

If you have two switches, with VLAN 1, 10 and 20 on them (no more).

Port 1 (on both switches) is the trunk between the switches. Across the trunk, we allow VLAN 1 and VLAN 20.

On Switch 1, we assign ports 2-5 to VLAN 1, port 6 to VLAN 20 and ports 7-12 to VLAN 10.

On Switch 2, we assign port 2 to VLAN 1, ports 3-10 to VLAN 20 and ports 11-12 to VLAN 10.

I'll write the switch/ports as switch# / port# from here. From this, we can see that 1/2-1/5 and 2/2 can all talk to each other (they're on the same VLAN, the VLAn is on a trunk between the switches).

Similarly, 1/6 can talk to 2/3-2/10 (same VLAN id, VLAN allowed across the trunk).

However, while ports 1/7-1/12 can all talk to each other and 2/11-2/12 can talk to each other, there's no communication between the switches, because we have not allowed te VLANs across the trunk, so while they have the same VLAN id, they're not "the same" VLAN.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.