cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1546
Views
0
Helpful
3
Replies

arp & mac-address

arakesh12345
Community Member

what is the difference between the arp & mac address table

   pc1====switch====pc2

how the process is going to form arp table and mac address table  to ping pc1 to pc2

what is the relation between them

3 Replies 3

cihanyilmazer
Level 1
Level 1

Hello,

MAC Address Table contains network devices' MAC addresses that is burned on devices' NICs.

ARP Table contains IP <=> MAC relations.

When you want to go PC2 from PC1 (in same broadcast domain);

1) Your PC checks its own ARP table to find the destination IP's MAC Address.

2) If find related MAC address (according to destination IP), encapsulate your data and set frame's destination MAC to PC2's MAC address and sends packet.

3) If couldn't find IP address, sends an ARP Broadcast and asks the all clients "Who is 192.168.1.1, reply to 192.168.1.100" (this is just an example).

4) Related client replies this query with its own mac address and source client learns and saves IP<=>MAC information to its ARP Table.

From Switch Side;

Switch recieves your packet and check its mac table to find destination mac address's interface. If found, sends the packet from this interface. If couldn't find, flood from its all interfaces, except the packet's source interface.

Thank you.

switch has arp table or not

Yes, all switches have arp tables. If the switch is L2 the arp table is used when you connect to and from the switch itself. If the switch is L3 then it uses it just as any other L3 device would.

Jon