Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 01:28:37 -0600
From:      Tim <tim@futuresouth.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   PPPoE and "carrier" lost?
Message-ID:  <20020104012836.A65890@futuresouth.com>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:c0:4f:bf:13:4c
        media: Ethernet autoselect (10baseT/UTP)
        status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020104012836.A65890>