Hi,
my current network configuration in vCenter 6.5 as below
[ /etc/systemd/network ]# cat 10-eth.network
[Match]
Name=eth*
[Network]
Bond=bond0
ActiveSlave=false
PrimarySlave=true
[DHCP]
UseDNS=false
-------------------------------------------------------------------------------------------------------
[ /etc/systemd/network ]# cat 20-bond.netdev
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=balance-rr
MIIMonitorSec=10s
-------------------------------------------------------------------------------------------------------
[ /etc/systemd/network ]# cat 30-bond-static.network
[Match]
Name=bond0
[Network]
Address=192.168.XX.XXX/24
Gateway=192.168.XX.X
DNS=192.168.XX.XXX
DHCP=no
[Route]
Gateway=192.168.XX.X
Destination=192.168.XX.X/24
[DHCP]
UseDNS=false
In file 20-bond.netdev, You can see Mode=balance-rr So, currently bond interface is in Load Balancing with round-robin
[ /etc/systemd/network ]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
I want to make it something like below , I changed Mode=active-backup in 20-bond.netdev but it seems not taking affect.
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth0 (primary_reselect always)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Hi,
We can use bonding here as VCenter 6.5 uses Photon OS platform. So if we want to create bonding in vCenter we can use below link
https://blog.jreypo.io/cloud-native/devops/vmware/sysadmin/linux/network-configuration-in-photon-os/
for my problem I just modified 20-bond.netdev as below and rebooted VM after change. it worked for me.
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=active-backup
PrimaryReselectPolicy=always
MIIMonitorSec=10s
What is it you're trying to achieve here, exactly? This is a virtual appliance. Why do you need to bond any interfaces? I'm not even sure that's supported to begin with.
Hi,
We can use bonding here as VCenter 6.5 uses Photon OS platform. So if we want to create bonding in vCenter we can use below link
https://blog.jreypo.io/cloud-native/devops/vmware/sysadmin/linux/network-configuration-in-photon-os/
for my problem I just modified 20-bond.netdev as below and rebooted VM after change. it worked for me.
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=active-backup
PrimaryReselectPolicy=always
MIIMonitorSec=10s
Do you know what you're doing is very likely totally unsupported? Still trying to understand why you're trying to configure bonding on a VM which performs a management function.