[Openswan Users] Netherlands / Gateway out of subnet
Igmar Palsenberg
maillist at jdimedia.nl
Fri Aug 5 11:14:13 CEST 2005
> and will error out with:
> SIOCADDRT: Network is unreachable
> because it doesn't see the gateway address as a next hop probably.
>
> Strange enough it _does_ work if you replace the ipsec0 device name with one of the ethernet device names (but that won't do anything ofcourse).
>
> Because it does work with ethernet devices I think it has to do with the implementation of Openswan. It appears that it only checks the subnets to see if it can reach something (as next hop) and not the routing tables.
>
> Is there anyone that can shed some light on this?
In your OpenWan setup script :
route add -host x.x.x.x dev ipsec0 after setting up the devices.
Igmar
More information about the Users
mailing list