Date: Sun, 10 Mar 2002 18:08:21 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: Peter Kieser <peter@striked.net> Cc: freebsd-bugs@FreeBSD.org Subject: Re: i386/35726: Won't let me use ifconfig on the interfaces after upgrade to latest OS Message-ID: <20020310180821.GA88768@walton.maths.tcd.ie> In-Reply-To: <200203101740.g2AHe2516496@freefall.freebsd.org> References: <200203101740.g2AHe2516496@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 10, 2002 at 09:40:02AM -0800, Peter Kieser wrote: Ahhh - I think I see the problem. You are trying to set up two IP addresses on the same subnet with the same subnet mask. This has always been unsupported in FreeBSD (because of the complication it causes when chosing a source address), but something has started enforcing it more vigerously in recent times. Usually, this occurs with people setting up lots of aliases on an ethernet card, and the correct solution is to set the subnet mask to 255.255.255.255 for everthing but the primary address. This could be more difficult for you 'cos you're using dhcp. I'm not sure what the best workaround is... David. > haven# ifconfig > lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet6 fe80::250:56ff:fe50:b495%lnc0 prefixlen 64 scopeid 0x1 > ether 00:50:56:50:b4:95 > lnc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet6 fe80::250:56ff:fe50:b496%lnc1 prefixlen 64 scopeid 0x2 > inet 24.82.66.245 netmask 0xfffffc00 broadcast 24.82.67.255 > ether 00:50:56:50:b4:96 > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020310180821.GA88768>