[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dhcpcd doesn't remove alias address on interface-down?
On 2015-07-31 00:43, Paul Goyette wrote:
(Running amd64 7.99.19 with kernel and userland from sources that were
updated on 2015-06-26 at 00:40:42 UTC)
I have a fairly simple network environment, with a single internet
connection via a ISP-supplied WiFi/NAT router. I have _nothing_ in my
/etc/ifconfig.re0 file, and /etc/rc.conf has the following line
dhcpcd=YES ; dhcpcd_flags="-C resolv.conf -L"
(The -C option is there because the ISP has [at least] one broken
nameserver, so I hard-code resolv.conf to point to known good
Occassionally I need to reboot the router. It seems that when I do, I
end up with a new "alias" entry for the interface, but the previous
alias is still there. After a while, I seem to be accumulating
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
inet alias 192.168.1.9 netmask 0xffffff00 broadcast
inet alias 192.168.1.7 netmask 0xffffff00 broadcast
inet alias 192.168.1.6 netmask 0xffffff00 broadcast
inet alias 192.168.1.3 netmask 0xffffff00 broadcast
# arp -an
? (192.168.1.1) at 18:1e:78:97:11:ad on re0
? (192.168.1.3) at 30:b5:c2:05:0e:66 on re0 permanent
? (192.168.1.6) at 30:b5:c2:05:0e:66 on re0 permanent
? (192.168.1.7) at 30:b5:c2:05:0e:66 on re0 permanent
? (192.168.1.9) at 30:b5:c2:05:0e:66 on re0 permanent
? (192.168.1.10) at 30:b5:c2:05:0e:66 on re0 permanent
? (192.168.1.13) at a0:a8:cd:0d:e7:ec on re0
Since the reboot also causes other devices to re-acquire addresses,
I'm having difficulty talking to anything that gets one of my earlier
alias addresses. :)
Is this expected/normal behavior? If not, can it be corrected? :)
This is not normal or expected!
I'm very bogged down in my personal life atm, but it would help if you
could capture a tcpdump of the bootp messages on the client whilst
rebooting the router.
dhcpcd output with the debug directive in dhcpcd.conf would be of
benefit as well whilst the reboot happens.
Main Index |
Thread Index |