I have a test setup:
interfaces {
bonding bond0 {
description "Core: XXX"
member {
interface eth6
interface eth7
}
mode 802.3ad
mtu 9000
vif 3331 {
address x.y.z.a/29
}
}}
and
ethernet eth6 {
hw-id ac:1f:6b:6d:16:74
mtu 9000
offload-options {
generic-receive on
generic-segmentation on
scatter-gather on
tcp-segmentation on
udp-fragmentation on
}
}
ethernet eth7 {
hw-id ac:1f:6b:6d:16:75
mtu 9000
offload-options {
generic-receive on
generic-segmentation on
scatter-gather on
tcp-segmentation on
udp-fragmentation on
}
}this setup doesn't survive reboot ... it boots into bond state down:
$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
But:
vyos@vRouter3:~$ configure
vyos@vRouter3# delete interfaces bonding bond0 member interface eth7
vyos@vRouter3# delete interfaces bonding bond0 member interface eth6
vyos@vRouter3# commit
vyos@vRouter3# set interfaces bonding bond0 member interface eth6
vyos@vRouter3# set interfaces bonding bond0 member interface eth7
vyos@vRouter3# commit
Solves the problem.
It doesn't work in 1.3-rolling-202002101915 and 1.3-rolling-202002120218. Similar setup does work in 1.3-rolling-202001261918.
There are no visible errors in log files.