Bonding: Primary Interface not Getting Set
(Doc ID 2196887.1)
Last updated on MAY 01, 2020
Applies to:Linux OS - Version Oracle Linux 5.11 to Oracle Linux 6.8 [Release OL5U11 to OL6U8]
Oracle Cloud Infrastructure - Version N/A and later
While creating network bond(mode1:active-backup) with eth1 and eth2 as slaves, bonding is not coming up with primary interface as set in the configuration file.
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth2 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 5000 Down Delay (ms): 5000
Slave Interface: eth1 MII Status: up Speed: 10000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: <MAC ID> Slave queue ID: 0
Slave Interface: eth2 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: <MAC ID> Slave queue ID: 0
Here the bond0 is created with currently active slave as eth2, but from the bonding configuration file the primary interface is eth1.
DEVICE=bond0 USERCTL=no BOOTPROTO=none ONBOOT=yes BONDING_OPTS="mode=active-backup miimon=100 downdelay=5000 updelay=5000 num_grat_arp=100 PRIMARY=eth1" IPV6INIT=no IPADDR=192.168.XXX.22 NETMASK=255.255.255.0 NETWORK=192.168.XX.0 BROADCAST=192.168.XXX.255 GATEWAY=192.168.XX.1
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document