I noticed that all member interfaces of an active-backup
bond are down unless I manually bring them up with ip link set dev ethX up
when running VyOS in a VM on Proxmox. This doesn’t seem to happen in a VM on VMWare Workstation.
I was able to reproduce it with this minimal configuration:
Config
set interfaces bonding bond0 member interface 'eth2'
set interfaces bonding bond0 member interface 'eth1'
set interfaces bonding bond0 mode 'active-backup'
set interfaces bonding bond0 vif 100 address 'xxx.xxx.0.1/24'
set interfaces ethernet eth0
set interfaces loopback lo
set system config-management commit-revisions '100'
set system conntrack modules ftp
set system conntrack modules h323
set system conntrack modules nfs
set system conntrack modules pptp
set system conntrack modules sip
set system conntrack modules sqlnet
set system conntrack modules tftp
set system console device ttyS0 speed '115200'
set system host-name xxxxxx
set system login user xxxxxx authentication encrypted-password xxxxxx
set system login user xxxxxx authentication plaintext-password xxxxxx
set system ntp server xxxxx.tld
set system ntp server xxxxx.tld
set system ntp server xxxxx.tld
set system syslog global facility all level 'info'
set system syslog global facility protocols level 'debug'
According to ethtool
the link is not detected for any of the bond members (Link detected: no
), but as soon as I remove them from the bond that changes to yes
and the interface is shown as up in ip link
. I tried both virtio and E1000 as interface type, but that didn’t make a difference.
Am I missing anything or is this indeed a bug?
Thanks!