On Wed, 13 Jan 1999, Jason Mott wrote:
|I have a Linux box on an ethernet network. Sometimes, I need to dial
|into a client's intranet. When I do, the defaultroute option does not
|work (the logs indicate it was skipped, but do not say why). So I have
|to delete the eth0 interface from the routing table myself and add the
|ppp0 as default. Then, of course, I loose the eth0 interface until I
|bring it back as default.
|
|How can I get both eth0 and ppp0 to work together (e.g. see both
|networks at once)?
|
|I'm running RedHat 5.2
I just had success in configuring a net specific route to ppp0 with an
ISP connection here using
/sbin/route add -net ${NETWORK} netmask ${NETMASK} ppp0
and I could ping machines on the ISPs lan. This should direct allow access
to the lan on the other end of the ppp connection but not beyond it. I
assume, because you want to maintain the lan default route, that your
machine is attached to a lan with an internet connection. You can put this
in /etc/ppp/ip-up to add the route, and then delete it in /etc/ppp/ip-down
- or whatever the equivalents are for RedHat.
---
Clifford Kite Not a guru. (tm)
[EMAIL PROTECTED] Not even close.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]