From owner-freebsd-net@FreeBSD.ORG Sun Jul 24 03:06:10 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E5E916A41F; Sun, 24 Jul 2005 03:06:10 +0000 (GMT) (envelope-from mshindo@mshindo.net) Received: from ober.mshindo.net (usen-221x245x168x210.ap-US01.usen.ad.jp [221.245.168.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1345443D49; Sun, 24 Jul 2005 03:06:08 +0000 (GMT) (envelope-from mshindo@mshindo.net) Received: from localhost (usen-221x245x168x211.ap-US01.usen.ad.jp [221.245.168.211]) by ober.mshindo.net (Postfix) with ESMTP id 9283333645B; Sun, 24 Jul 2005 12:08:52 +0900 (JST) Date: Sun, 24 Jul 2005 14:26:56 +0900 (JST) Message-Id: <20050724.142656.41628559.mshindo@mshindo.net> To: glebius@FreeBSD.org From: Motonori Shindo In-Reply-To: <20050718110636.GD22517@cell.sick.ru> References: <20050710.165128.39641194.mshindo@mshindo.net> <20050718110636.GD22517@cell.sick.ru> X-Mailer: Mew version 4.1.53 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: Netgraph mpd as a PPPoE access concentrator X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 03:06:10 -0000 Gleb, From: Gleb Smirnoff Subject: Re: Netgraph mpd as a PPPoE access concentrator Date: Mon, 18 Jul 2005 15:06:36 +0400 > On Sun, Jul 10, 2005 at 04:51:28PM +0900, Motonori Shindo wrote: > M> I'm trying to use Netgraph (mpd) as a PPPoE access concentrator > M> (i.e. PPPoE server). It is working OK but with one minor potential > M> problem which I haven't been able to solve. > M> > M> The following is the mpd log file (replacing ip addresses with > M> XXX.XXX.XXX.XXX) and configuration files. As we see in this log, the > M> first incoming request succeeds and operates normally. However, > M> "device" seems to be getting an attempt to bring it up again right > M> after the first call is disconnected. This attempt never succeeds and > M> is repeated indefinitely. > > Can you try: > > set link max-redial -1 > > in bundle configuration? Thanks for your advice! Adding 'set link max-redial -1' to mpd.conf solved the problem. Looks like lcp on mpd side was trying to redial but kept failing because PPPoE session wasn't present. Unn, it makes sense.. The only problem I am seeing is proxy arp entry still left on the host after PPPoE session is terminated. I think it should be automatically removed when IPCP goes down. Regards, Motonori Shindo Fivefront Corporation