From owner-freebsd-net Thu Jan 3 23:28:42 2002 Delivered-To: freebsd-net@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 6AC4537B416 for ; Thu, 3 Jan 2002 23:28:38 -0800 (PST) Received: (from tim@localhost) by shell.futuresouth.com (8.11.6/8.11.1) id g047SbG67123 for freebsd-net@FreeBSD.ORG; Fri, 4 Jan 2002 01:28:37 -0600 (CST) Date: Fri, 4 Jan 2002 01:28:37 -0600 From: Tim To: freebsd-net@FreeBSD.ORG Subject: PPPoE and "carrier" lost? Message-ID: <20020104012836.A65890@futuresouth.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org We just got a DSL connection and I am having a slight problem with ppp/PPPoE not recognizing a lost connection and renegotiate a new IP address. For example, if I reboot the DSL modem or unplug/plug the line back in where the remote ppp connection is lost, ppp doesn't recognize this and still associates the old IP address with tun0. Isn't PPPoE supposed to recognize a "carrier" lost? It seems to never notice when I reboot the DSL modem (or just turn it off). This is obviously not ideal if the remote ppp session ever went down. Any suggestions? This is what we have: 1) FreeBSD -stable (4.5-PRE) 2) Alcatel 1000 Ethernet DSL modem, connected to xl0 3) internal network connected to fxp0 4) my ppp.conf looks like this: DSL: set device PPPoE:xl0 # set MRU 1490 # set MTU 1490 set authname ... set authkey ... set dial set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR nat enable yes # set cd off # set crtscts off 5) ifconfig -a looks like this: tim@gw [1:23am] ~ > ifconfig -a xl0: flags=8843 mtu 1500 ether 00:c0:4f:bf:13:4c media: Ethernet autoselect (10baseT/UTP) status: active fxp0: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.255.255 ether 00:d0:b7:18:f8:82 media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 tun0: flags=8051 mtu 1492 inet 66.165.196.231 --> 66.165.196.1 netmask 0xff000000 Opened by PID 659 Thanks! Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message