On 2013-02-24, Pim van Pelt <p...@ipng.nl> wrote:
>> Your log only shows the last incoming packet and a few unanswered
>> outgoing packets, so it's not enough to tell, does the ISP reply to
>> any of your earlier LCP echo requests or does it ignore all of them?
> You are right, I only pasted the tail end of the data, but I do have
> the whole file still:
> http://www.ipng.nl/pppoe-tcpdump/pppoe4.tcpdump (kernel)
> http://www.ipng.nl/pppoe-tcpdump/pppoe8.tcpdump (userland)
>
> In the call I was referring to above (pppoe4.tcpdump, the kernel
> version), a whole session lasts from 00:25:32.588726 to
> 00:28:22.583343.
> I took another look and it seems that my side does not send LCP echos,
> but it does reply to them.

Ah... this might indeed be normal then, the line I was looking at has
echoes every second sent by my ISP (http://aa.net.uk/kb-broadband-cqm.html)
so I wouldn't have noticed whether my side was sending them (I was looking
at tcpdump on the pppoe interface where it's not clear who sends them).
I suspect I was wrong then and we only send them if the line is quiet.

> You mentioned that I would/should be sending echos as well, but my
> side definitely does not do that every N seconds. It does, however,
> when the connection did not see packets for a while, for example at
> 00:24:42.570312, 00:24:52.569996, 00:25:02.569679 (none responded by
> ISP), and it then sends terminate-request at 00:25:12.569442. I
> counted the Echo-Requests, I saw 20 from them, and replied 20 times. I
> sent 6 to them, they replied 0 times. In the userland pppoe(8) I also
> saw 20 of them, replied 20 times. I sent 0 to them, they replied 0
> times. But I think it's relevant to note that I only sent LCP
> Echo-Requests just before the line was disconnected (The one I
> mentioned before is 00:24:42.570312 but there's another example at
> 00:27:52.564297) - they could very well not be replied because the ISP
> stopped forwarding traffic to me, or the DSL has untrained (i mean,
> while the LCPs are are being sent, I am also not seeing any IP traffic
> coming in, whlie I have a ping running in the background, I should be
> seeing 2 packets per second, for 40secs I see nothing and then see the
> line disconnect).

It does seem like the line could well be dropping out then.
Are you able to setup syslog on the DSL modem and get the logs sent to
the box running pppoe? Having the two logs together would make it
easier to correlate any problems logged by the modem with those logged
by pppoe. (it will need 'syslog_flags="-u"' in rc.conf.local to accept
from the network, and /etc/rc.d/syslogd restart). Maybe you could also
leave a ping running to the modem to spot if there's a problem with
the ethernet link or something?

Reply via email to