The pppoe protocol has no 'keepalives'
so there is no way for the client side to know that there is a broken
connection. However PPP DOES have keepalives so it should 
discover that it has lost connection after a while and tear down the link
and restart it.
In other wirds, it's not PPPOE's job but PP's job to identify teh
problem.


On Fri, 4 Jan 2002, Tim wrote:

> 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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to