|
Each vlan is a seperate broadcast domain - traffic entering on a port in a vlan (vlan 1 in your example, above) will only be able to leave on ports that are members of vlan 1. In order to reach hosts on vlan 5 some device must route or bridge between the seperate vlans.
Using your example, imagine host 1 has an ip address of 192.168.1.2 /24 and host 5 an ip address of 192.168.1.3 /24. If host 1 wants to send a packet to host 5, the first thing it does is check its arp cache for a mac address for 192.168.1.3. If no mac address is found it will broadcast to find the mac address for 192.168.1.3. The switch will receive the broadcast and forward it out all ports in vlan 1, except port 1. Host 5 will never see the arp request since it is on vlan 5.
Even if you added a static mac address entry on host 1, the switch will still not send packets from host 1 to host 5, even though the mac address is correct, since the switch maintains a seperate table for each vlan.
Spice_Weasel
Oh as I was young and easy in the mercy of his means, Time held me green and dying
Though I sang in my chains like the sea.
|
Last edited by Spice_Weasel : 18-Sep-2008 at 02:46 PM.
|
|
|
|