September 14, 201213 yr I'm interested in recent examples for nic teaming and best practice configs. Anyone care to share?
September 15, 201213 yr This works on several machines I've built. Put this at the end of the go file: ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.11.198 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.11.1 bond0 Set Obtain IP Address Automatically: to No Leave IP Address, Netmask, and Gateway blank. Manually add a DNS server or 2. If the additional NIC does not work, i.e., it doesn't show up in ifconfig, try a different brand. Intel always works and Rosewell PCI-e works a well.
September 15, 201213 yr Author Thank you. Do you know of a way to run dns on upbraid that's not ddns?
October 27, 201213 yr This works on several machines I've built. Put this at the end of the go file: ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.11.198 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.11.1 bond0 Set Obtain IP Address Automatically: to No Leave IP Address, Netmask, and Gateway blank. Manually add a DNS server or 2. If the additional NIC does not work, i.e., it doesn't show up in ifconfig, try a different brand. Intel always works and Rosewell PCI-e works a well. Just to update this thread, I've just used this code but modified as follows: ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.1.150 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.1.150 bond0 ifconfig bond0 mtu 9000 up Results in: bwm-ng v0.6 (probing every 0.500s), press 'h' for help input: /proc/net/dev type: avg (90s) / iface Rx Tx Total ============================================================================== lo: 131.55 B/s 131.55 B/s 263.10 B/s eth0: 23.22 MB/s 183.60 KB/s 23.40 MB/s eth1: 23.31 MB/s 183.82 KB/s 23.48 MB/s bond0: 46.53 MB/s 367.45 KB/s 46.89 MB/s ------------------------------------------------------------------------------ total: 93.05 MB/s 735.02 KB/s 93.77 MB/s
October 27, 201213 yr This line contains the host address: ifconfig bond0 192.168.1.150 netmask 255.255.255.0 up This line should contain the router address: route add default gw 192.168.1.150 bond0 The addresses must be different.
January 2, 201313 yr i'm intrigued... how does one benefit from NIC teaming ? I see you can almost double your throughput, but do I need anything special in the rest of my network to benefit from the increased throughput ?
January 2, 201313 yr ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.1.150 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.1.150 bond0 ifconfig bond0 mtu 9000 up Your default gateway address can't be the same as your PC address, perhaps you used "192.168.1.1" ? Ps. I see dgaschk made already the same remark
January 2, 201313 yr This works on several machines I've built. Put this at the end of the go file: ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.11.198 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.11.1 bond0 Set Obtain IP Address Automatically: to No Leave IP Address, Netmask, and Gateway blank. Manually add a DNS server or 2. If the additional NIC does not work, i.e., it doesn't show up in ifconfig, try a different brand. Intel always works and Rosewell PCI-e works a well. With the round-robin mode the same MAC address will appear on diferent switch ports, which in general leads to interruptions of the traffic.. To make it work it usually requires the creation of an ethernet port group on the switch. Did you do anything special on the switch side?
January 2, 201313 yr This works on several machines I've built. Put this at the end of the go file: ifconfig eth0 down modprobe bonding mode=balance-rr miimon=100 ifconfig bond0 192.168.11.198 netmask 255.255.255.0 up ifenslave bond0 eth0 ifenslave bond0 eth1 route add default gw 192.168.11.1 bond0 Set Obtain IP Address Automatically: to No Leave IP Address, Netmask, and Gateway blank. Manually add a DNS server or 2. If the additional NIC does not work, i.e., it doesn't show up in ifconfig, try a different brand. Intel always works and Rosewell PCI-e works a well. With the round-robin mode the same MAC address will appear on diferent switch ports, which in general leads to interruptions of the traffic.. To make it work it usually requires the creation of an ethernet port group on the switch. Did you do anything special on the switch side? Yes. The switch must support bonding.
January 3, 201313 yr I created a GUI front-end to set up bonding. This option is added to the "network settings" page. I am putting it through testing phases at the moment... Though there are a couple of restrictions: 1. Bonding option is only available when at least two ethernet interfaces are present in the system 2. Bonding option only appears when a fixed (no DHCP) address is configured Got it working with DHCP too. 3. As soon as bonding is activated it is not possible to change the IP settings (bonding must be de-activated again) 4. It is up to the user to ensure that a chosen "mode of operation" is working properly (i.e. proper switch configuration where required) For those who want to do some background reading on bonding, have a look here A picture of how it looks...
April 27, 201313 yr I created a GUI front-end to set up bonding. This option is added to the "network settings" page. I am putting it through testing phases at the moment... Though there are a couple of restrictions: 1. Bonding option is only available when at least two ethernet interfaces are present in the system 2. Bonding option only appears when a fixed (no DHCP) address is configured Got it working with DHCP too. 3. As soon as bonding is activated it is not possible to change the IP settings (bonding must be de-activated again) 4. It is up to the user to ensure that a chosen "mode of operation" is working properly (i.e. proper switch configuration where required) For those who want to do some background reading on bonding, have a look here A picture of how it looks... image is not working.
Archived
This topic is now archived and is closed to further replies.