Partner wants a 4 way bond on their unit. No problem.
[root@jr4-1 ~]# /opt/scalable/sbin/mkchbond.pl --bond=bond0 --eth=eth0,eth1,eth2,eth3 --ip=10.100.243.80 --netmask=255.255.0.0 --mode=0 --write mkchbond.pl: v0.9 Create channel bonds easily by Joe Landman (http://scalableinformatics.com) This software is Copyright (c) 2005-2007 by Scalable Informatics and licensed under GPL v2.0 only. You may freely distribute this software under the terms and conditions of the GPL 2.0 license. You may not alter, remove, or prevent printing of the copyright notice and information. opening file '/etc/modprobe.conf' for appending closing file '/etc/modprobe.conf' opening file '/etc/sysconfig/network-scripts/ifcfg-bond0' for writing closing file '/etc/sysconfig/network-scripts/ifcfg-bond0' opening file '/etc/sysconfig/network-scripts/ifcfg-eth0' for writing closing file '/etc/sysconfig/network-scripts/ifcfg-eth0' opening file '/etc/sysconfig/network-scripts/ifcfg-eth1' for writing closing file '/etc/sysconfig/network-scripts/ifcfg-eth1' opening file '/etc/sysconfig/network-scripts/ifcfg-eth2' for writing closing file '/etc/sysconfig/network-scripts/ifcfg-eth2' opening file '/etc/sysconfig/network-scripts/ifcfg-eth3' for writing closing file '/etc/sysconfig/network-scripts/ifcfg-eth3'
That was pretty easy. Now comment out the IPADDR/NETMASK entries in ifcfg-bond0, and put in dhcp … and we are done.
Viewed 14043 times by 2826 viewers