From owner-freebsd-questions Mon Apr 23 16:54:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from homer.futureuse.net (CPE-61-9-177-152.vic.bigpond.net.au [61.9.177.152]) by hub.freebsd.org (Postfix) with SMTP id 2DBC837B43F for ; Mon, 23 Apr 2001 16:54:50 -0700 (PDT) (envelope-from fbsdlist@futureuse.net) Received: (qmail 66209 invoked by uid 65534); 8 Apr 2001 23:03:58 -0000 Received: from 165.228.130.11 (proxying for 10.140.148.30,203.11.225.12) (SquirrelMail authenticated user fbsdlist) by www.futureuse.net with HTTP; Mon, 9 Apr 2001 09:03:58 +1000 (EST) Message-ID: <12053.165.228.130.11.986771038.squirrel@www.futureuse.net> Date: Mon, 9 Apr 2001 09:03:58 +1000 (EST) Subject: PPPoE: tun0 keeps old IP addresses From: "Aaron Hill" To: questions@freebsd.org X-Mailer: SquirrelMail (version 1.0.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Could someone shed some light on something I've noticed about PPPoE on FreeBSD. Basically what happens is if my PPPoE sesssion dies for whatever reason and FreeBSD reconnects, the tun0 interface keeps all the old IP addresses and the new one. For example, here's a look at ifconfig tun0 on my machine this morning: tun0: flags=8051 mtu 1492 inet 61.9.176.53 --> 255.255.255.255 netmask 0xffffffff inet 61.9.171.78 --> 255.255.255.255 netmask 0xffffffff inet 61.9.177.xxx --> 172.31.18.24 netmask 0xff000000 Opened by PID 150 You can see the first two IP addresses, 61.9.176.53 and 61.9.171.78, have dummy/null gateways. These IP addresses are the IP addresses I was using previously. The IP address 61.9.177.xxx is my current (masked) IP address with a correct gateway. I don't experience a loss of functionality but it is something I have to remember when I write scripts that might need to extract IP address info. Also I don't like seeing IP addresses I'm not using anymore still configured on my system. My machine is now 4.3R but I've seen the same issue since 4.1.1R. Any ideas? My ISP is Telstra Bigpond in Australia. My ISP account is pretty simple, I'm not meant to get a block of IP addresses or anything like that. Just one account, one IP address at one time. Thanks Aaron Hill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message