I have attached the topology, PC0 and PC1 are in same network (192.168.1.0/24)
PC0 send packet PC1 directly after arp resolution. So why router arp table shows PC0 and PC1 mac address. (Although the packet does not pass the router)
I have attached the topology, PC0 and PC1 are in same network (192.168.1.0/24)
PC0 send packet PC1 directly after arp resolution. So why router arp table shows PC0 and PC1 mac address. (Although the packet does not pass the router)
If the hosts exchanged traffic with the router, which is very likely if you configured the router to be the default gateway for these PC's, the router will have learned their MAC addresses and will have stored their ARP entries.
The reason why the router to learnt those MAC addresses of PC0 and PC1 ( in the ARP table) is because of Gratuitous arp. Gratuitous arp will be used when network node boots up or ip address is changed so that other nodes will know the presence.