> Anyone know how I can tell eht0 to work without being the default?

Err, by adding static routes defining the network ranges used in the
internal network???  You never really want the internal gateway to be the
default route unless that gateway also connects you to  the internet.  (I
know it works but it adds a delay you don't need when addresses can't be
handled there.  Besides I can never afford to waste any of my bandwidth.)

First set up the static route to the gateway and then define the ranges that
need to be sent to the gateway.

assuming you are on 10.0.0.4, the gateway is 10.0.0.1 and you need to
connect to 192.168.1.x and 192.168.2.x something similar to this would work.

route add -net 10.0.0.0 dev eth0
route add -net 192.168.1.0 gw 10.0.0.1
route add -net 192.168.2.0 gw 10.0.0.1

If you do have alternate access to the internet then you still need to set
up the static routes but then you'll add a default route to the gateway
(which will be replaced when you make your own ppp connections).

Hope this helps,

Lourdes


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to