Date: Fri, 24 Jun 2016 17:31:13 +0200 From: Michael Gmelin <freebsd@grem.de> To: freebsd-net@freebsd.org Subject: Re: ARP table entries / ifconfig needs to be issued twice when moving IP Message-ID: <20160624173113.2744f8bc@bsd64.grem.de> In-Reply-To: <20160621112538.784e7b6e@bsd64.grem.de> References: <20160621064800.GB8441@box-hlm-03.niklaas.eu> <20160621112538.784e7b6e@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160624173113.2744f8bc>