[Openswan Users] More info - routing problem

Paul Wouters paul at xelerance.com
Thu Sep 15 23:13:08 CEST 2005

On Thu, 15 Sep 2005, Antony Gelberg wrote:

> Sep 15 16:38:24 robert pluto[3595]: "roadwarrior"[2] #2:
> route-client output: /usr/lib/ipsec/_updown: doroute `ip route add
> via dev ipsec0 ' failed (RTNETLINK
> answers: Network is unreachable)

> conn roadwarrior
>        left=
>        leftsubnet=
>        leftcert=/etc/ipsec.d/certs/robert.wayforth.co.uk_cert.pem
>        right=%any
>        rightcert=/etc/ipsec.d/private/robert.wayforth.co.uk_key.pem
>        rightsubnetwithin=
>        auto=add
>        pfs=yes

> I won't post a barf at this stage, as I feel that this may well be
> enough for someone to guide me, but please let me know if you need the
> full barf.

Is you default gateway? you can try adding a leftnexthop=
for that.
If you have a weird default route over ppp that does something like
'route add dev ppp0' then you might need to manually add a 
host route for your default gateway, eg route add -host dev ppp0


More information about the Users mailing list