On 2009-01-27, frantisek holop <[email protected]> wrote: > hi gang, > > i am at a bit of loss here. i have finally a notebook > where both the wireless (iwn0) and normal nic (lii0) get > recognized. both are dhcp clients of my home router. > > consider the following scenario: > 1. boot up, lii0 gets a lease > 2. i disconnect the wire > 3. route -n flush; dhclient iwn0 > > in this case route -n show still shows that the default > route through the gateway has the Iface of the disconnected > wired nic. what is going on?
do you mean that "route -n flush" does not flush the routing table? make sure you're on recent and in-sync base and kernel, and show us the routing table before and after the flush, as well as the output of the flush command. if you haven't looked for a while, things may work a little differently to how you're used to; the kernel routing table supports route priorities nowadays (i.e. you can have multiple routes showing up, only the routes pointing at active interfaces are used).

