RE: Cipe over non-persistent links|
Fri, 23 Mar 2001 15:26:59 +0100|
I bring up cipe in my /etc/ppp/ip-up.local script and I bring it down
(ifconfig cipcb0 down) in my /etc/ppp/ip-down.local script (redhat, but you
can do the equiv. in other distributions).
The only other piece is to make pppd re-dial when the link goes down. I now
use kppp to start my pppd to my ISP, but you could test to see if the
persist option to pppd calls the ip-down and ip-up scripts appropriately.
If not, you could write a shell script to put pppd into a loop.
> -----Original Message-----
> From: Karl Kleinpaste [SMTP:karl,AT,charcoal,DOT,com
> Sent: Thursday, March 22, 2001 6:22 PM
> To: cipe-l,AT,inka,DOT,de
> Subject: Re: Cipe over non-persistent links
> SYLVAIN.COUTANT,AT,illicom,DOT,com writes:
> > Did someone already managed to get a similar connection to work ?
> > I'd like to let users behind F2 to connect transparently to servers
> > behind F1 without having to bring down and then back up the cipe
> > device each time they need to connect.
> I have a similar situation in that my home machine is still stuck with
> dialing a local ISP, though the intent is to be effectively
> permanently connected. Every half hour, a small script looks to see
> whether ppp0 is alive. If not, it kills off ciped, re-dials, and then
> restarts ciped. The time period in which ciped is missing is just a
> few seconds, never long enough to concern anything, and ciped's
> restart (over a ppp0 which now has a new address) induces an initial
> key exchange with the fixed-address hosts elsewhere. The fixed-
> address hosts log their notice of a new peer, and life goes on as
> The fixed-address hosts are configured to believe that the opposite
> end is at 0.0.0.0, so they simply sit and wait for my ppp0 host to do
> something sensible.
> ppp0 host: fixed-address host:
> me 0.0.0.0:12345 me belladonna:12345
> peer belladonna:12345 peer 0.0.0.0:12345
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive: