pppoed problem with reconnections

Luiz Otavio O Souza lists.br at gmail.com
Sun Jan 18 02:58:05 PST 2009


> Hi folks,
>
> I am currently doing some lab testing with 6.3-release and a pppoe setup 
> where each user has their own VLAN.  On the termination box have an em 
> interface with about 200 VLANs configured on it, and have a ppp.conf 
> looking like this:
>
> default:
>  set log Chat Command Phase
>  enable pap
>  enable chap
>  allow mode direct
>  set mru 1462
>  set mtu 1462
>  set timeout 0
>  enable lqr
>  accept dns
>  set dns 192.168.1.1 192.168.1.2
>  set radius /etc/ppp/radius.conf
>  set ifaddr 192.168.254.254/32

Change the enable lqr to:

enable lqr echo
set echoperiod 5

The ppp will check the remote peer at echoperiod  and after five consecutive 
fails the ppp link will be closed.

Luiz 



More information about the freebsd-net mailing list