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 10:30:23 PST 2003
The following reply was made to PR conf/35726; it has been noted by GNATS.
From: Max Laier <max at love2party.net>
To: freebsd-gnats-submit at FreeBSD.org, peter at striked.net
Cc:
Subject: Re: conf/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS
Date: Tue, 25 Nov 2003 19:21:40 +0100
> 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: ("inet 24.82.66.245 netmask
0xfffffc00" on lnc0 has the same prefix as the address your dhcp is
trying to give to lnc1)
http://pf4freebsd.love2party.net/in.c.diff originally done for my CARP
port should fix/work around it. Can you, 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