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

Re: [RISOLTO]Re: E "eth1:1" dov'è finito?



Giorgio Bompiani wrote:
Davide Prina ha scritto:

Prova prima a configurare il tutto in questo modo:

auto eth1 eth1:1
iface eth1 inet dhcp
iface eth0:1 inet static
    address 192.168.0.2
    network 192.168.0.0
    netmask 255.255.255.0
Ho provato e non funziona niente

ho preso questo esempio qui sotto e l'ho adattato ... ouch!! non ho modificato la terza riga, ho lasciato eth0 al posto di eth1 ... :-(

# A more complicated ethernet setup with a single ethernet card with
# two interfaces.
# Note: This happens to work since ifconfig handles it that way, not because
# ifup/down handles the ':' any differently.
# Warning: There is a known bug if you do this, since the state will not
# be properly defined if you try to 'ifdown eth0' when both interfaces
# are up. The ifconfig program will not remove eth0 but it will be
# removed from the interfaces state so you will see it up until you execute:
# 'ifdown eth0:1 ; ifup eth0; ifdown eth0'
# BTW, this is "bug" #193679 (it's not really a bug, it's more of a
# limitation)
#
# auto eth0 eth0:1
# iface eth0 inet static
#     address 192.168.0.100
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1
# iface eth0:1 inet static
#     address 192.168.0.200
#     network 192.168.0.0
#     netmask 255.255.255.0


Ciao
Davide

--
Dizionari: http://linguistico.sourceforge.net/wiki
Petizione per uso di software interoperabile nell'UE:
http://openparliament.eu/
Non autorizzo la memorizzazione del mio indirizzo su outlook


Reply to: