frantisek holop wrote:
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?
If the two networks are on the same subnet, then the lii0 interface will
not lose its fixed-entry in the routing table until you ifconfig delete
it away, then route -n flush and dhclient the other interface.