routing in tunnel mode

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Looking here

http://www.ipsec-howto.org/x299.html

I've set up a vpn in transport mode with two linux boxes. I'm now trying to
set it up in tunnel mode. After using the example keys, trying to ping, it
doesn't work because the route network isn't routable. 

This mention is in the howto

"If you tunnel is not working, please check your routing. Your hosts need to
know that they should send the packets for the opposite network to you vpn
gateway. The easiest setup would be using your vpn gateway as default
gateway."

But how does one set up a route like that, since the network is multiple hops
away, the route command isn't going to accept it?

[root@vmware-espresso1 ~]# route add -net 172.16.113.0 netmask 255.255.255.0
gw 10.33.15.145
SIOCADDRT: Network is unreachable

Some help please. 

Mike
-- 
Michael P. Soulier <michael_soulier@xxxxxxxxx>, 613-592-2122 x2522
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux