From owner-freebsd-hackers Wed Jun 16 18:18:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.vnet.net (smtp2.vnet.net [166.82.1.32]) by hub.freebsd.org (Postfix) with ESMTP id 3648615055 for ; Wed, 16 Jun 1999 18:18:13 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp2.vnet.net (8.9.1a/8.9.1) with ESMTP id VAA25383; Wed, 16 Jun 1999 21:18:49 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id VAA03157; Wed, 16 Jun 1999 21:18:08 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id VAA08418; Wed, 16 Jun 1999 21:18:07 -0400 (EDT) Date: Wed, 16 Jun 1999 21:18:07 -0400 (EDT) From: Thomas David Rivers Message-Id: <199906170118.VAA08418@lakes.dignus.com> To: rivers@dignus.com, wes@softweyr.com Subject: Re: 3.2 SL/IP Install - can't get ifconfig to work... Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <37684C0E.330B7FA0@softweyr.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Thomas David Rivers wrote: > > > > To add more to this - tracing through in.c in the kernel, > > I see that when you configure an interface it eventually > > works its way down to rtrequest - to add a route for > > the new interface. > > > > I believe rtrequest() is the one returning EEXIST which is > > what causes ifconfig on sl0 to always complain "File exists". > > > > Now - why would rtrequest() believe there's a route already > > there? > > Probably because there is one. ;^) > > netstat -rn before and after the ifconfig should allow you to see > what has changed. I suspect it might be your default route, but > you'd have to look to be sure. > netstat isn't on the install mfsroot (which is was) - but I tracked this down to a kernel bug. See PR#12251. Basically, if you do the slattach _before_ the ifconfig, the ifconfig will fail because the kernel tries to add the route twice. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message