From owner-freebsd-net Wed Oct 3 2:49:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id CB0FE37B407 for ; Wed, 3 Oct 2001 02:49:27 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.1.12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id f939nPs38964; Wed, 3 Oct 2001 10:49:25 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id f939nGl08229; Wed, 3 Oct 2001 10:49:16 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200110030949.f939nGl08229@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matthew Emmerton" Cc: brian@Awfulhak.org, net@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: Diagnostics question with PPPoE In-Reply-To: Message from "Matthew Emmerton" of "Tue, 02 Oct 2001 20:56:45 EDT." <009701c14ba6$478a39e0$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Oct 2001 10:49:16 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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 http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message