Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2001 09:03:58 +1000 (EST)
From:      "Aaron Hill" <fbsdlist@futureuse.net>
To:        questions@freebsd.org
Subject:   PPPoE: tun0 keeps old IP addresses
Message-ID:  <12053.165.228.130.11.986771038.squirrel@www.futureuse.net>

next in thread | raw e-mail | index | archive | help

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<UP,POINTOPOINT,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12053.165.228.130.11.986771038.squirrel>