Description of problem: Please help add bond new option ns_ip6_target for NM. Here is the kernel doc[1] ns_ip6_target Specifies the IPv6 addresses to use as IPv6 monitoring peers when arp_interval is > 0. These are the targets of the NS request sent to determine the health of the link to the targets. Specify these values in ffff:ffff::ffff:ffff format. Multiple IPv6 addresses must be separated by a comma. At least one IPv6 address must be given for NS/NA monitoring to function. The maximum number of targets that can be specified is 16. The default value is no IPv6 addresses. And kernel commit [2], iproute2 commit [3] for reference. [1] https://www.kernel.org/doc/Documentation/networking/bonding.rst [2] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=129e3c1bab24 [3] https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9831202f
*** Bug 2148686 has been marked as a duplicate of this bug. ***
# uname -r 5.14.0-231.el9.x86_64 # rpm -q NetworkManager NetworkManager-1.43.4-1.el9.x86_64 # nmcli con add type bond ifname team0 bond.options "mode=active-backup,arp_interval=200,arp_missed_max=15,ns_ip6_target=fe80::210:18ff:feaa:bbcc" Error: Failed to add 'bond-team0' connection: bond.options: 'arp_interval' option requires 'arp_ip_target' option to be set # ip link add bond0 type bond mode active-backup arp_interval 1000 arp_missed_max 15 ns_ip6_target fe80::210:18ff:feaa:bbcc # echo $? 0
Oh thanks for reporting this. I didn't know ns_ip6_target could satisfy that condition too. Let me fix it, it is simple. Thanks!
FYI, it works now: # rpm -q NetworkManager NetworkManager-1.43.6-1.el9.x86_64 # nmcli con add type bond ifname bond0 bond.options "mode=active-backup,arp_interval=200,arp_missed_max=15,ns_ip6_target=fe80::210:18ff:feaa:bbcc" Connection 'bond-bond0' (37c4fae6-5255-4acc-9882-2bd16c77d4ab) successfully added. # nmcli con show bond-bond0 | grep "bond.options" bond.options: mode=active-backup,arp_interval=200,arp_missed_max=15,ns_ip6_target=fe80::210:18ff:feaa:bbcc Thanks Hangbin