ARP table entries / ifconfig needs to be issued twice when moving IP

Michael Gmelin freebsd at grem.de
Fri Jun 24 15:38:03 UTC 2016


An easier way to demonstrate the problem: When there is a temporary
entry in the arp table, it's only overwritten by the permanent entry
the second time ifconfig is called:

10.3-RELEASE / 10.2-RELEASE / 9.1-RELEASE:

[root@ ~]# ifconfig bge0 10.1.1.1/24
[root@ ~]# arp -s 10.1.1.2 14:18:77:00:00:00 temp
[root@ ~]# ifconfig bge0 alias 10.1.1.2/32
[root@ ~]# arp 10.1.1.2
? (10.1.1.2) at 14:18:77:00:00:00 on bge0 expires in 1178 seconds
[root@ ~]# # ifconfig bge0 alias 10.1.1.2/32
? (10.1.1.2) at 14:18:77:4d:10:61 on bge0 permanent [ethernet]

- Michael

-- 
Michael Gmelin


More information about the freebsd-net mailing list