[plug] pppd defaultroute problems

Craig Foster craig_foster at cea.net.au
Tue Jan 18 11:51:17 WST 2000


*This message was transferred with a trial version of CommuniGate(tm) Pro*

----- Original Message -----
From: Greg Raftery <GregR at scs.com.au>
To: <plug at linux.org.au>
Sent: Monday, January 17, 2000 10:13 PM
Subject: RE: [plug] pppd defaultroute problems


> Before I continue this ream of output, does anyone on the list have a
> permanent modem connection with Telstra Direct?
>
> Here's what I tried to say before Outlook hijacked me :
>
> The xxx and yyy are to hide my IP addresses.
>
> ifconfig output
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:xxx.xxx.xxx.xxx  P-t-P:yyy.yyy.yyy.yyy
> Mask:255.255.255.0
>           UP POINTOPOINT RUNNING  MTU:1500  Metric:1
>           RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>           Collisions:0
>           Memory:b82038-b82c04

The mask should be 255.255.255.255 or whatever Telstra gave you for your
external routable IP addresses.
I'd suggest dropping the MRU and MTU to 576 (modem) to cut down on packet
fragmentation.

 > netstat -r -n output
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> yyy.yyy.yyy.yyy    0.0.0.0         255.255.255.255 UH     1500 0
0
> ppp0
> 192.168.1.0     0.0.0.0         255.255.255.0   U      1500 0          0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
lo
> 0.0.0.0         yyy.yyy.yyy.yyy    0.0.0.0         UG     1500 0
0
> ppp0

This is ok.

> ping output
>
> PING yyy.yyy.yyy.yyy (yyy.yyy.yyy.yyy): 56 data bytes
>
> --- yyy.yyy.yyy.yyy ping statistics ---
> 3 packets transmitted, 0 packets received, 100% packet loss
>
> So far...no good
>
> /var/log/debug output
>
> Jan 17 18:56:36 phantom pppd[1584]: sent [LCP ConfReq id=0x1 <mru 1500>
> <asyncmap 0x0> <magic 0x879a14db> <pcomp> <accomp>]
> Jan 17 18:56:36 phantom pppd[1584]: rcvd [LCP ConfReq id=0x8 <asyncmap
> 0xa0000> <auth chap md5> <magic 0xd1adcc44> <pcomp> <accomp>]
> Jan 17 18:56:36 phantom pppd[1584]: sent [LCP ConfAck id=0x8 <asyncmap
> 0xa0000> <auth chap md5> <magic 0xd1adcc44> <pcomp> <accomp>]
> Jan 17 18:56:36 phantom pppd[1584]: rcvd [LCP ConfAck id=0x1 <mru 1500>
> <asyncmap 0x0> <magic 0x879a14db> <pcomp> <accomp>]
> Jan 17 18:56:37 phantom pppd[1584]: rcvd [CHAP Challenge id=0x5
> <ac6fa5d3365d9f1a2f588794d72ffe0b>, name = "wel11.Perth"]
> Jan 17 18:56:37 phantom pppd[1584]: sent [CHAP Response id=0x5
> <adde6414004ff0a30e93702d9f064b9a>, name = "raftery"]
> Jan 17 18:56:37 phantom pppd[1584]: rcvd [CHAP Success id=0x5 ""]
> Jan 17 18:56:37 phantom pppd[1584]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0>
> <compress VJ 0f 01>]
> Jan 17 18:56:37 phantom pppd[1584]: rcvd [IPCP ConfReq id=0x5 <compress VJ
> 0f 00> <addr yyy.yyy.yyy.yyy>]
> Jan 17 18:56:37 phantom pppd[1584]: sent [IPCP ConfAck id=0x5 <compress VJ
> 0f 00> <addr yyy.yyy.yyy.yyy>]
> Jan 17 18:56:37 phantom pppd[1584]: *** rcvd [proto=0x8207] 01 05 00 04
***
> Jan 17 18:56:37 phantom pppd[1584]: *** sent [LCP ProtRej id=0x2 82 07 01
05
> 00 04] ***

Cisco router discovery (I think) and the second line is LCP Protocol 0x8027
Rejected by pppd

> Jan 17 18:56:37 phantom pppd[1584]: rcvd [IPCP ConfNak id=0x1 <addr
> xxx.xxx.xxx.xxx>]
> Jan 17 18:56:37 phantom pppd[1584]: sent [IPCP ConfReq id=0x2 <addr
> xxx.xxx.xxx.xxx> <compress VJ 0f 01>]
> Jan 17 18:56:37 phantom pppd[1584]: rcvd [IPCP ConfAck id=0x2 <addr
> xxx.xxx.xxx.xxx> <compress VJ 0f 01>]
>
> The lines marked *** are the ones that concern me here. I am currently
> mining deja.com to see what it actually means, and if it is drastic.
>
> Can anyone make head or tails of this?
>
> Cheers,
> Greg Raftery

Here's mine...

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
203.www.www.www  *               255.255.255.255 UH    0      0        0
eth1
203.zzz.zzz.zzz  *               255.255.255.248 U     0      0        0
eth1
128.1.2.0       *               255.255.255.0   U     0      0        0 eth0
139.xxx.xxx.xxx     *               255.255.255.255     U     0      0
0 ippp0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         139.yyy.yyy.yyy 0.0.0.0         UG    0      0        0
ippp0

ippp0     Link encap:Point-to-Point Protocol
          inet addr:139.xxx.xxx.xxx  P-t-P:139.yyy.yyy.yyy
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1460  Metric:1
          RX packets:121999133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128686359 errors:15 dropped:0 overruns:0 carrier:0
          collisions:0

www = host
zzz = network
xxx = ippp0 interface
yyy = Telstra's cisco

Note Teltra does need to have your routing set up properly using the
Custdata web page. If not nothing will get out.

Regards,

Craig Foster



More information about the plug mailing list