On Wed, 7 Nov 2007 20:47:19 +0100 Mike Williams <[EMAIL PROTECTED]> wrote:
> On Wednesday 07 November 2007 18:30:22 kashani wrote: > > > Does anyone have any suggestions, or comments, or criticisms? > > > Anybody konw how to do a thing like that? > > > > First off don't assign separate IPs to each port on your four port > > card, bond them into a single interface. That will simplify your > > config and perform better. > > Yup, bonding is really cool, and trivially simple to setup. > Enable CONFIG_BONDING as a module, in "Network device support". > Install ifenslave, then edit /etc/modules.d/bond, like this: > > alias bond1 bonding > options bond1 mode=1 miimon=100 max_bonds=5 > > You probably want mode 0, I use mode 1 for redundancy only. Then > change your net config to something like this: > > config_eth0=( "null" ) > config_eth4=( "null" ) > RC_NEED_bond1="net.eth0 net.eth4" > slaves_bond1="eth0 eth4" > config_bond1=( "192.168.1.1/24" ) > > Then you use bondX from then on (no net.ethX should be in any > runlevel). > Thanks again. I am working through this now. Does anybody 'round here use mode 6? It sounds really promising, because it balances traffic bidirectionally. I am unclear as to whether I can do this with any card or not. I also worry about messing up my Hardware Addresses like I did the last time I was playing with Bonding. I don't think I used mode 0 (mode 5 maybe, or 2) but this resulted in 2 cards having the same hardware address, which I couldn't get to change back. Therefore the interfaces were always named improperly (eth0_rename) and the whole thing was a big ugly mess. I have to make sure I don't do this again, because the 4-port adapter is being 'borrowed' (indefinitely) and I don't want to break it. Does anybody know what I can do to avoid this from happening again? -- [EMAIL PROTECTED] mailing list