[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] tunnel routing problem


  • Subject: [Openvpn-users] tunnel routing problem
  • From: Petre Bandac <petre@xxxxxx>
  • Date: Thu, 4 Dec 2003 22:34:54 +0200

the following situation is given

subnet 1.2.3.4 -> Linux_1 -> Linux_2 -> Linux_3 -> hosts to reach

subnet 1.2.3.4 (routable ips)
    |
    |
    |
Linux_1
    |
    |   tunnel 1 - 192.168.177.1 --> 192.168.177.2
    | 
Linux_2
    |
    |    tunnel 2 - 192.168.77.3 --> 192.168.77.4
    |
Linux_3
    |
    |
    |
hosts to reach (2.3.4.5 and 2.3.4.6)

I must reach to 2.3.4.5 and 2.3.4.6 via the tunnel 

what route commands should I issue ?

I tried

on Linux_1

route add -net 192.168.77.0 netmask 255.255.255.0 gw 192.168.177.2
route add -host 2.3.4.5 gw 192.168.177.2

on Linux_2

route add -host 2.3.4.5 gw 192.168.77.4

on Linux_3

route add -net 192.168.177.0 netmask 255.255.255.0 gw 192.168.77.3
route add -net 1.2.3.4 netmask 255.255.255.0 gw 192.168.77.3
		(because 1.2.3.4 is a routable subnet)

ans somehow it's not working

what am I doing wrong ?

TIA,

petre

-- 
Login: petre          			Name: Petre Bandac
Directory: /home/petre              	Shell: /usr/local/bin/zsh
On since Tue Dec  2 09:20 (EET) on ttyv0, idle 1 day 13:34 (messages off)
Last login Thu Dec  4 19:11 (EET) on ttyp1 from misu.kgb.ro
No Mail.
No Plan.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00025.html on line 232

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00025.html on line 232