Link to home
Start Free TrialLog in
Avatar of gapon
gapon

asked on

Cannot ping peer at ISP using PPP

I am running RedHat 4.1 on an AMD 5x86.  I have a USR 28.8 modem.  I am running on kernel 2.0.27, and used RedHat's netcfg under X to configure PPP.

When I activate the ppp connection, the modem dials out and connects to the ISP.  The system log shows my local IP and the peer's, ifconfig shows the new interface, and netstat -nr shows the new route.  However, my peer at the ISP does not answer my pings, and neither do any of the nameservers.  Naturally, nothing else works.

The README in the pppd documentation suggests that after my PC has been assigned a local IP and the link is up, I should be able to ping some machine on the remote network, if not necessarily my peer.  However nothing works.

I hope you folks can help me.  Thanks in advance!
Avatar of Kallisti
Kallisti

It might be useful to see exactly WHAT netstat outputs.

For that matter, the output of "route" would be very useful
as well.
Avatar of gapon

ASKER

Kallisti,

Here's 'tail /var/log/messages' after I connect:

Mar 25 22:34:51 fnord ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Mar 25 22:34:52 fnord kernel: CSLIP: code copyright 1989 Regents of the University of California
Mar 25 22:34:52 fnord kernel: PPP: version 2.2.0 (dynamic channel allocation)
Mar 25 22:34:52 fnord kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
Mar 25 22:34:52 fnord kernel: PPP line discipline registered.
Mar 25 22:34:52 fnord kernel: registered device ppp0
Mar 25 22:34:52 fnord pppd[416]: pppd 2.2.0 started by root, uid 0
Mar 25 22:35:17 fnord pppd[416]: Serial connection established.
Mar 25 22:35:18 fnord pppd[416]: Using interface ppp0
Mar 25 22:35:18 fnord pppd[416]: Connect: ppp0 <--> /dev/modem
Mar 25 22:35:21 fnord pppd[416]: local  IP address 198.178.203.117
Mar 25 22:35:21 fnord pppd[416]: remote IP address 198.178.203.14

Here's the output of ifconfig:

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

ppp0      Link encap:Point-Point Protocol  
          inet addr:198.178.203.117  P-t-P:198.178.203.14  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0
          TX packets:14 errors:0 dropped:0 overruns:0

And here's 'netstat -nr':

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
198.178.203.14  0.0.0.0         255.255.255.255 UH     1500 0          0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         198.178.203.14  0.0.0.0         UG     1500 0          0 ppp0

Thank you very much!
Hail Eris
How are the parameters you have for ppp ?

anything about route ?

maybe you don't have the default gateway setted.

if you want to add yourself do this:

route add default gw ppp0_address_interface
ASKER CERTIFIED SOLUTION
Avatar of Kallisti
Kallisti

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You didn't say if you're on a local network or not!
If you are, can I see your /etc/rc.d/rc.inet1 file?
Have you disabled the Default GW entry?

Let me know
Kallisti,

Sorry I didn't get back to you earlier.  experts-exchange.com is kinda flaky, I tried getting on a couple of days ago and it was down...

the route delete/route add combo didn't work.

Here's the output of route:

[root@fnord:/var/log]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
198.178.203.14  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         198.178.203.14  0.0.0.0         UG    0      0        0 ppp0
[root@fnord:/var/log]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
198.178.203.14  *               255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         198.178.203.14  0.0.0.0         UG    0      0        0 ppp0

I am at your mercy...

Thanx