From owner-freebsd-bugs Sun Mar 10 10: 8:25 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 32B3A37B41A for ; Sun, 10 Mar 2002 10:08:22 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Mar 2002 18:08:21 +0000 (GMT) Date: Sun, 10 Mar 2002 18:08:21 +0000 From: David Malone To: Peter Kieser 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> References: <200203101740.g2AHe2516496@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203101740.g2AHe2516496@freefall.freebsd.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 mtu 1500 > inet6 fe80::250:56ff:fe50:b495%lnc0 prefixlen 64 scopeid 0x1 > ether 00:50:56:50:b4:95 > lnc1: flags=8843 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