channel bonding
hello,
I am having some trouble getting channel bonding to work.
I have tried several different setups, as I am not clear how exactly you are
supposed to do this.
bonding module is loaded at startup (added with modconf)
the two pairs of NICs are connected directly using crossover cables.
eth0 in both machines is an rtl8139.
eth1 in both machines is an fealnx.
I am aware of the issue with rtl8139 MAC addresses, but since it is the first
card, it doesn't matter (ie, the other card copies its MAC address).
setup 1:
eth0 is configured to be 192.168.0.1/255.255.255.0 in /etc/network/interfaces
eth1 is configured to be 192.168.1.1/255.255.255.0 in /etc/network/interfaces
ifup eth0
ifup eth1
ifconfig bond0 192.168.2.1 netmask 255.255.255.0
ifenslave bond0 eth0
ifenslave bond0 eth1
similar setup on other machine.
ping 192.168.2.2 returns nothing.
setup 2:
eth0 is configured to be 192.168.0.1/255.255.255.0 in /etc/network/interfaces
eth1 is configured to be 192.168.1.1/255.255.255.0 in /etc/network/interfaces
ifup eth0
ifup eth1
ifenslave eth0 eth1
this setup works fine, but eth1 is never used at all.
setup 3:
eth0 and eth1 are not configured.
ifconfig bond0 192.168.0.1 netmask 255.255.255.0
ifenslave -E bond0 eth0
ifenslave -E bond0 eth1
ping 192.168.0.2 drops 2 out of every three packets.
---
I have not been able to find any step by step guides for this, or
documentation which is detailed enough such that I actually understand how
this is "supposed" to work. If anyone knows of any decent links on how to
get this going, please let me know.
thanks,
jason pepas
Reply to: