Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Oct 2001 10:49:16 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        "Matthew Emmerton" <matt@gsicomp.on.ca>
Cc:        brian@Awfulhak.org, net@FreeBSD.ORG, brian@freebsd-services.com
Subject:   Re: Diagnostics question with PPPoE 
Message-ID:  <200110030949.f939nGl08229@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Matthew Emmerton" <matt@gsicomp.on.ca>  of "Tue, 02 Oct 2001 20:56:45 EDT." <009701c14ba6$478a39e0$1200a8c0@gsicomp.on.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Folks,
> 
> I'm supporting a retail store setup where stores connect to the head office
> using IPSec over PPPoE links, handled by a FreeBSD 4.3 server.  Both IPSec
> and PPPoE are working fine.  However, lately we've been having problems
> where PPP will disconnect for some reason and reconnect.  Since I'm very
> confident that FreeBSD's PPPoE  is rock solid, I'm trying to pin it down on
> the ISP, which has a track record of making unannounced service outages.
> 
> Here's a log snippet of a typical disconnect:
> 
> Oct  2 13:03:43 belmont ppp[144]: tun0: Phase: deflink: open -> lcp
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: deflink: LayerDown:
> 209.167.75.124
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: deflink: State change
> Opened --> Starting
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: deflink: LayerFinish.
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: Connect time: 15841 secs:
> 20512841 octets in, 3999315 octets out
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: : 25041 packets in, 21506
> packetsout
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP:  total 1547 bytes/sec, peak
> 71398 bytes/sec on Tue Oct  2 13:03:43 2001
> Oct  2 13:03:43 belmont ppp[144]: tun0: IPCP: deflink: State change
> Starting --> Initial
> Oct  2 13:03:43 belmont ppp[144]: tun0: Phase: bundle: Terminate
> Oct  2 13:03:46 belmont ppp[144]: tun0: Phase: deflink: Disconnected!
> Oct  2 13:03:46 belmont ppp[144]: tun0: Phase: deflink: lcp -> logout
> Oct  2 13:03:46 belmont ppp[144]: tun0: Phase: deflink: logout -> hangup
> Oct  2 13:03:46 belmont ppp[144]: tun0: Phase: deflink: Disconnected!
> 
> How can I tell who is instigating the disconnect?

I think something should have come up just before the quoted log 
entry.  Maybe you need to enable more logging ?

Maybe ``set log phase lcp ipcp command chat tun ccp'' ?  If nothing 
still shows up, adding ``debug'' to the above list should help 
(although it'll make for somewhat more verbose logs...).

> --
> Matt Emmerton

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110030949.f939nGl08229>