From owner-freebsd-stable Wed Mar 18 01:58:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA16782 for freebsd-stable-outgoing; Wed, 18 Mar 1998 01:58:44 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from nomad.mt.sri.com (ppp46-max01.twics.com [202.237.149.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA16658 for ; Wed, 18 Mar 1998 01:58:38 -0800 (PST) (envelope-from nate@nomad.mt.sri.com) Received: (from nate@localhost) by nomad.mt.sri.com (8.8.8/8.8.8) id CAA00718; Wed, 18 Mar 1998 02:58:26 -0700 (MST) (envelope-from nate) Date: Wed, 18 Mar 1998 02:58:26 -0700 (MST) Message-Id: <199803180958.CAA00718@nomad.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brian Somers Cc: "Nate Williams" , Stephen Wynne , stable@FreeBSD.ORG Subject: Re: On-demand dynamic PPP not doing default route correctly In-Reply-To: <199803180737.HAA00550@awfulhak.org> References: <199803170943.CAA00552@nomad.mt.sri.com> <199803180737.HAA00550@awfulhak.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: "Nate Williams" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk > > So why doesn't it wait to se the default route until after it knows the > > other side? It seems silly to set something that you know ahead of time > > is bous. > > Because in -auto mode, we need a default route through tun interface > so that we can `detect traffic'. I understand this. > I think the argument is that ppp should cache all the add/delete > options and apply them everytime the interface IP is changed. I'm > considering doing this in the MP version.... Great. > > > enable lqr > > > set log +lqm > > > > OK. What am I looking for? > > If the peer agrees LQR, enable the lqm logging (below). You'll see > loads of numbers come back. OK, here is the tail end of what I got just before the link died. Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: Magic: 33e3a88b LastOutL QRs: 00000000 Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: LastOutPackets: 00000000 LastOutO ctets: 00000000 Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: PeerInLQRs: 00000000 PeerInPa ckets: 00000170 Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: PeerInDiscards: 00000000 PeerInEr rors: 00000000 Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: PeerInOctets: 0003a89d PeerOutL QRs: 00000006 Mar 18 02:48:49 nomad ppp[362]: tun0: LQM: PeerOutPackets: 000001cb PeerOutO ctets: 000045d5 Mar 18 02:49:19 nomad ppp[362]: tun0: Phase: ** 1 Too many ECHO packets are lost . ** Mar 18 02:49:19 nomad ppp[362]: tun0: Phase: NewPhase: Terminate Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message