Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2001 00:29:53 +0100 (CET)
From:      Nils Holland <nils@tisys.org>
To:        freebsd-questions@freebsd.org
Subject:   ppp collecting IP addresses...
Message-ID:  <20011125002040.K33390-100000@jodie.ncptiddische.net>

next in thread | raw e-mail | index | archive | help
Hi folks,

I have been using (user) ppp on FreeBSD (now 4.4-STABLE) for years on one
of my boxes in order to provide on-demans Internet access to my other
machines (using the -auto and -nat options). However, today I noticed
something strange, which doesn't look entirely normal to be, but has also
never caused problems - at least not that I know. Here's what I'm talking
about:

When I was routinely changing the configuration of the Ethernet interface
on my ppp-enabled machine, I entered "ifconfig" and saw something like
that:

root@colt> ifconfig
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
	inet6 fe80::210:5aff:feb3:1695%ep0 prefixlen 64 scopeid 0x1
	ether 00:10:5a:b3:16:95
	media: Ethernet 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet6 fe80::210:5aff:feb3:1695%tun0 prefixlen 64 scopeid 0x5
	inet 192.168.0.1 --> 10.0.0.2 netmask 0xffffff00
	inet 212.68.69.166 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.5 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.218 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.25 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.9 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.217 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.252 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.58 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.12 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.204 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.219 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.33 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.176 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.235 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.233 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.206 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.71.31 --> 255.255.255.255 netmask 0xffffffff
	inet 212.68.69.151 --> 255.255.255.255 netmask 0xffffffff

The list goes on for quite a few lines for the tun0 interface, and that
makes me wonder what's going on here. Seems like there are many IP
addresses connected to tun0. I do get a dynamic IP address on every
dial-in and it seems as if the whole list of IP addresses that have ever
been asigned to me is being listed by ifconfig for the tun0 device. But
why is that so? Shouldn't there only one IP address be listed, i.e. the
one I have been assigned for the current ppp connection? And shouldn't
that address be deleted again after hanging up the current connection?

Any comments are welcome! Probably there's something wrong with my
configuration, but I haven't played with it for quite some years, and
interestingly, besides what I posted above, there have never been any
noticable problems.

Greetings
Nils


Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * nils@tisys.org


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?20011125002040.K33390-100000>