Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 21:18:07 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        rivers@dignus.com, wes@softweyr.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 3.2 SL/IP Install - can't get ifconfig to work...
Message-ID:  <199906170118.VAA08418@lakes.dignus.com>
In-Reply-To: <37684C0E.330B7FA0@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906170118.VAA08418>