conf/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS

Max Laier max at love2party.net
Tue Nov 25 09:46:59 PST 2003


BMS> Synopsis: Won't let me use ifconfig on the interfaces after upgrade to latest OS

BMS> Air this out on -net for discussion/bikeshedding.

> haven# /sbin/dhclient lnc1 lnc0
> ifconfig: ioctl (SIOCAIFADDR): File exists
> dhclient: New IP Address(lnc0): 24.82.66.238
> dhclient: New Subnet Mask (lnc0): 255.255.252.0
> dhclient: New Broadcast Address(lnc0): 24.82.67.255
> dhclient: New Routers: 24.82.64.1
> haven#

The EEXISTS above comes from in.c (rtinit) when one tries to add an
address in an already existing prefix:
http://pf4freebsd.love2party.net/in.c.diff originally done for my CARP
port should fix/work around it. Can somebody, please give it a try?

The code was obtained from WIDE via OpenBSD.

-- 
Best regards,
 Max                            mailto:max at love2party.net



More information about the freebsd-net mailing list