cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
738
Views
5
Helpful
4
Replies

mac, arp table

aksher
Level 1
Level 1

is the mac table distributed in a layer 2 environment.

is the arp table populated on switch only with the directly connected interfaces and is not replicated across other switches in the layer2?

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Aksher

I am not sure that I fully understand your question. But based on what I think you are asking here are answers:

- the mac table is built and maintained locally and independently on each switch. It is not distributed in a layer 2 environment.

- the arp table is populated locally on a switch for any address for which it has issued an arp request and received an arp response, whether it is a directly connected interface or a remote interfacee. The arp table is not replicated accross other switches in the layer 2 environment.

If I have not understood something correctly then perhaps you can clarify.

HTH

Rick

HTH

Rick

but am able to see some entries for arp table but for mac table i can see more entries than that of the arp table.so how does it difer?

Aksher

This is a very different question from what I thought that you were asking at first, so thank you for clarifying.

In a switch there is an arp table and a mac table and they are very different and serve different purposes. The arp table is built when the switch (the management interface of the switch) sends an arp request and receives an arp response. This would happen when the switch management interface needs to communicate with other devices in the network. The arp table will usually be fairly small in the switch. The arp table does not have anything to do with how the switch forwards packets/frames. The mac table is built by the switch to help it forward frames through the network. When a frame arrives on one interface of the switch, the switch looks at the destination mac address and does a lookup in the mac table to find which interface will be the outbound interface. So the mac table is essential to how the switch forwards frames in the network.

Another way to look at it is that the arp table is a table of layer 3 information and supports layer 3 communication. The mac table is purely a table of layer 2 information and supports layer 2 communication.

HTH

Rick

HTH

Rick

so does the arp broadcast is sent to the nearest layer 3 devices and added on the switch after getting the response.

does mac table gets increased when a new communication is made each time say with a new system.

Review Cisco Networking products for a $25 gift card