02-29-2020 09:30 PM - edited 02-29-2020 09:43 PM
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 ?
Solved! Go to Solution.
03-01-2020 02:11 AM
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.
03-01-2020 01:01 AM
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!
03-01-2020 01:36 AM
ok, i understand now that it forwards the broadcast but does the router or switch checks cam table if it has an entree ?.
03-01-2020 07:32 AM
03-01-2020 02:11 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide