hello list,
i got a lan and a wlan card in my notebook and want to be able to plug out the
cable and let all traffic go over the wlan. when i plug in the the cable
again, the traffic should be transfered over the cable.
i tried to create 2 default routes by adding the second route manually (route
add default....). but there are still problems left:
- is it possible to define two default routes in /etc/conf.d/net?
- when plugging in the cable again, the wlan card is still used as the real
default route
- i cannot use mounted nfs shares after plugging out the cable
(both nic are in the same subnet (-> bridging))
what can i do to solve these things?
Yes, u can define more statical default routes, but it will not work as u expect, since the first record which "fits" is always used ... so if u have two default routes, the second one is useless.
In case u need dynamic routing (dependant on actual conditions) u have two possibilities:
1. write some watchdog script, which will change the routing table in case something was pluged/unpluged (sufficient for u)
2. use some routing daemon (used for big networks)
noro
-- [EMAIL PROTECTED] mailing list