I recently moved and I'd like to set up a PPP link for internet
service while I wait for my DSL service to be installed at the
new location. I'd like to make ppp0 my default route (and
gateway?), but I haven't been able to do that. If you think you
can point me in the right direction, then details follow.
My Mandrake 8.0, 2.4.8 kernel'd machine has two ethernet cards.
eth0 is on 123.456.212.41 and eth1 is 192.168.blah.blah.
Here's what I've managed to get working.
- I removed the default route through 123.456.212.41 since my
version of pppd won't install ppp0 as the default route if a
default route already exits.
- I started pppd using Gnome ppp and had pppd set up ppp0 as the
default route. My routing table looks like this with ppp
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
123.456.7.4 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
123.456.212.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 123.456.7.4 0.0.0.0 UG 0 0 0 ppp0
Yes, I know there's a 252 in my netmask. It's supposed to be
like that on the network in question.
My trouble is that I can't get any traffic to traverse the ppp0
link. I get 100% packet loss when pinging to 123.456.7.4.
If I try a traceroute, it doesn't seem to work
traceroute to 123.456.116.137 (123.456.116.137), 30 hops max, 38 byte packets
1 * *
traceroute to 123.456.7.4 (123.456.7.4), 30 hops max, 38 byte packets
1 * * *
2 * *
ppp thinks it's working:
myhost kernel: CSLIP: code copyright 1989 Regents of the University of California
myhost kernel: PPP generic driver version 2.4.1
myhost pppd: pppd 2.4.1 started by kevinc, uid 11334
myhost pppd: Serial connection established.
myhost pppd: Using interface ppp0
myhost pppd: Connect: ppp0 <--> /dev/ttyS0
myhost kernel: PPP BSD Compression module registered
myhost kernel: PPP Deflate Compression module registered
myhost pppd: local IP address 123.456.212.41
myhost pppd: remote IP address 123.456.7.4
myhost pppd: Terminating on signal 15.
myhost pppd: Connection terminated.
myhost pppd: Connect time 2.1 minutes.
myhost pppd: Sent 889 bytes, received 116 bytes.
myhost pppd: Exit.
What else can I try? I think I'm very close to having this
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.