Default route doesn't change to wireless device (ath0)

Andre Oppermann andre at freebsd.org
Fri Sep 9 02:04:37 PDT 2005


Brooks Davis wrote:
> On Thu, Sep 08, 2005 at 02:40:06PM -0700, Jon Dama wrote:
> 
>>
>>>>And whenever there is a wireless network available (where the system can log
>>>>in an get a network connection) the default route should be switched to that
>>>>wireless nic. Or even better, if both connections work, automatically choose
>>>>the faster one :-).
>>>
>>>That's the goal we're headed towards.  Unfortunatly, it's not an instant
>>>thing, particularly when people trying things like what you're doing
>>>that don't map well into the old world view of static devices that don't
>>>change networks.  The old model is wrong and has been so for quite some
>>>time, but that doesn't mean there aren't assumptions related to it all
>>>over the place.
>>
>>Again, the problem is with the routing code.  You should NOT need to be
>>deleting default routes simply because one link goes down and another
>>comes up on a different interface.
>>
>>Deleting the route simply because the interface went down is a hack.
> 
> Got a new routing implemention handy?  Until then, well have to live
> with hacks. :(

It's on my TODO list for my funded time.  I've postponed work until
FreeBSD 6.0R is out though.

-- 
Andre



More information about the freebsd-current mailing list