Note that M flag in ARP entry tells that ARP entry is permanent
Text Box
root@minikube:~/personal# arp -n
Address HWtype HWaddress Flags Mask Iface
172.17.0.2 ether 02:42:ac:11:00:02 C docker0
10.106.166.100 (incomplete) eth0
172.17.0.3 ether 02:42:ac:11:00:03 C docker0
10.106.166.1 ether 00:de:fb:97:92:41 C eth0
root@minikube:~/personal# arp -s 172.17.0.4 02:42:ac:11:00:04
root@minikube:~/personal# arp -n
Address HWtype HWaddress Flags Mask Iface
172.17.0.4 ether 02:42:ac:11:00:04 CM docker0
172.17.0.2 ether 02:42:ac:11:00:02 C docker0
10.106.166.100 (incomplete) eth0
172.17.0.3 ether 02:42:ac:11:00:03 C docker0
10.106.166.1 ether 00:de:fb:97:92:41 C eth0
root@minikube:~/personal# arp -a | grep PERM
? (172.17.0.4) at 02:42:ac:11:00:04 [ether] PERM on docker0
root@minikube:~/personal#
Useful link: https://www.network-builders.com/threads/arp-command-output.57988/
https://www.linuxnix.com/linux-arp-command-explained-with-examples/
https://www.networkworld.com/article/2750342/it-management/checking-your-arp-entries.html