HELP: Possible PPP Routing Problem

HELP: Possible PPP Routing Problem

Post by Robert Singleto » Wed, 25 Jul 2001 05:10:22



I'm having what appears to be a routing problem
with ppp upon connecting to my ISP (Earthlink).

Necessary stats:
---------------
I'm running ppp-2.3.11-7 on linux RedHat7.0 with
kernel 2.2.16-22. My hardware is a Dell PC 620
workstation, and an old 14.4 Hays modem (which
has been used in the past for ppp connections).
My ISP is Earthlink (in NM), and they tell me
that they use PAP authentication. My machine
is stand-alone at home, and is not connected
to the Internet (so after booting, the only
interface is lo with IP address 127.0.0.0).

Description of problem:
----------------------
After the ppp connection is established and
both the local and remote IPs have been
assigned to the ppp0 interface, I can only
ping the local and remote IPs and nothing
else. Needless to say, telnet, ssh, Netscape
etc. do not work.

  I can't even ping the IP of Earthlink's DNS
  server (I using the raw IP address in dot-quad
  notation, e.g. 207.217.120.83 is Earthlink's
  primary DNS server, so this is not an address
  resolution problem).

  This sounds like a routing problem at my end.
  My machine can also boot up in Windows 2K, and
  using Earthlink's Self-Installation Software
  for Chimps[TM], I can of course connect via
  Windows (but who wants to do that?). Since
  Earthlink's staff is composed strictly of
  Chimps, all they know how to do is tell me
  which Win2K icon to click on! (Their manifesto
  must be, "An ISP *by* Chimps and *for* Chimps.")

Thanks for any help you can provide,

Robert Singleton

Debugging info:
--------------
a) I'm able to logon to the ISP site manually with
   minicom controlling the modem (entering my id
   and password by hand), so I know the modem is
   working.
b) I have written an options file and a chat script
   that automate this process, and I can logon to
   the ISP in this manner as well (but I'm afraid
   some options in may be wrong, so I will include
   the options file below).
c) Here is an excerpt from /var/log/daemon for a
   login attempt:

pppd[1209]: pppd 2.3.11 started by root, uid 0
pppd[1209]: Serial connection established.
pppd[1209]: Using interface ppp0
pppd[1209]: Connect: ppp0 <--> /dev/ttyS0
pppd[1209]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
<pcomp>
  <accomp>]
pppd[1209]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
<pcomp>
  <accomp>]
pppd[1209]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0x0> <pcomp>
<accomp>
  < 13 09 03 00 c0 7b 8e 46 57>]
pppd[1209]: sent [LCP ConfRej id=0x1 < 13 09 03 00 c0 7b 8e 46 57>]
pppd[1209]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
<pcomp>
  <accomp>]
pppd[1209]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0x0> <pcomp>
<accomp>]
pppd[1209]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0x0> <pcomp>
<accomp>]
pppd[1209]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f
01>]
pppd[1209]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>
<bsd v1 15>]
pppd[1209]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr
206.115.223.45>]
pppd[1209]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr
206.115.223.45>]
pppd[1209]: rcvd [IPCP ConfNak id=0x1 <addr 63.46.208.213>]
pppd[1209]: sent [IPCP ConfReq id=0x2 <addr 63.46.208.213> <compress VJ
0f 01>]
pppd[1209]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04
78 00
  15 03 2f]
pppd[1209]: rcvd [IPCP ConfAck id=0x2 <addr 63.46.208.213> <compress VJ
0f 01>]
pppd[1209]: local  IP address 63.46.208.213
pppd[1209]: remote IP address 206.115.223.45

   At this point, I can ping  206.115.223.45 and
   63.46.208.213, but nothing else. It also looks
   as if the Link Control Protocol was never agreed
   upon [LCP RotRej ...], and that the IPCP was
   never officially brought up (although IP addresses
   were assigned.

d) The routing table and ifconfig info might be of
   some use:

  # netstat -nr
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags   MSS Window
irtt Iface
  206.115.223.45  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         206.115.223.45  0.0.0.0         UG        0 0        
0 ppp0

 # ifconfig
 lo Link encap:Local Loopback  
    inet addr:127.0.0.1  Mask:255.0.0.0
    UP LOOPBACK RUNNING  MTU:3924  Metric:1
    RX packets:16 errors:0 dropped:0 overruns:0 frame:0
    TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0

 ppp0 Link encap:Point-to-Point Protocol  
      inet addr:63.46.208.213  P-t-P:206.115.223.45
