My Oracle Support Banner

Oracle Linux: Why BondX's MAC Address Comes From an Inactive NIC With Bonding Mode 1(active-backup)? (Doc ID 2519575.1)

Last updated on MAY 24, 2020

Applies to:

Linux OS - Version Oracle Linux 6.9 with Unbreakable Enterprise Kernel [2.6.39] and later
Linux x86-64

Symptoms

Why the bond MAC Address comes from an inactive NIC is Used in bond Mode 1 (active-backup)? See below that eth2 is the active slave but bondX uses MAC address of eth1.

# cat proc/net/bondx
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth2     <--- currently, eth2 is active slave.
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 5000
Down Delay (ms): 5000
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: xx:xx:xx:xx:xx:b3    <---- MAC address of eth1
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: xx:xx:xx:xx:xx:b4    <---- MAC address of eth2
Slave queue ID: 0

 

From the outpuf of `ifconfig`

bondeth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:B3       <--- coming from eth1 but no failure / NIC swich during the running.
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx Mask:255.255.254.0
inet6 addr: xx::xx:xx:xx:xx/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:130915494610 errors:0 dropped:240674927 overruns:0 frame:0
TX packets:26208061720 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:192913473854331 (175.4 TiB) TX bytes:15302884391418 (13.9 TiB)

eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:B3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:77048660 errors:0 dropped:77048660 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103016322366 (95.9 GiB) TX bytes:0 (0.0 b)

eth2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:B3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:130838445986 errors:0 dropped:0 overruns:0 frame:0
TX packets:26208061762 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:192810457547438 (175.3 TiB) TX bytes:15302884399534 (13.9 TiB)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.