Ifconfig (DHCP?) configures two IPs in one IF
ashish at FreeBSD.org
Thu Aug 5 20:34:30 UTC 2010
Guojun Jin writes:
> This problem comes in 8.1-R. I have seen it before and thought I filed a report but cannot find it.
> I found one (bin/21292) for ifconfig, but it was for two NICs with a same IP. Now is a reversed case
> One NIC has two IPs.
> Here is the description:
> Due to DHCP server down, I manually configured rl0 to 192.168.0.10 for temporarily use.
> In the middle of working, DHCP came back and assigned another IP on the rl0, now NIC is down
> due to two conflict IP addresses.
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:40:f4:d1:23:9a
> inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
> inet 10.10.50.126 netmask 0xffffff00 broadcast 10.10.50.255
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
> I tried unplumb/delete rl0, but if does not work.
> Before the bug can be fixed, is any way to fix the IP without rebooting the machine?
# ifconfig rl0 -alias 192.168.0.10
Above will cause 192.168.0.10 to be removed from the interface. For details,
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/
“Few false ideas have more firmly gripped the minds of so many
intelligent men than the one that, if they just tried, they could
invent a cipher that no one could break.” (David Kahn, "The
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100805/b5adffa2/attachment.pgp
More information about the freebsd-questions