[Openswan Users] IPSec incorrect route selection

Taekwondo AQR taekwondoaqr at gmail.com
Thu Jul 28 15:56:03 EDT 2011


Hello,

I've removed "*gateway xxx.xxx.5.193" *from eth0:X lines (virtual ethernets)
and this has been fixed now !

Thanks from myself

On 29 July 2011 00:12, Taekwondo AQR <taekwondoaqr at gmail.com> wrote:

> It seems that it is a bug in openswan, Isn't it ?
>
>
> On 25 July 2011 16:13, Taekwondo AQR <taekwondoaqr at gmail.com> wrote:
>
>> 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/20110729/a06593d5/attachment.html 


More information about the Users mailing list