tcpdump of PPPoE

tcpdump of PPPoE

Post by Bob » Sun, 15 Jul 2001 20:58:48



Hi,

My PPPoE connection used to work and then it stopped.  Now it cycles through
PADI (Initiation), PADO (Offer), PADR (Request), PADS
(Session-confirmation), PADT (Terminate) and back to PADI again.
Suggestions as to what I am doing wrong are welcome.

Bob


2:33:15.46 eth1 > PPPoE PADI
2:33:15.52 eth1 < PPPoE PADO [Service-Name] [AC-Name "62-sms-w2"]
2:33:15.52 eth1 > PPPoE PADR
2:33:15.63 eth1 < PPPoE PADS [ses 0x3801] [Service-Name] [AC-Name
"62-sms-w2"]
2:33:15.64 eth1 > PPPoE PADT [ses 0x3801]

2:33:15.76 eth1 > PPPoE PADI
2:33:15.82 eth1 < PPPoE PADO [Service-Name] [AC-Name "62-sms-w2"]
2:33:15.82 eth1 > PPPoE PADR
2:33:15.93 eth1 < PPPoE PADS [ses 0x3802] [Service-Name] [AC-Name
"62-sms-w2"]
2:33:15.94 eth1 > PPPoE PADT [ses 0x3802]

2:33:16.08 eth1 > PPPoE PADI
2:33:16.13 eth1 < PPPoE PADO [Service-Name] [AC-Name "62-sms-w2"]
2:33:16.14 eth1 > PPPoE PADR
2:33:16.23 eth1 < PPPoE PADS [ses 0x3804] [Service-Name] [AC-Name
"62-sms-w2"]
2:33:16.24 eth1 > PPPoE PADT [ses 0x3804]
2:33:16.28 eth1 < PPPoE  [ses 0x3804] LCP ConfReq id=0xb9 <mru 1492> <auth
PAP> <magic 0x228d6380>

2:33:16.48 eth1 > PPPoE PADI
2:33:16.53 eth1 < PPPoE PADO [Service-Name] [AC-Name "62-sms-w2"]
2:33:16.53 eth1 > PPPoE PADR
2:33:16.63 eth1 < PPPoE PADS [ses 0x3805] [Service-Name] [AC-Name
"62-sms-w2"]
2:33:16.64 eth1 > PPPoE PADT [ses 0x3805]

2:33:16.73 eth1 > PPPoE PADI


eth0      Link encap:Ethernet  HWaddr 00:40:05:61:14:B8
   inet addr:192.168.0.6  Bcast:192.168.0.255  Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:5066 errors:0 dropped:0 overruns:0 frame:0
   TX packets:3255 errors:0 dropped:0 overruns:0 carrier:0
   collisions:7 txqueuelen:100
   Interrupt:9 Base address:0xb400

eth1      Link encap:Ethernet  HWaddr 00:50:BF:06:57:8A
   UP BROADCAST RUNNING  MTU:1492  Metric:1
   RX packets:6057 errors:0 dropped:0 overruns:0 frame:0
   TX packets:7490 errors:0 dropped:0 overruns:0 carrier:0
   collisions:1 txqueuelen:100
   Interrupt:10

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


Bringing up ADSL link:  .......TIMED OUT [FAILED]

 
 
 

tcpdump of PPPoE

Post by Stefan Tomli » Mon, 16 Jul 2001 01:58:10


Hi Bob,

once upon a time on my DSL-Gateway.... :-)

<snip>

/sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:77:28:75
          inet addr:192.168.X.X  Bcast:192.168.X.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1092354 errors:1 dropped:40 overruns:0 frame:7
          TX packets:2117279 errors:0 dropped:0 overruns:0 carrier:0
          collisions:570 txqueuelen:100
          Interrupt:11 Base address:0x6200

eth1      Link encap:Ethernet  HWaddr 00:30:84:0A:1C:2F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:287260 errors:35 dropped:0 overruns:0 frame:0
          TX packets:239926 errors:0 dropped:0 overruns:0 carrier:0
          collisions:68 txqueuelen:100
          Interrupt:10 Base address:0x6100

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:9633 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9633 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encap:Point-to-Point Protocol
          inet addr:X.X.X.X  P-t-P:X.X.X.X  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:2935 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2264 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

</snip>

I hope you can see the point.

cheers
Stefan

 
 
 

tcpdump of PPPoE

Post by Bob » Mon, 16 Jul 2001 01:45:28



Quote:> Hi Bob,

> once upon a time on my DSL-Gateway.... :-)

> <snip>

> /sbin/ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:E0:7D:77:28:75
</snip>
> eth1      Link encap:Ethernet  HWaddr 00:30:84:0A:1C:2F
</snip>
> lo        Link encap:Local Loopback
</snip>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:X.X.X.X  P-t-P:X.X.X.X  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>           RX packets:2935 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2264 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:10

> </snip>

> I hope you can see the point.

Thanks Stefan,

ppp0 won't come up probably because:


Bringing up ADSL link:  .......TIMED OUT [FAILED]

Is there any way to create ppp0.  ifconfig keeps saying ppp0 does not exist.

Bob

 
 
 

tcpdump of PPPoE

Post by Stefan Tomli » Mon, 16 Jul 2001 20:59:14



> Thanks Stefan,

> ppp0 won't come up probably because:


> Bringing up ADSL link:  .......TIMED OUT [FAILED]

> Is there any way to create ppp0.  ifconfig keeps saying ppp0 does not exist.

> Bob

Hi Bob

ppp0 is created using pppd and I think this is the part
which is badly configured on your Redhat Box (7?)

ADSL seems to work fine:

you have: PPPoE Active Discovery Initiation (outgoing)
          PPPoE Active Discovery Offer      (incoming)
          PPPoE Active Discovery Request    (outgoing)
          PPPoE Active Discovery Session-Confirmation (incoming)
          PPPoE Active Discovery Session Termination (outgoing!)

just have a look at what happens in /var/log/messages...

<snip>
Jul 15 12:47:44 niko adsl-stop: Killing pppd
Jul 15 12:47:44 niko pppd[27557]: Terminating on signal 15.
Jul 15 12:47:44 niko pppoe[27558]: Sent PADT
Jul 15 12:47:44 niko pppd[27557]: Modem hangup
Jul 15 12:47:44 niko pppd[27557]: Connection terminated.
Jul 15 12:47:44 niko pppd[27557]: Connect time 8.4 minutes.
Jul 15 12:47:44 niko pppd[27557]: Sent 2078 bytes, received 2241 bytes.
Jul 15 12:47:44 niko adsl-stop: Killing adsl-connect
Jul 15 12:47:44 niko logger: Reinitialising default route for ptp:
Jul 15 12:47:44 niko pppd[27557]: Exit.
</snip>

... link has been disconnected

<snip>
Jul 15 12:48:03 niko kernel: eth1: Promiscuous mode enabled.
Jul 15 12:48:03 niko pppd[27678]: pppd 2.3.11 started by root, uid 0
Jul 15 12:48:03 niko pppd[27678]: Using interface ppp0
Jul 15 12:48:03 niko pppd[27678]: Connect: ppp0 <--> /dev/pts/0
Jul 15 12:48:03 niko pppoe[27679]: PPP session is 5267
Jul 15 12:48:10 niko pppd[27678]: local  IP address X.X.X.X
Jul 15 12:48:10 niko pppd[27678]: remote IP address X.X.X.X
</snip>

... online again

I suggest you have a brief look at /etc/ppp/pppoe.conf, maybe
additional arguments supplied to pppd are incorrect. By the way...
try using a tool like Ethereal, it helped me a lot.

regards
Stefan