Carl Johnson on 28 Dec 2015 12:48:49 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] RHEL bonds


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?

On Mon, Dec 28, 2015 at 3:40 PM, brent timothy saner <brent.saner@gmail.com> wrote:
On 12/28/2015 03:35 PM, Carl Johnson wrote:
"The first interface to be enslaved." How do I know which one that is to
be? How do I elect one MAC over another?


whoop! apologies.

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Specific_Kernel_Module_Capabilities.html#sec-Using_Channel_Bonding

" primary=<interface_name>
    Specifies the interface name, such as eth0, of the primary device. The primary device is the first of the bonding interfaces to be used and is not abandoned unless it fails. This setting is particularly useful when one NIC in the bonding interface is faster and, therefore, able to handle a bigger load.
    This setting is only valid when the bonding interface is in active-backup mode. See the bonding.txt file in the kernel-doc package (see Section 29.9, “Additional Resources”). "

this can be specified, per the previous link i sent, in the ifcfg-bondN file under the parameter "BONDING_OPTS=". hope this helped! (check out the other options on that page as well!)
___________________________________________________________________________
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

___________________________________________________________________________
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