RHEL9

From Dave-Wiki
Revision as of 15:42, 11 February 2024 by Dave (talk | contribs) (→‎Bonding)
Jump to navigation Jump to search

New Deployment

Networking

Bonding

A network bond is a method to combine or aggregate physical and virtual network interfaces to provide a logical interface with higher throughput or redundancy. In a bond, the kernel handles all operations exclusively. You can create bonds on different types of devices, such as Ethernet devices or VLANs.

Example

In this example, I was able to successfully bond two links to a Juniper EX3300 using LACP (802.3ad):

nmcli connection add type bond con-name bond0 ifname bond0 bond.options "mode=802.3ad,lacp_rate=fast"

nmcli connection modify bond0 connection.autoconnect-slaves 1

nmcli connection add type ethernet slave-type bond con-name bond0-port0 ifname enp129s0f0 master bond0

nmcli connection add type ethernet slave-type bond con-name bond0-port1 ifname enp129s0f1 master bond0

nmcli connection modify bond0 ipv4.addresses '10.144.30.20/24' ipv4.gateway '10.144.30.1' ipv4.dns '10.144.30.4,10.150.30.2' ipv4.dns-search 'lambnet.us' ipv4.method manual

Sources

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-network-bonding_configuring-and-managing-networking

https://www.kernel.org/doc/Documentation/networking/bonding.txt