> 
> 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 majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to