Hi all, can anyone tell me the difference between these? is it possible to view both on a switch? i.e how would i show what mac addresses are mapped to my uplink ports? what is the function of the arp table on switches/routers ? and lastrly do we only have an arp table on layer 3 devices ?
The MAC table is a list of mac addresses and switch ports. This table is used by the layer 2 switch to decide on which port to forward an ethernet frame. If it receives a frame with an unknown destination MAC address, it floods the frame out all of it's ports. The switch populates the mac table by examining the source mac address of frames received on different ports. In the old days this was know as the TCAM table. You can view this table with "sh mac addr".
The arp table is a list of IP addresses and MAC addresses. This table is used by the router to decide which MAC address to apply to the ethernet header of a given packet. When a layer 3 device receives a frame on an interface it strips the layer2 header and examines the layer 3 (IP) header. It then does an arp table lookup to decide what the destination MAC will be for the next hop. It then uses this information to construct the new layer 2 header. The router or layer 3 switch uses the ARP protocol to populate this table. You can view it with "sh arp".
Routers generally contain ARP table for their directly connected devices.
So when a packet comes to the router, it strips the L2 header & reads the L3 header to get an idea which network the pkt is destined for.
It then checks its routing table to find out the next-hop to reach this network. Then from Arp table it extracts the mac for this next-hop & rewrite the L2 header with its own mac as source & nxt-hop mac as destination.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...