Answering to myself: On 5/17/19 12:43 PM, Roosen, Nicolas wrote: > Hello, I am trying to setup a bonded Ethernet interface on a node (xCAT > 2.14.6 / RHEL 7.6). > > It works almost fine, except for the bonding options which I fail to change. > The default seems to be "802.3ad". > I'd like to set it to "mode=2". > > I tried this: > > chdef node1 nicextraparams.bond0="BONDING_OPTS=mode=2" > > Which seems to be taken into account: > > tabdump nics > #node,nicips,nichostnamesuffixes,nichostnameprefixes,nictypes,niccustomscripts,nicnetworks,nicaliases,nicextraparams,nicdevices,nicsadapter,comments,disable > "node1","bond0!172.31.0.11",,,"bond0!bond,enp195s0f1!ethernet,enp195s0f0!ethernet",,"bond0!172_31_0_0-255_255_0_0",,"bond0!BONDING_OPTS=mode=2","bond0!enp195s0f0|enp195s0f1",,, > > But when I update the network configuration on the node, the settings is > not applied. > > cat /proc/net/bonding/bond0 | grep -i mode > Bonding Mode: IEEE 802.3ad Dynamic link aggregation > > What else can I try? >
It works fine when I re-install the node. [root@localhost network-scripts]# cat ifcfg-bond0 ONBOOT="yes" USERCTL="no" TYPE="Bond" BONDING_MASTER="yes" BONDING_OPTS="mode=2" BOOTPROTO="static" DHCLIENTARGS="-timeout 200" MTU="1500" DEVICE="bond0" cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (xor) Transmit Hash Policy: layer2 (0) -- Nicolas _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user