Rutas estáticas en Unix

20 04 2008

Unos tips para agregar rutas estáticas en un sistema Unix.

# route add -net 192.168.0.0 192.168.1.250

Donde 192.168.0.0 es la red destino y 192.168.1.250 el gateway que usaremos.

Si queremos que esto persista cada vez que iniciemos el equipo:

# cd /etc/init.d
# vi rutas

route add -net 192.168.0.0 192.168.1.250

# cd /etc/rc2.d
# ln -s /etc/init.d/rutas /etc/rc2.d/S98rutas

:wq!

Mas info aquí y aquí.


Acciones

Informacion

Deje un comentario

usted puede usar estos tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>