03-16-2017 05:39 AM - edited 03-08-2019 09:46 AM
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
03-16-2017 06:27 AM
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.
03-16-2017 07:08 AM
switch has arp table or not
03-16-2017 08:22 AM
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
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