Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

pppd pppoe ipsec and holdoff option

From: Gildas LE NADAN <glenadan(at)cvf.fr>
Date: Tue Apr 08 2003 - 05:05:48 EDT


Hi,

I guess this might be the right place to post my question, thought I've seen similar unansweared questions in the archives...

My home gateway is a GNU/Linux sid sparc system, with a 2.4.19 kernel. I use FreeS/WAN 1.98b with x509 patch, rp-pppoe 3.5 and pppd 2.4.1

pppd is configured with options persist and holdoff 10, and I have ip-up and ip-down scripts starting/stopping ipsec.

Unfortunely, my provider send PADT packets after 1440 minutes, thus stopping pppoe. It seems that in this case (and not for instance when I got LCP timeouts), pppd don't wait for the specified holdoff delay but automatically restart pppoe.

Problem is that ipsec modules are still loaded, as it takes 3 sec to unload ipsec but only 1 sec to restart pppoe and get the link. Then, pppd can't assign default gateway to the BAS and everything f*$£ up... :\

Has any of you encountered such problem and by any chance found a clean solution? I guess there might be a better solution than setting a cron job to stop ipsec then pppd just before 1440 min...

Sincerely yours,

-- 
Gildas LE NADAN 
Received on Tue Apr 8 05:06:21 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:43:07 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library