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

Re: fallo en ifup /if down



---------- Mensaje Original ----------------------------------
De: Pablo Bitreras <dexodvz@vtr.net>
Fecha:  Wed, 14 Jan 2004 23:57:02 -0300

>el Wed, 14 Jan 104 14:58:49 +0100
>"trujo " <trujo@dti2.net> escribio:
>
>> 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.
>> 
>
>> auto lo eth0 eth0:0
>> iface lo inet loopback
>
>Si te das cuenta, lo llamas 2 veces. cuando esta el auto lo .... y el auto lo
>eth0.
>el lo (loopback) es interno, y no va asociada con ninguna tarjeta de red.
>
no creo que sea el problema, si quito el lo siguen fallando las otras interfaces:
# ifdown eth0:0
ifconfig: can not resolve `down': Host name lookup failure
# ifup eth0:0
ifconfig: only one address allowed for interface `eth0:0'
Usage: ifconfig [OPTION]... [SYSTEM OPTION]...
Try `ifconfig --help' for more information.

y en otro ordenador que si funciona bien tengo el siguiente interfaces:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0 eth1
# eth2
iface eth0 inet static
        address 192.168.4.201
        netmask 255.255.255.0
        gateway 192.168.4.1
        up route del default gw 192.168.4.1 netmask 0.0.0.0 eth0
        up route add -net 172.21.0.0 gw 192.168.4.1 netmask 255.255.0.0 dev eth0


iface eth1 inet static
        address 10.104.1.34
        netmask 255.255.255.224
        gateway 10.104.1.33
#       up route add default gw 10.104.1.33 netmask 255.255.255.224 dev eth1
        up route add default gw 10.104.1.33 dev eth1

#iface eth2 inet static
#       address 192.168.231.1
#       netmask 255.255.255.255
#       gateway 192.168.231.2






Reply to: