From owner-freebsd-net@FreeBSD.ORG Sun Jan 18 11:35:27 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A8F1065670 for ; Sun, 18 Jan 2009 11:35:27 +0000 (UTC) (envelope-from john@roof1.dnepro.net) Received: from roof1.dnepro.net (a66.dnepro.net [212.3.111.66]) by mx1.freebsd.org (Postfix) with ESMTP id 633B68FC1A for ; Sun, 18 Jan 2009 11:35:26 +0000 (UTC) (envelope-from john@roof1.dnepro.net) Received: from roof1.dnepro.net (localhost [127.0.0.1]) by roof1.dnepro.net (8.14.3/8.14.3) with ESMTP id n0IBZNmM099959 for ; Sun, 18 Jan 2009 13:35:25 +0200 (EET) (envelope-from john@roof1.dnepro.net) Received: (from john@localhost) by roof1.dnepro.net (8.14.3/8.14.3/Submit) id n0IBZKWm099948 for freebsd-net@freebsd.org; Sun, 18 Jan 2009 13:35:20 +0200 (EET) (envelope-from john) Date: Sun, 18 Jan 2009 13:35:20 +0200 From: Eugene Perevyazko To: freebsd-net@freebsd.org Message-ID: <20090118113520.GA97691@roof1.dnepro.net> Mail-Followup-To: freebsd-net@freebsd.org References: <49723ABE.6010409@prt.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49723ABE.6010409@prt.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on roof1.dnepro.net X-Virus-Status: Clean Subject: Re: pppoed problem with reconnections 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, 18 Jan 2009 11:35:28 -0000 On Sat, Jan 17, 2009 at 08:08:30PM +0000, Paul Thornton wrote: > - The PPPoE connection is then not disconnected cleanly (say network > cable pulled out, or machine reboots, etc) > - Back on the termination box, there is still a ppp process running > using that address. > - When you try and reconnect as the original user, it fails because the > address cannot be assigned (already in use). Things then stay like this > for ever until I kill the ppp process that was connected with the pppoed > running on that VLAN. You have to look at keep-alive settings to terminate dead connections. And why don't you try an mpd (/usr/ports/net/mpd) that is perfectly suited to manage hundreds and thousands of simultaneous ppp (and PPPoE in particular) connections? It's fast, flexible and easy to setup both as server and client. Eugene Perevyazko