Mask:255.255.255.255
      UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
      RX packets:7 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:10

e) Finally, here is my option file:

# log ppp control frames to syslog
debug

# serial interface options
/dev/ttyS0 38400
lock
modem
crtscts

noauth
#
# NOTE: If I don't use the "noauth" option,
# I get an error in the daemon log file:
#
# pppd[1155]: Peer is not authorized to use remote address
206.115.155.251
# pppd[1155]: sent [IPCP TermReq id=0x3 "Unauthorized remote IP
address"]
# pppd[1155]: rcvd [IPCP TermAck id=0x3]
# pppd[1155]: sent [LCP TermReq id=0x2 "No network protocols running"]
# pppd[1155]: rcvd [LCP TermAck id=0x2]
# pppd[1155]: Connection terminated.
#

# link control protocol
asyncmap 00000000

name "mu-Earthlink-user-id"

# IP Control Protocol (IPCP) options
noipdefault

# use ppp peer as default gateway
defaultroute

# chat script
connect "/usr/sbin/chat -v -f /etc/ppp/chatEarthlink"

--
Robert Singleton                     office: (505)-667-8420
X-7 Material Science                 fax   : (505)-665-0218

Los Alamos, NM 87545

 
 
 

HELP: Possible PPP Routing Problem

Post by Tom Hoffman » Wed, 25 Jul 2001 06:26:55



Quote:> I'm having what appears to be a routing problem
> with ppp upon connecting to my ISP (Earthlink).
>   I can't even ping the IP of Earthlink's DNS
>   server (I using the raw IP address in dot-quad
>   notation, e.g. 207.217.120.83 is Earthlink's
>   primary DNS server, so this is not an address
>   resolution problem).

According to my research, the earthlink DNS server is 207.217.120.43. I
could not get a ping response from *.*.*.83 either.

 
 
 

HELP: Possible PPP Routing Problem

Post by David Efflan » Wed, 25 Jul 2001 10:51:21



> I'm having what appears to be a routing problem
> with ppp upon connecting to my ISP (Earthlink).

> Necessary stats:
> ---------------
> I'm running ppp-2.3.11-7 on linux RedHat7.0 with
> kernel 2.2.16-22. My hardware is a Dell PC 620
> workstation, and an old 14.4 Hays modem (which
> has been used in the past for ppp connections).
> My ISP is Earthlink (in NM), and they tell me
> that they use PAP authentication. My machine
> is stand-alone at home, and is not connected
> to the Internet (so after booting, the only
> interface is lo with IP address 127.0.0.0).

> Description of problem:
> ----------------------
> After the ppp connection is established and
> both the local and remote IPs have been
> assigned to the ppp0 interface, I can only
> ping the local and remote IPs and nothing
> else. Needless to say, telnet, ssh, Netscape
> etc. do not work.

>   I can't even ping the IP of Earthlink's DNS
>   server (I using the raw IP address in dot-quad
>   notation, e.g. 207.217.120.83 is Earthlink's
>   primary DNS server, so this is not an address
>   resolution problem).

One thing you do not mention is what /etc/resolv.conf contains.
See: man 5 resolver

Maybe their nameservers do not respond to ping to avoid ping flooding or
DOS attack.  See if you can connect to that nameserver with nslookup:


Default Server:  rns3.earthlink.net
Address:  207.217.120.83

Quote:> set q=any
> earthlink.net

(which gives me mail servers, dns, etc.)

--
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

 
 
 

HELP: Possible PPP Routing Problem

Post by Bill Unr » Wed, 25 Jul 2001 13:16:22



]I'm having what appears to be a routing problem
]with ppp upon connecting to my ISP (Earthlink).

]Necessary stats:
]---------------
]I'm running ppp-2.3.11-7 on linux RedHat7.0 with
]kernel 2.2.16-22. My hardware is a Dell PC 620
]workstation, and an old 14.4 Hays modem (which
]has been used in the past for ppp connections).
]My ISP is Earthlink (in NM), and they tell me
]that they use PAP authentication. My machine
]is stand-alone at home, and is not connected
]to the Internet (so after booting, the only
]interface is lo with IP address 127.0.0.0).

]Description of problem:
]----------------------
]After the ppp connection is established and
]both the local and remote IPs have been
]assigned to the ppp0 interface, I can only
]ping the local and remote IPs and nothing
]else. Needless to say, telnet, ssh, Netscape
]etc. do not work.

