Doctor Who wrote:
I have what should be a simple question about the 'route' command:
I'm at a client and am plugged into their network with eth0. I have a broadband card I'm using (ppp0) so I can get out to the Internet (which I can't on their network). The laptop I'm on dual-boots WinXP and openSUSE10.3
With WinXP, I simply:
route delete 0.0.0.0 mask 0.0.0.0 ###.###..###.### <-Client IP route add ###.0.0.0 mask 255.0.0.0 ###.###.###.1
Well if you are doing what I think you are doing, try this: "route del 0.0.0.0" (could also use "route del default") "route add -net ###.0.0.0 netmask 255.0.0.0 gw ###.###.###.1 <dev>" <dev> should be replaced with the network interface the traffic should be sent over (ppp0 or eth0, etc.). This is the equivalent of the commands above. Although I am not 100% sure it will do what you want.
What is the equivalent syntax with Linux to achieve the same with the 'route' command. I'm just getting client traffic to go through the client GW but all other traffic to go through my broadband card (ppp0).
Thanks!
-- kr -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org