From owner-freebsd-questions Mon Jan 7 10:28:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by hub.freebsd.org (Postfix) with SMTP id 23C7A37B420 for ; Mon, 7 Jan 2002 10:27:27 -0800 (PST) Received: (qmail 4554 invoked by uid 0); 7 Jan 2002 18:27:25 -0000 Received: from unknown (HELO scorn.diderius.nl) (62.234.29.113) by smtpf.casema.net with SMTP; 7 Jan 2002 18:27:25 -0000 Received: from silver (silver.diderius.nl [172.18.203.10]) by scorn.diderius.nl (8.11.3/8.11.3) with ESMTP id g07IRer16332 for ; Mon, 7 Jan 2002 19:27:40 +0100 (CET) (envelope-from walter@binity.com) Date: Mon, 7 Jan 2002 19:26:24 +0100 From: Walter Hop X-Mailer: The Bat! (v1.53d) Educational X-Priority: 3 (Normal) Message-ID: <13122365339.20020107192624@binity.com> To: FreeBSD Questions Subject: PPPoE interface with millions of addresses! MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have set up a PPPoE connection using ``ppp'' on a FreeBSD 4.3-RELEASE system. The funny thing is, my tun0 interface is gathering IP addresses. At every disconnect, the old IP address of the interface is maintained so after a few network quirks, the interface is loaded with addresses: % ifconfig tun0 | more tun0: flags=8051 mtu 1492 inet 62.234.21.18 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.186 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.162 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.119 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.117 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.196 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.23 --> 255.255.255.255 netmask 0xffffffff inet 62.234.20.51 --> 255.255.255.255 netmask 0xffffffff [...] inet 62.234.25.227 --> 62.234.24.1 netmask 0xff000000 % ifconfig tun0 | wc -l 249 This is a fun sight, ofcourse, and it does not seem to harm the connection itself because I will never try to connect to one of the old IP addresses anyway, but I have to restart ppp to get rid of the lot of addresses. My configuration is pretty straightforward from the handbook. Am I making a common mistake? Thanks! w. ----------------- from /etc/rc.conf [...] ifconfig_ed0="up" # pppoe interface, only needs to be up ppp_enable="YES" ppp_mode="ddial" # dedicated + redial if dropped ppp_profile="wanadoo" ppp_nat="YES" [...] ----------------- /etc/ppp/ppp.conf default: set log Phase tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 wanadoo: set device PPPoE:ed0:wanadoo set authname myname@wanadoo set authkey mykey set dial set login add default HISADDR nat enable yes -- Walter Hop Updated contact information: http://www.binity.com/~walter/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message