Size: 2593
Comment:
|
← Revision 9 as of 2021-12-01 08:17:42 ⇥
Size: 0
Comment: Page become too technical and complex to be kept updated. Also so technical that who needs it probably has to have some English knowledge
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#language it ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: Italiano -~ ---- = Bonding = Questo articolo mosterà come unire due connessione Ethernet assieme per creare una interfaccia "auto failover" ## If your page gets really long, uncomment this Table of Contents ### <<TableOfContents(2)>> == Installazione == Prima di tutto occorre installare il pacchetto [[DebianPkg:ifenslave-2.6]], necessario per abilitare il «bonding»: {{{ # apt-get install ifenslave-2.6}}} === Spegnere / Sconfigurare le interfacce esistenti === {{{ # ifdown eth0 (Ripetere il comando per tutte le interfacce da include nel bond) # /etc/init.d/networking stop }}} {i} Alcune volte, {{{ifdown}}} non funziona, in questo caso si usi {{{ifconfig eth0 down}}}. == Configurazione == Modificare il file {{{/etc/network/interfaces}}}: {{{ auto bond0 iface bond0 inet static address 10.31.1.5 netmask 255.255.255.0 network 10.31.1.0 gateway 10.31.1.254 slaves eth0 eth1 bond_mode active-backup bond_miimon 100 bond_downdelay 200 bond_updelay 200 }}} Per maggiori dettagli si guardi {{{/usr/share/doc/ifenslave-2.6/README.Debian}}} e [[http://www.kernel.org/doc/Documentation/networking/bonding.txt|/usr/src/linux/Documentation/networking/bonding.txt]]. === Note aggiuntive per Debian Lenny su Sparc === ''(potrebbe essere applicabile anche ad altre architetture)'' {{{ # cd /etc/modprobe.d # cat > aliases-bond.conf alias bond0 bonding options bonding mode=1 arp_interval=2000 arp_ip_target=192.168.3.1 <CTRL-D> }}} Senza questo file, durante l'avvio dell'interfaccia unita si otterrà un avvertimento simile a questo: {{{ bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. }}} == Avvio / Configurazione delle nuove interfacce == {{{ # ifup bond0 # /etc/init.d/networking start }}} Inoltre, se si sta usando un'ambiente [[DebianLenny|Lenny]] che è stato aggiorndato da [[DebianEtch|Etch]], si raccomanda caldamente di verificare il risultato del seguente comando per verificare il modo dell'interfaccia «bonding», perché i file di configurazione per Etch e versione più vecchie non funzionanao su Lenny o versione successive. {{{ cat /sys/class/net/bond0/bonding/mode }}} ## You can add other _helpful_ links here. ##See also: ## If this page belongs to an existing Category, add it below. ## CategorySomething | CategoryAnother ---- CategoryNetwork |