ruteo sobre vpns

dFX Team antonio en salles.cl
Jue Nov 13 09:03:08 CLST 2008


Germán Póo-Caamaño escribió:
> En OpenVPN por omisión el enlace es punto a punto y no ves las
> otras VPN's.  Para ellos tienes que configurar la interfaz como
> bridge.  Al menos, así es cuando tienes distintas conexiones VPN con
> OpenVPN.
> 
> Aún así tengo algunas dudas, porque me imagino que la interfaz de VPNC
> debe ser distinta a la definida por OpenVPN. 

(sòlo openvpn, sin vpnc)
$ ping 10.199.0.1
PING 10.199.0.1 (10.199.0.1): 56 data bytes
64 bytes from 10.199.0.1: icmp_seq=0 ttl=64 time=236 ms
64 bytes from 10.199.0.1: icmp_seq=1 ttl=64 time=18 ms
64 bytes from 10.199.0.1: icmp_seq=2 ttl=64 time=20 ms
64 bytes from 10.199.0.1: icmp_seq=3 ttl=64 time=18 ms
64 bytes from 10.199.0.1: icmp_seq=4 ttl=64 time=20 ms
64 bytes from 10.199.0.1: icmp_seq=5 ttl=64 time=19 ms
64 bytes from 10.199.0.1: icmp_seq=6 ttl=64 time=31 ms
64 bytes from 10.199.0.1: icmp_seq=7 ttl=64 time=19 ms
64 bytes from 10.199.0.1: icmp_seq=8 ttl=64 time=21 ms
64 bytes from 10.199.0.1: icmp_seq=9 ttl=64 time=25 ms
64 bytes from 10.199.0.1: icmp_seq=10 ttl=64 time=21 ms
64 bytes from 10.199.0.1: icmp_seq=11 ttl=64 time=24 ms
64 bytes from 10.199.0.1: icmp_seq=12 ttl=64 time=24 ms
64 bytes from 10.199.0.1: icmp_seq=13 ttl=64 time=20 ms

----10.199.0.1 PING Statistics----
14 packets transmitted, 14 packets received, 0.0% packet loss
round-trip (ms)  min/avg/max/med = 18/37/236/21

(con vpnc y openvpn ... apunta al gateway que entrega vpnc)
$ ping 10.199.0.1
PING 10.199.0.1 (10.199.0.1): 56 data bytes
36 bytes from 172.16.51.30: icmp_type=11 (Time Exceeded) icmp_code=0
36 bytes from 172.16.51.30: icmp_type=11 (Time Exceeded) icmp_code=0
36 bytes from 172.16.51.30: icmp_type=11 (Time Exceeded) icmp_code=0
36 bytes from 172.16.51.30: icmp_type=11 (Time Exceeded) icmp_code=0

----10.199.0.1 PING Statistics----
4 packets transmitted, 0 packets received, 100.0% packet loss


(sin vpnc, sin openvpn ... no llega a ninguna parte, obvio)
$ ping 10.199.0.1
PING 10.199.0.1 (10.199.0.1): 56 data bytes

----10.199.0.1 PING Statistics----
9 packets transmitted, 0 packets received, 100.0% packet loss



Más información sobre la lista de distribución Linux