From owner-freebsd-questions Thu Jun 27 16:19:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.mbox.com.au (203-134-146-019.cust.pth.iprimus.net.au [203.134.146.19]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3037B406 for ; Thu, 27 Jun 2002 16:19:52 -0700 (PDT) Received: from nms2.mbox.com.au (webmail.mbox.com.au [192.168.20.4]) by smtp2.mbox.com.au (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0GYE00LK20JRTM@smtp2.mbox.com.au> for freebsd-questions@FreeBSD.ORG; Fri, 28 Jun 2002 07:14:15 +0800 (WST) Received: from mbox.com.au ([127.0.0.1]) by nms2.mbox.com.au (Netscape Messaging Server 4.15) with ESMTP id GYE0N900.S6E for ; Fri, 28 Jun 2002 07:16:21 +0800 Date: Fri, 28 Jun 2002 09:16:21 +1000 From: BSD Freak Subject: PPPoE flakiness To: FreeBSD Questions Message-id: <1a4063f1a4461d.1a4461d1a4063f@mbox.com.au> MIME-version: 1.0 X-Mailer: Netscape Webmail Content-type: text/plain; charset=us-ascii Content-language: en Content-disposition: inline Content-transfer-encoding: 7BIT X-Accept-Language: en Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi guys, This is a little difficult to explain, but bear with me please. Here in Australia ADSL (especially consumer grade services) are dodgy at the best of times. I have set up a FreeBSD box as an ipf/ipnat router using PPPoE (in ddial mode). All works well most of the time, however when the service goes down or there is a disconnection, it will reconnect *most* of the time, however sometimes the ppp service just hangs and wont restart properly. If I reboot the box or kill and restart ppp it will be OK again. Any suggestions? The other funny thing I have noticed is that when the service goes down and we get reconnected (remember we use ppp in ddial mode), we also get allocated a new address however "ifconfig" shows not only the new address but all the previous addresses that we were assigned on previous reconnections, however now the remote server is 255.255.255.255 rather than the real one. I have a sample below (ip addresses have been changed to protect the innocent). Is this normal? rl0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:40:f4:46:00:78 media: Ethernet autoselect (100baseTX) status: active rl1: flags=8843 mtu 1500 ether 00:01:29:1b:08:4f media: Ethernet autoselect (none) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 mtu 1500 inet 213.51.133.4 --> 255.255.255.255 netmask 0xffffffff inet 213.51.135.111 --> 255.255.255.255 netmask 0xffffffff inet 213.51.130.107 --> 172.21.22.24 netmask 0xffffff00 Opened by PID 334 --------------------------------------------------------------------- NEW to mBox, receive faxes to any email address! Find out more http://www.mbox.com.au/fax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message