[Openswan Users] route up before tunnel up

Dragos Gabriel Stoica sg.dragos at gmail.com
Tue Oct 9 14:16:16 EDT 2007


Hi,

First, i hope youll add a forum on your site. :)

Second, i have a situation:

site1 --------------- provider1 ------------------|
   |                                                    |
   |                                                    |
   |------------------- provider2 -------------- site2

trough provider1 i have dynamic routing (quagga) over mpls tunnel.
trough provider2 im planing to create an ipsec tunnel using openswan.

My problem is on site1 on the PC where i have openswan. If ipsec its
not started i have a dynamic route for site2 set by zebra (received
from other computer in site1).

If i start ipsec, the prog add a static route trough the tunnel before
the tunnel comes up, even if provider2 is down.

In short: Can i set openswan to add that route only after the tunnel
is up and delete it if the tunnel goes down ?

PS: im using openswan-2.4.5-2.1 on Fedora Core 6


More information about the Users mailing list