-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hola: Tengo que configurar la red de forma que active una ruta por defecto hacia la wifi cuando está la wifi activa, o hacia la eth cuando es la eth la conectada. Método clásico. oS 11.2 Directorio "/etc/sysconfig/network" ifcfg.template: ## Routing: ## If you need special routes for a configuration, then use a file named ## ifroute-<config> where <config> is the same string as in ifcfg-<config>. ## It has the same syntax like routes except one difference: ## If you omit the interface name (4th field) in the ifroute file it will be ## set to the current interface name when setting up the interface. You need to ## do this with hotpluggable devices, where you do not know which interface name ## they will get at the time when you plug them. ## See man 5 routes. O sea, puesto que tengo ifcfg-wlan0 y ifcfg-eth0 necesito ifroute-eth0 y ifroute-wlan0. Ahora mismo está la eth0 activa: ifroute-eth0: 192.168.1.0 192.168.1.1 255.255.255.0 default 192.168.1.1 - Después de un "rcnetwork restart", veo esto: minas-tirith:/etc/sysconfig/network # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 router.valinor 255.255.255.0 UG 0 0 0 eth0 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo minas-tirith:/etc/sysconfig/network # No aparece la ruta por defecto, no la ha cogido, así que no puedo salir a internet por ese ordenador. ¿Es un bug? ¿Se hace de otra forma? - ---- Bueno, he conseguido que funcione de otra forma. En el fichero routes pongo esto: 192.168.1.0 192.168.1.1 255.255.255.0 default 192.168.1.1 - sin interfase. Según el manual la interfase así es dinámica. Puedo navegar... pero no de la forma que suponía. - -- Saludos Carlos E.R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkwDunwACgkQtTMYHG2NR9WnkwCdF+FJTmtvbCm+MaLJNbs4x+wh DegAn3vwMvzgvNGCoQWkb6zKuiMqZduK =dCAh -----END PGP SIGNATURE-----