[Openswan Users] Multiple subnets through 1 tunnel

Andy Van den Heede Andy.VandenHeede at trustteam.be
Tue Sep 9 10:39:35 EDT 2008


Hello,

I have a successful VPN tunnel between my local subnet 192.168.1.0/24 (Openswan device) and an external subnet 192.168.2.0/24 (Another device not managed by me).
At the other device there is also another subnet 172.16.2.0/24 active that I need to access through this tunnel.

How can I configure my device to route this also through this existent tunnel?

I did a test with following command:
ip route add 172.16.2.0/24 via 192.168.2.254 dev eth0 src 192.168.1.254

But I get this error:
RTNETLINK answers: Network is unreachable

Thanks in advice,
Andy Van den Heede

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080909/a9271007/attachment.html 


More information about the Users mailing list