[Openswan Users] routing problem with netmask

Paul Wouters paul at xelerance.com
Sun Sep 5 19:03:30 CEST 2004

On Sun, 5 Sep 2004, Alex, Wheeler wrote:

> Problem: ipsec0 routes do not appear in IP routing table
> I have the following ipconfiguration:
> Machine A
> ifconfig eth0 w.x.y.z broadcast w.x.y.z netmask
> route add dev eth0
> route add default gw

That's a pretty bogus network configuration. Assuming "w.x.y.z" is
something your isp gave you, and you don't care for the machines
at z+1 or z-1, you could change this to:

ifconfig eth0 w.x.y.z netmask

> conn machineA-to-machineB
>       auto=start
>       left=w.x.y.z
>       rightid=@machineB
>       right=a.b.c.d
>       rightrsasigkey=posidcpsodicpsodicpsocipsodicposdicfoobar

Since it is so weird, I'd put a leftnexthop= in there.


More information about the Users mailing list