Vlan topic-Basic question!!!

Unanswered Question
Mar 5th, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joseph W. Doherty Thu, 03/06/2008 - 06:39
User Badges:
  • Super Bronze, 10000 points or more

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 Thu, 03/06/2008 - 10:50
User Badges:

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.

Actions

This Discussion