temporary wild-side problems cause long-term conn problems

"Stephen J. Bevan" <[email protected]> Sat, 8 Mar 2003 20:04:19 -0800
Newsgroups gmane.network.freeswan.user,gmane.network.freeswan.devel
Message-ID <[email protected]>
John S. Denker writes:
 > I'm promoting this to the design list.
 > 
 > Perhaps one of the designers could tell us, how
 > is FreeS/WAN _supposed_ to respond to routing
 > events "below" the tunnel layer, e.g. eth0 going
 > down and back up, due to e.g. temporary dhcp
 > failure or temporary removal of a pcmcia card?

I can't speak for the designers but I can say what I did in the past
to try and alleviate some of the DHCP related problems: install a
dhcpcd.exe script that stops/starts FreeS/WAN as appropriate i.e. stop
it on a "down", restart it on a "new" and start it on an "up" if it
isn't running.  This is a heavy-handed approach but it does at least
keep the routing and eroutes consistent and ensure that connections
are re-negotiated on an address change.