Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: route not being deleted from wm0



On Tue, 03 Feb 2009 14:19:29 +0100
Frank Kardel <kardel%netbsd.org@localhost> wrote:

> Steven M. Bellovin wrote:
> > I often move my laptop between wired (wm0) and wireless (wpi0)
> > connections to the same subnet.  Going from wpi0 to wm0 access works
> > fine.  However, when I go the other way, there's a subnet route that
> > hasn't been deleted.  Is there some bug in the wm0 driver or perhaps
> > in one of the pieces it depends on that wpi0 doesn't use?  I believe
> > hubertf has run into the same thing; see the comment about 'route
> > flush' at
> > http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20070816_1133.html
> >
> >
> >   
> >             --Steve Bellovin, http://www.cs.columbia.edu/~smb
> >   
> In case you run routed:
> As for missing routes wrt/ WLAN I have another datapoint. When an
> interface has too many errors (wpi0 can do that) routed can decide
> that this is a bad interface and
> disable that - it looks like the routed got lost (see log messages in 
> /var/log/messages).
> routed's behaviour may not be the best here in wlan world as routed
> even manages to
> kill the interface with the default route leaving you
> disconnected :-(.
> 
I don't run routed.  I did discover that using 'route flushall' instead
of 'route flush' clears out the link#n routes that persist, but I still
don't understand why it's a problem with wm0 and not wpi0.

                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index