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.

-- 
       "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                 Softweyr LLC
http://www.softweyr.com/~softweyr                      w...@softweyr.com


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to