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

fallo en ifup /if down



En un ordenador (otros no) desde que actualice hase unas semanas me falla la red al arrancar con los siguientes fallos en ifup
# ifup lo
ifconfig: only one address allowed for interface `lo'
Usage: ifconfig [OPTION]... [SYSTEM OPTION]...
Try `ifconfig --help' for more information.

y no lo activa

# ifdown lo
ifconfig: can not resolve `down': Host name lookup failure

y si lo he activado con ifconfig lo up previamente no lo quita.
lo mismo pasa con las demas interfaces de red pero lo he reducido al maximo (he cortado el fichero interfaces) para poder acotar el problema
el fichero interfaces reducido es:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

el completo (aunque no creo que sea necesario)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0 eth0:0
iface lo inet loopback


iface eth0 inet static
        address 172.21.5.53
        netmask 255.255.0.0
        up route add -net 192.168.2.0 netmask 255.255.255.0 gw 172.21.1.101 eth0 ||true # Nave
        up route add -net 192.168.4.0 netmask 255.255.255.0 gw 172.21.1.112 eth0 ||true # Hsjd
        up route add -net 192.168.5.0 netmask 255.255.255.0 gw 172.21.1.112 eth0 ||true # S. Mental
        up route add -net 192.168.6.0 netmask 255.255.255.0 gw 172.21.1.113 eth0 ||true # Distrito 5PL
#       up route add -net 192.168.7.0 netmask 255.255.255.0 gw 172.21.1. eth0 ||true # B sangre
        up route add -net 192.168.8.0 netmask 255.255.255.0 gw 172.21.1.112 eth0 ||true # Santa Fe
#       up route add -net 192.168..0 netmask 255.255.255.0 gw 172.21.1.116 eth0 ||true # G. Capitan
#       up route add -net 192.168..0 netmask 255.255.255.0 gw 172.21.1.116 eth0 ||true # Iznalloz


iface eth0:0 inet static
        address 10.104.24.53
        netmask 255.255.248.0
        gateway 10.104.24.1



Reply to: