Date: Mon, 7 Jan 2002 19:26:24 +0100 From: Walter Hop <walter@binity.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: PPPoE interface with millions of addresses! Message-ID: <13122365339.20020107192624@binity.com>
next in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,MULTICAST> 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 <walter@binity.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13122365339.20020107192624>