cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2667
Views
10
Helpful
4
Replies

Does the router or switch help a host find the mac address of a host when using arp ?

dolanduck.
Level 1
Level 1

to continue the question Does the switch or router broadcast the ff,ff,ff,ff,ff,ff request or does it look in its cam table ?

1 Accepted Solution

Accepted Solutions

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

     For broadcast frames (destination MAC of FFFF.FFFF.FFFF), the switch does not do a CAM table lookup, by design. The MAC address of FFFF.FFFF.FFFF can never be added to the CAM table, as the switch does MAC learning by looking at the source MAC of Ethernet frames, and FFFF.FFFF.FFFF can never be a source MAC.

 

Regards,

Cristian Matei.

View solution in original post

4 Replies 4

Marlon AJ
Level 1
Level 1

Hi @dolanduck.  ,

 

Lets say that PC1 is connected to SW1 and lets say that PC1 sends an ARP request with a broadcast destination MAC address FFFF.FFFF.FFFF . When the SW receives the frame, it checks the destination MAC address. For a broadcast address FFFF.FFFF.FFFF it will forward the frame to every port except the port in which the switch received the frame. That would be the action taken by the switch.

 

If the destination is in the same LAN, it will reply the broadcast frame with a unicast frame with PC1 Mac and IP address as the destination.

 

If the destination is in a different LAN, a router will construct an ARP request with a destination MAC address FFFF.FFFF.FFFF. Then, it will forward the request out of its directly connected ports. That would be the action taken by the router.

 

If the destination is reachable by the router (directly connected or through another switch), it will reply the broadcast frame with a unicast frame with R1 Mac address and PC1 IP address as the destination.

 

Answering your question, the switch and the router will forward the ARP requests and replies.

 

Hope this helps!

 

 

 

 ok, i understand now that it forwards the broadcast but does the router or switch checks cam table if it has an entree ?.

Concretely, switch's CAM table (MAC address, Port) not like ARP table (MAC address, IP Address). Switch cannot help to answer the ARP request using CAM table.

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

     For broadcast frames (destination MAC of FFFF.FFFF.FFFF), the switch does not do a CAM table lookup, by design. The MAC address of FFFF.FFFF.FFFF can never be added to the CAM table, as the switch does MAC learning by looking at the source MAC of Ethernet frames, and FFFF.FFFF.FFFF can never be a source MAC.

 

Regards,

Cristian Matei.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card