# Vlan topic-Basic question!!!

Mar 5th, 2008

Hello , i have got a doubt in VLAN it is not so serious :

1)Whether is it possible to connect VLAN

from to different Network? if

possible , How?

2)Consider there exists two VLAN 10

and 20 ,for the purpose of the

connection between the Above two VLAN's

we will be using the inter-vlan

connection (by using a router) , my

doubt starts here: Is it possible to

connect the above two Vlan's without

the help of router , why!!!

and also Is it possible to use a

single m/c from each of the VLAN's to

have a connection (without conf inter-

vlan)????

Overall Rating: 0 (0 ratings)

## Replies

Joseph W. Doherty Thu, 03/06/2008 - 06:39
• Super Bronze, 10000 points or more

If one switch has two VLANs defined, it logically operates as two physical switches. Traffic within the switch from one VLAN is not visible to the other VLAN, just as traffic between two physical switches isn't visible to each other.

However, this isolation is broken, once we start interconnecting switches. Two non-VLAN switches, interconnected will be the part of the same LAN segment. We could likewise interconnect, on the same switch, a port from one VLAN to a port of the second VLAN and they then would also be joined.

If you had two switches, each with two VLANs, again, the VLANs are isolated on each switch until we start to interconnect. We could interconnect switch1's one VLAN with one VLAN on switch2 and interconnect switch1's second VLAN with the second VLAN on switch2. Now we have the equivalent of 4 physical switches, divided into connected pairs.

If we interconnect the two VLAN on either physical switch (just one interconnect), we then have the equivalent of 4 physically connected switches. If the interconnection was on switch2, traffic that wanted to go from one switch1 VLAN to the other would first pass to switch2, jump the VLANs there, and come back to switch1.

Since we normally use VLANs to logically contain a segment, interconnecting VLANs, as described above, defeats their purpose. I.e. if we wanted traffic to freely mingle between two VLANs, why define them. Instead, we normally join VLANs with a router, just as a router could physically join separate non-VLAN switches.

PS:

One feature also used with VLANs is "trunk" connections. Instead of having a physical connection to support each VLAN crossing between devices, frames are tagged with a VLAN ID. This creates virtual links.

jsjerkins Thu, 03/06/2008 - 10:50