El Sat, 05 Jun 2010 14:59:16 -0300, jplistero escribió:
El 05/06/10 14:48, Camaleón escribió:
Lo pone en el manual (man route)
*** gw GW route packets via a gateway. NOTE: The specified gateway must be reachable first. This usually means that you have to set up a static route to the gateway beforehand. If you specify the address of one of your local interfaces, it will be used to decide about the interface to which the packets should be routed to. This is a BSDism compati‐ bility hack. ***
gracias por la ayuda, justo cuando hice el route -n tenia el servicio de openvpn bajo,
bmf11-2:~ # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.0.1 10.10.0.9 255.255.255.255 UGH 0 0 0 tun0 10.10.0.9 * 255.255.255.255 UH 0 0 0 tun0 192.168.0.0 10.10.0.9 255.255.255.0 UG 0 0 0 tun0 link-local * 255.255.0.0 U 0 0 0 eth0 172.16.0.0 * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default 172.16.1.1 0.0.0.0 UG 0 0 0 eth0
ahora si tengo la net 192.168.0.0 , no ? esto es lo que me faltaba antes.
¿Antes? No, antes te faltaba añadir la ruta hacia 10.0.0.0. Me he perdido :-)
y hago, bmf11-2:~ # route add -host 172.21.0.1 gw 192.168.0.25 dev eth0 SIOCADDRT: No such process
que sea por el tun tendrá algo que ver ? para mi no ... es una interface mas ...
Pues no sé... pero fíjate que esa ruta la tienes en "tun0" pero no en "eth0". Tendrás que añadirla en eth0 para poder añadirla como puerta de enlace de eth0 ¿no? :-? ¿Pero no querías ejecutar "route add -host 172.21.0.21 gw 10.10.0.1"? >:-? Saludos, -- Camaleón -- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org