brent timothy saner on 28 Dec 2015 13:11:51 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] RHEL bonds |
On 12/28/2015 03:48 PM, Carl Johnson wrote:
Let's say i've got eth0 and eth1 in this box. I've got eth0 and eth1 as bond0 members. PRIMARY=eth0 would exist in the icfg-eth0.conf and not in the eth1.conf. So this would make eth0 the primary and eth1 as the secondary then?
there is no *.conf, just ifcfg-<iface> in /etc/sysconfig/network-scripts :)you would actually create something like this, from my understanding of the docs:
/etc/sysconfig/network-scripts/ifcfg-bond0: DEVICE=bond0 IPADDR=1.2.3.4 NETMASK=255.255.255.0 ONBOOT=yes BOOTPROTO=none USERCTL=no NM_CONTROLLED=no BONDING_OPTS="primary=eth0" /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 HWADDR=00:11:22:33:44:55:66 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no NM_CONTROLLED=no /etc/sysconfig/network-scripts/ifcfg-eth1: DEVICE=eth1 HWADDR=66:55:44:33:22:11:00 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no NM_CONTROLLED=no ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug