[Openswan Users] IPSec incorrect route selection

Taekwondo AQR taekwondoaqr at gmail.com
Mon Jul 25 07:43:30 EDT 2011


Hello,

I have installed ipsec 2.6.35 , when trying to start it I see that ipsec
choose a route which is not available on my system ! It choose my default
gateway.
-------------------------------------------------------------------------------------------------------------------------------------
*root at sv1:/etc# service ipsec restart
ipsec_setup: Stopping Openswan IPsec...
ipsec_setup: Starting Openswan IPsec U2.6.35/K2.6.32-5-amd64...
ipsec_setup: multiple default routes, using xxx.xxx.5.193 on eth0
*
-------------------------------------------------------------------------------------------------------------------------------------

This is while xxx.xxx.5.193 is my default gateway address . Here is my
/etc/network/interfaces file :
-------------------------------------------------------------------------------------------------------------------------------------
*# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
auto eth0:0
auto eth0:1
auto eth0:2
auto eth0:3

iface eth0 inet static
address xxx.xxx.5.194
netmask 255.255.255.248
gateway xxx.xxx.5.193

iface eth0:0 inet static
address xxx.xxx.5.195
netmask 255.255.255.248
gateway xxx.xxx.5.193

iface eth0:1 inet static
address xxx.xxx.5.196
netmask 255.255.255.248
gateway xxx.xxx.5.193

iface eth0:2 inet static
address xxx.xxx.5.197
netmask 255.255.255.248
gateway xxx.xxx.5.193

iface eth0:3 inet static
address xxx.xxx.5.198
netmask 255.255.255.248
gateway xxx.xxx.5.193
*
-------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110725/5e17ad0b/attachment.html 


More information about the Users mailing list