diff --git a/pkg/daemon/ovs_linux.go b/pkg/daemon/ovs_linux.go index 7f1a9359c4b..a04efd48e18 100644 --- a/pkg/daemon/ovs_linux.go +++ b/pkg/daemon/ovs_linux.go @@ -904,7 +904,7 @@ func configureNic(link, ip string, macAddr net.HardwareAddr, mtu int, detectIPCo ipDelMap[ipAddr.IPNet.String()] = ipAddr } - if ipv6LinkLocalOn && !isIPv6LinkLocalExist && util.CheckProtocol(ip) == kubeovnv1.ProtocolIPv6 { + if ipv6LinkLocalOn && !isIPv6LinkLocalExist && (util.CheckProtocol(ip) == kubeovnv1.ProtocolIPv6 || util.CheckProtocol(ip) == kubeovnv1.ProtocolDual) { linkLocal, err := macToLinkLocalIPv6(macAddr) if err != nil { return fmt.Errorf("failed to generate link-local address: %v", err)