cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
203
Views
4
Helpful
1
Replies

what info do switches use

carl_townshend
Spotlight
Spotlight

when my pc looks for another switch on the lan, does each switch map an ip address to a mac address and then maps this to a port ? or does my pc just do an arp for the mac and the switch knows where the mac address is ?

1 Reply 1

ankurbhasin
Level 9
Level 9

Hi Carl,

Once your PC wants to talk to some other PC in LAN it just sends a broadcast for that mac address and if second PC in on same VLAN it will reply with its mac address.

Now that mac address will be a destination mac address in your frame. Once that frame gets into the switch it will check the mac address table which maintains the entry for mac address plus port number and vlan numer and it will come to know which port the frame should move out to reach the destination mac address.

If that destination mac address is not present in the mac table then that frame will be broadcasted in same vlan and will reach the destination port also but subsequest frames will not be broadcast because after first broadcast the destination mac entry will be learned on some port.

HTH, if yes please rate the post.

Ankur