User Tools

Site Tools


nic_bonding_teaming

Dopo l'acquisto della carta Intel PCI ho settato così il network del server.

http://www.cyberciti.biz/tips/debian-ubuntu-teaming-aggregating-multiple-network-connections.html

francesco@serverHP:~$ sudo cat /etc/network/interfaces
[sudo] password for francesco: 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet dhcp
	bond-slaves eth0 eth1 eth2
	bond-mode O
	bond-miimon 100
	bond-primary eth0 eth1 eth2

francesco@serverHP:~$ sudo cat /etc/hosts
127.0.0.1	localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

192.168.1.44 serverHP 
192.168.1.88 serverHP
192.168.1.99 serverHP

Però, dopo aver letto sull'Handbook di FreeBSD quanto segue:

Round-robin

    Distributes outgoing traffic using a round-robin scheduler through all active ports and accepts incoming traffic from any active port. This mode violates Ethernet Frame ordering and should be used with caution.

ho forse trovato la causa di alcuni blocchi intempestivi del mio router neufbox e ho deciso si cambiare il settaggio da roundrobin (0) a 802.3ad (4) in /etc/network/interfaces.

Pagine consultate:

http://www.cyberciti.biz/tips/debian-ubuntu-teaming-aggregating-multiple-network-connections.html

e

http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html

Il problema è che, mentre in FreeBSD tutto ciò funziona perfettamente, in Debian non riesco ad utilizzare il teaming sui tre NIC se utilizzo il parametro 4, 802.3ad. Me ne attiva una sola.

nic_bonding_teaming.txt · Last modified: 2013/05/25 20:06 by admin