From owner-freebsd-security Thu Nov 15 5:19:57 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.siol.net (odin.siol.net [193.189.160.10]) by hub.freebsd.org (Postfix) with ESMTP id DC93237B405 for ; Thu, 15 Nov 2001 05:19:45 -0800 (PST) Received: from t-media.si ([213.250.62.206]) by mail.siol.net (InterMail vK.4.02.00.10 201-232-116-110 license 3b7ff800a4377eede9efc7be81e8a7c4) with ESMTP id <20011115131942.UHAI2093.mail@t-media.si> for ; Thu, 15 Nov 2001 14:19:42 +0100 Message-ID: <3BF3C14C.3000603@t-media.si> Date: Thu, 15 Nov 2001 14:21:16 +0100 From: Tomi =?ISO-8859-2?Q?Malen=B9ek?= Reply-To: tomi@t-media.si Organization: [ t ] MEDIA d.o.o. User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5) Gecko/20011011 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-security@FreeBSD.ORG Subject: Question about PPP built-in NAT. Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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