Go Premium for a chance to win a PS4. Enter to Win

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

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!
1 Solution
It might be useful to see exactly WHAT netstat outputs.

For that matter, the output of "route" would be very useful
as well.
gaponAuthor Commented:

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
Mar 25 22:35:21 fnord pppd[416]: remote IP address

Here's the output of ifconfig:

lo        Link encap:Local Loopback  
          inet addr:  Bcast:  Mask:
          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:  P-t-P:  Mask:
          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 UH     1500 0          0 ppp0       U      3584 0          0 lo         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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

All hail discordia,

Uhh, you did not include the output from 'route'.
However, the output from netstat -nr seems a bit
odd.  Try:

route del
route add default dev ppp0

If that does not work, refuse this, and include
your output from 'route'  (I can understand that
a lot more easily!)
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

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 UH    0      0        0 ppp0       U     0      0        0 lo         UG    0      0        0 ppp0
[root@fnord:/var/log]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface  *      UH    0      0        0 ppp0       *            U     0      0        0 lo
default         UG    0      0        0 ppp0

I am at your mercy...


Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now