[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rutas estaticas



> capitan_buscapina wrote:
> 
> Donde tengo que agregar las rutas estaticas para que cuando reinicie
> el sistema levante y no tenga que escribirlas de nuevo
> route add -net ..............
> 
> Gracias


yo tengo algo asi 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.11
        netmask 255.255.252.0
        network 10.15.80.0
        broadcast 10.15.83.255

up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.15.80.7 dev eth0


# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
# iface eth0 inet static
# automatically added when upgrading
auto eth0:0
iface eth0:0 inet static
        address 172.27.50.24
        netmask 255.255.252.0
        network 172.27.48.0
        broadcast 172.27.51.255
        gateway 172.27.50.55



-- 
Fernando.
{:-{D>

   "Hackers do it with fewer instructions."



Reply to: