Contents
How do I change the IP address of a bond in Linux?
Article Content
- Open the configuration file for eth0: # vi /etc/sysconfig/network-scripts/ifcfg-eth0.
- Edit eth0 configuration file adding the “MASTER” and “SLAVE” parameters: DEVICE=eth0. USERCTL=no.
- Repeat steps #3 and #4 for eth1.
- Open the kernel modules configuration file: RHEL5 # vi /etc/modprobe.conf.
How do you change bonding mode in Redhat 7?
Creating the Network Bonding using nmcli
- Creating the Bonding interface. Use the nmcli connection command without any arguments to view the existing network connections.
- Creating the Slave Interfaces. For each interface that you want to bond, use the ‘nmcli con add type bond-slave’ command.
- Activating the Bond.
What are the different bonding modes in Linux?
There are basically 7 bonding modes we can use: Round Robin. Packets are distributed equally, in sequential order, to all the slave interfaces (from the first to the last). This mode provides both load balancing and fault tolerance, but needs support on the switches.
What are the required settings for bonding mode?
Overview of Bonding Modes and the Required Settings on the Switch I. Before You Begin 1. Overview of Networking Topics 1.1. Comparing IP to non-IP Networks 1.2. Comparing Static to Dynamic IP Addressing 1.3. Configuring the DHCP Client Behavior 1.3.1. Making DHCPv4 Persistent 1.4. Setting the Wireless Regulatory Domain 1.5. Configuring netconsole
How to add a slave interface to a bond?
The most important part, however, is the selection of the slave interfaces to be added to the bond. In the BOND Slaves menu, click on , and select the type of slave connection to add, in this case ethernet. Nmtui menu to select the slave connection type. Enter the device name, select and confirm.
How does network interface bonding work in CentOS?
This mode makes use of the IEEE 802.3ad link aggregation which must be supported on the switches. Creates aggregation groups that share same speed and duplex settings. Transmits and receives on all slaves in the active group. Provides both load balancing and fault tolerance.