Date: Thu, 15 Nov 2001 14:21:16 +0100 From: Tomi =?ISO-8859-2?Q?Malen=B9ek?= <tomi@t-media.si> To: freebsd-security@FreeBSD.ORG Subject: Question about PPP built-in NAT. Message-ID: <3BF3C14C.3000603@t-media.si>
next in thread | raw e-mail | index | archive | help
Hello all. I use FreeBSD 4.4-RELEASE PC with our ADSL line to make internet available to other LAN members. I do this by enabling pppnat in /etc/rc.conf: ---- ppp_nat="YES" # if you want to enable nat for your local network ---- Everything work fine, but there is a little problem :) Our ADSL provider forcibly disconnect every ADSL user on a 12 hour interval (to prevent having static IP) so every 12 hour my FreeBSD box get new IP. But i discover that FreeBSD remember every IP which ADSL device have. After a few days of ruuning on a ADSL connection ifconfig shows that for ADSL device: ---- tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492 inet6 fe80::280:adff:fe84:6d7e%tun0 prefixlen 64 scopeid 0x8 inet 213.250.63.162 --> 255.255.255.255 netmask 0xffffffff inet 213.250.18.154 --> 255.255.255.255 netmask 0xffffffff inet 213.250.63.99 --> 193.189.161.74 netmask 0xffffff00 Opened by PID 107 ---- How to prevent FreeBSD to remember all IP's they have and use only the last one? Because after a while, when a ADSL device get at least 3 or more IP's internet stop working ans i need to reboot FreeBSD box. Is there any better solution for box to work nonstop wothout rebooting? Thank you for all answers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF3C14C.3000603>