cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
356
Views
0
Helpful
2
Replies

Vlan topic-Basic question!!!

hackeemmana
Level 1
Level 1

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)????

Please Help me out with this issue.

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

Perhaps it would help your understanding if you consider that VLANs generally create virtual switches.

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
Level 1
Level 1

The previous poster made some good points, I will add to answer the original question ( I hope ) Can you preform inter vlan communication with out a router or layer 3 device? Yes, but it is not good practice or desirable, configure both networks with in the same ip subnet address range and put them in different vlans and they will still pass traffic to each other.

Review Cisco Networking products for a $25 gift card