royalblues Fri, 05/30/2008 - 05:28
User Badges:
  • Green, 3000 points or more

When a switch learns the mac-address on a port, it will also associate it to the vlan.


The switch thus know what all ports it needs to forward the traffic to when it receives a broadcast /unknown unicast for that vlan


Narayan

carl_townshend Fri, 05/30/2008 - 07:48
User Badges:

so, do will a vlan stop my switch forwarding to mac addresses between vlans?, does the switch only allow mac addresses to communicate if they are on the same vlan, and will only forward between vlans at layer 3 ?

Wilson Samuel Fri, 05/30/2008 - 07:54
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, July 2015

Please find the answer to your query as below:


1.Will a vlan stop my switch forwarding to mac addresses between vlans?


Yes. A switch will not allow any communication between the VLANs unless there is an involvement of L-3 device.


2. the switch only allow mac addresses to communicate if they are on the same vlan, and will only forward between vlans at layer 3 ?


All the communications between two hosts (MAC Addresses at the L-2) will take place only if both of them are on same VLAN. However if the Switch is an L-3 Switch or if there is a router involved (using Trunk) then the Router or the L-3 engine will Route-Switch the packet.


HTH,


Please rate all helpful posts.


Kind Regards,



thotsaphon Fri, 05/30/2008 - 08:03
User Badges:
  • Gold, 750 points or more

Carl,

You need a layer3 device to route between vlans. You can think that the vlan functions will separate the switch to be many logical switches. Switch will forward frames within the vlan. We use vlan to separate broadcast domain and to apply security policies.


HTH

Thot

Actions

This Discussion