What is the output of
route -n
What is teh content of your /etc/resolv.conf file?
(note that the dns of Earthlink reported by dnsquery is
NS4.EARTHLINK.NET.      1h28m IN A      209.179.179.19
NS1.EARTHLINK.NET.      10h12m13s IN A  207.217.126.41
NS2.EARTHLINK.NET.      10h12m13s IN A  207.217.77.42

none of which are the one you quote.
The one you quote  
does not respond to a ping.

]  I can't even ping the IP of Earthlink's DNS
]  server (I using the raw IP address in dot-quad
]  notation, e.g. 207.217.120.83 is Earthlink's
]  primary DNS server, so this is not an address
]  resolution problem).

]  This sounds like a routing problem at my end.
]  My machine can also boot up in Windows 2K, and
]  using Earthlink's Self-Installation Software
]  for Chimps[TM], I can of course connect via
]  Windows (but who wants to do that?). Since
]  Earthlink's staff is composed strictly of
]  Chimps, all they know how to do is tell me
]  which Win2K icon to click on! (Their manifesto
]  must be, "An ISP *by* Chimps and *for* Chimps.")

]Thanks for any help you can provide,

]Robert Singleton

]Debugging info:
]--------------
]a) I'm able to logon to the ISP site manually with
]   minicom controlling the modem (entering my id
]   and password by hand), so I know the modem is
]   working.
]b) I have written an options file and a chat script
]   that automate this process, and I can logon to
]   the ISP in this manner as well (but I'm afraid
]   some options in may be wrong, so I will include
]   the options file below).
]c) Here is an excerpt from /var/log/daemon for a
]   login attempt:

]pppd[1209]: pppd 2.3.11 started by root, uid 0
]pppd[1209]: Serial connection established.
]pppd[1209]: Using interface ppp0
]pppd[1209]: Connect: ppp0 <--> /dev/ttyS0
]pppd[1209]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
]<pcomp>
]  <accomp>]
]pppd[1209]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
]<pcomp>
]  <accomp>]
]pppd[1209]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap 0x0> <pcomp>
]<accomp>
]  < 13 09 03 00 c0 7b 8e 46 57>]
]pppd[1209]: sent [LCP ConfRej id=0x1 < 13 09 03 00 c0 7b 8e 46 57>]
]pppd[1209]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6a008a58>
]<pcomp>
]  <accomp>]
]pppd[1209]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0x0> <pcomp>
]<accomp>]
]pppd[1209]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0x0> <pcomp>
]<accomp>]
]pppd[1209]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f
]01>]
]pppd[1209]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>
]<bsd v1 15>]
]pppd[1209]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr
]206.115.223.45>]
]pppd[1209]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr
]206.115.223.45>]
]pppd[1209]: rcvd [IPCP ConfNak id=0x1 <addr 63.46.208.213>]
]pppd[1209]: sent [IPCP ConfReq id=0x2 <addr 63.46.208.213> <compress VJ
]0f 01>]
]pppd[1209]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04
]78 00
]  15 03 2f]
]pppd[1209]: rcvd [IPCP ConfAck id=0x2 <addr 63.46.208.213> <compress VJ
]0f 01>]
]pppd[1209]: local  IP address 63.46.208.213
]pppd[1209]: remote IP address 206.115.223.45

]   At this point, I can ping  206.115.223.45 and
]   63.46.208.213, but nothing else. It also looks
]   as if the Link Control Protocol was never agreed
]   upon [LCP RotRej ...], and that the IPCP was
]   never officially brought up (although IP addresses
]   were assigned.

]d) The routing table and ifconfig info might be of
]   some use:

]  # netstat -nr
]  Kernel IP routing table
]  Destination     Gateway         Genmask         Flags   MSS Window
]irtt Iface
]  206.115.223.45  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         206.115.223.45  0.0.0.0         UG        0 0        
]0 ppp0

] # ifconfig
] lo Link encap:Local Loopback  
]    inet addr:127.0.0.1  Mask:255.0.0.0
]    UP LOOPBACK RUNNING  MTU:3924  Metric:1
]    RX packets:16 errors:0 dropped:0 overruns:0 frame:0
]    TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
]    collisions:0 txqueuelen:0

] ppp0 Link encap:Point-to-Point Protocol  
]      inet addr:63.46.208.213  P-t-P:206.115.223.45
]Mask:255.255.255.255
]      UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
]      RX packets:7 errors:0 dropped:0 overruns:0 frame:0
]      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
]      collisions:0 txqueuelen:10

]e) Finally, here is my option file:

]# log ppp control frames to syslog
]debug

]# serial interface options
]/dev/ttyS0 38400
]lock
]modem
]crtscts

]noauth
]#
]# NOTE: If I don't use the "noauth" option,
]# I get an error in the daemon log file:
]#
]# pppd[1155]: Peer is not authorized to use remote address
]206.115.155.251
]# pppd[1155]: sent [IPCP TermReq id=0x3 "Unauthorized remote IP
]address"]
]# pppd[1155]: rcvd [IPCP TermAck id=0x3]
]# pppd[1155]: sent [LCP TermReq id=0x2 "No network protocols running"]
]# pppd[1155]: rcvd [LCP TermAck id=0x2]
]# pppd[1155]: Connection terminated.
]#

]# link control protocol
]asyncmap 00000000

]name "mu-Earthlink-user-id"

]# IP Control Protocol (IPCP) options
]noipdefault

]# use ppp peer as default gateway
]defaultroute

]# chat script
]connect "/usr/sbin/chat -v -f /etc/ppp/chatEarthlink"

]--
]Robert Singleton                     office: (505)-667-8420
]X-7 Material Science                 fax   : (505)-665-0218

]Los Alamos, NM 87545

 
 
 

