Re: Agregar una ruta permanente
xoma wrote:
>
> Hola Lista;
>
> Necesito que una maquina que tengo mantenga una ruta de manera permanente, de tal forma que si se reiniciase siguiese manteniendo la ruta... alguien puede ayudarme?
>
> Un saludo a la lista.
>
> ---------------
> xoma
> abaigar1@madritel.es
> ---------------
>
>
mira en /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# automatically added when upgrading
auto eth0
iface eth0 inet static
address 10.15.80.81
netmask 255.255.255.0
network 10.15.80.0
broadcast 10.15.80.255
gateway 10.15.80.5
up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.15.80.3 dev eth0
---
añade la ultima linea...
Saludos.
--
Fernando.
{:-{D>
"Hackers do it with fewer instructions."
Reply to: