[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] 82.68.107.174 #2:
> route-client output: /usr/lib/ipsec/_updown: doroute `ip route add
> 192.168.0.190/32 via 82.68.107.174 dev ipsec0 ' failed (RTNETLINK
> answers: Network is unreachable)

> conn roadwarrior
>        left=82.69.161.254
>        leftsubnet=192.168.168.0/24
>        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=0.0.0.0/0
>        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 82.68.107.174 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 0.0.0.0/0 dev ppp0' then you might need to manually add a 
host route for your default gateway, eg route add -host 82.68.107.174 dev ppp0

Paul


More information about the Users mailing list