Why inactive slave bonding received network package in redhat?

bond0 active in eth0 and inactive in eth4. why eth4 received network package?

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth0 (primary_reselect failure)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth4
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 5
Permanent HW addr: 6c:ae:8b:51:26:ea
Slave queue ID: 0

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 2
Permanent HW addr: 90:e2:ba:4e:a5:20
Slave queue ID: 0

xI/F Name Recv=KB/s Trans=KB/s packin packout insize outsize Peak->Recv Trans                                                                               x
x      lo   170.1   170.1     933.2    933.2   186.7  186.7      575.3   575.3                                                                              x
x    eth0   153.9   248.4     330.4    403.9   477.0  629.9      447.7   766.9                                                                              x
x    eth1     2.9    58.9      45.0    114.5    66.0  527.2        5.3   163.9                                                                              x
x    eth2    35.5     5.3     107.0     97.5   340.0   55.4       73.4     9.1                                                                              x
x    eth3     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0                                                                              x
x    eth4   146.1     0.0     243.9      0.0   613.4    0.0      434.9     0.0                                                                              x
x    eth5     0.0     0.0       0.5      0.0    60.0    0.0        0.1     0.0                                                                              x
x    eth6     0.1     0.0       1.0      0.0    92.0    0.0        0.4     0.0                                                                              x
x    eth7     0.0     0.0       0.0      0.0     0.0    0.0        0.6     0.0                                                                              x
x    usb0     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0                                                                              x
x   bond0   300.0   248.4     574.3    403.9   534.9  629.9      882.6   766.9                                                                              x
x   bond1     2.9    58.9      45.5    114.5    65.9  527.2        5.3   163.9                                                                              x
x   bond2    35.6     5.3     108.0     97.5   337.7   55.4       73.5     9.1                                                                              x
x   bond3     0.0     0.0       0.0      0.0     0.0    0.0        0.6     0.0

Hi,

It's likely to be because of the link failures on eth0, where it will fail over to eth4.

Regards

Gull04

Further to what my learned friend Gull04 has written, you have failure on eth4 too, so the IP will have moved back to eth0 again.

I hope that this helps,
Robin

Now active in eth0. eth4 not active. why eth4 still receive package but no transmission package from eth4.

Recv bond0=eth0+eth4
Trans bond0=eth0
xI/F Name Recv=KB/s Trans=KB/s packin packout insize outsize Peak->Recv Trans                                                                               x
x      lo     7.7     7.7      51.0     51.0   154.1  154.1       28.5    28.5                                                                              x
x    eth0     3.1     8.8      21.5     24.0   147.1  376.8        5.3    11.5                                                                              x
x    eth1     0.3     3.5       4.5      8.5    69.1  418.8        0.8     6.0                                                                              x
x    eth2     1.0     0.2       6.5      4.5   153.9   54.0        1.1     0.4                                                                              x
x    eth3     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0                                                                              x
x    eth4     2.4     0.0      13.5      0.0   182.8    0.0        3.9     0.0                                                                              x
x    eth5     0.0     0.0       0.5      0.0    60.0    0.0        0.0     0.0                                                                              x
x    eth6     0.2     0.0       2.0      0.0    92.0    0.0        0.2     0.0                                                                              x
x    eth7     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0                                                                              x
x    usb0     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0                                                                              x
x   bond0     5.5     8.8      35.0     24.0   160.9  376.8        9.1    11.5                                                                              x
x   bond1     0.3     3.5       5.0      8.5    68.2  418.8        0.8     6.0                                                                              x
x   bond2     1.2     0.2       8.5      4.5   139.4   54.0        1.2     0.4                                                                              x
x   bond3     0.0     0.0       0.0      0.0     0.0    0.0        0.0     0.0

Hi Samran,

This seems to be standard traffic on the bonded interfaces, here I have a bond (bond0) comprising eno1 and ens2f1. As you can see the secondary interface has some Recieved Packets, probably just the bond checking that it's active.

xI/F Name Recv=KB/s Trans=KB/s packin packout insize outsize Peak->Recv Trans
x    eno1      1.9       0.5      13.5    2.5   145.7  201.2        3.7     15.9
x    eno2      0.0       0.0       0.0    0.0     0.0    0.0        0.0      0.0
x    eno3      0.0       0.0       0.0    0.0     0.0    0.0        0.0      0.0
x    eno4      0.0       0.0       0.0    0.0     0.0    0.0        0.0      0.0
x   bond0      1.9       0.5      13.5    2.5   145.7  201.2        3.7     15.9
x      lo      5.6       5.6      21.0   21.0   274.9  274.9       53.3     53.3
x  ens2f0      0.0       0.0       0.0    0.0     0.0    0.0        0.0      0.0
x  ens2f1      0.7       0.0       5.0    0.0   136.7    0.0        2.3      0.0

If you need further validation on your server, then I'd suggest that you would maybe want to run;

># tcpdump -i eth4

Please note depending on network traffic you will probably see significant output.

Regards

Gull04

1 Like