HELP: Possible PPP Routing Problem

Post by Robert Singleto » Fri, 27 Jul 2001 03:33:54


Thanks for your help. As some people pointed out,
the Earthlink name serer I am using does not respond
to ping, so my initial check was misleading. At the
time, however, the DNS would also not resolve names
into IP addresses, so something was certainly not
right in IP-land. Although, as of yesterday, things
are working perfectly now: I can telnet, ssh, ftp,
use Netscape etc. etc. I made no significant changes
to any of the scripts, so I'm really not sure what
was wrong (maybe a small "insignificant" typo on
my part which I have subsequently and unknowingly
corrected).

Regards,

Bob Singleton

 
 
 

1. Routing for a ppp client via another ppp link - possible?

Hello:

        I currently have my linux box networked using a ppp link to another
Linux box which is networked via an Ethernet card. I want to make 2 other
computers (one pc running Linux and one Mac using MacTCP+MacPPP) networked,
but I only have one phone line to spare. Is it possible in any way to make
my machine act as a ppp server, and then somehow route all traffic using my
ppp link? I know it sounds complicated, but this is how I have everything
setup now:

-       My machine (Enigma) uses a modem (/dev/cua1) and interface ppp0 to
        connect to the ppp server (Opossum) (/dev/cua1 <--> ppp0)

-       The Mac (Lilac) uses the serial line of Enigma (/dev/cua0) to
        establish the ppp link ppp1 (/dev/cua0 <--> ppp1)

-       Lilac can talk to Enigma (telnet/ftp) and I can ping Lilac from
        Enigma, but Lilac is invisible to the rest of the world.

        How would I go about seting up the routing table to that all traffic
to/from ppp1 is routed through ppp0. Do I have to use routed/gated? And if
so, I would like some help setting them up because I have never used them
before.

        Any help would be appreciated. Please send your replies to

        Regards

        Rajib Rashid
        University of Rochester

2. dial up

3. IPX Routing over PPP Connection: Possible?

4. Network problem

5. Linux/dial-up-PPP to route multple IP addresses - possible?

6. Mach 64 16bpp

7. PPP/ARP routing problem: using a PPP remote address inside an Ethernet subnet

8. Quota Utils compilation--mount.h is screwy

9. Routing: how to request a list of possible routes

10. routing question - is it possible to route based on destination port of the packet?

11. Routing problem with PPP - need help fast!

12. Please HELP: user ppp problem (routing)

13. Help with PPP requested. Routing problem?