diff --git a/go-controller/pkg/ovn/gateway.go b/go-controller/pkg/ovn/gateway.go index 291bd00f69..5a0fb0c506 100644 --- a/go-controller/pkg/ovn/gateway.go +++ b/go-controller/pkg/ovn/gateway.go @@ -388,7 +388,10 @@ func (gw *GatewayManager) GatewayInit( } if gw.netInfo.IsPrimaryNetwork() && gw.netInfo.TopologyType() == types.Layer2Topology { logicalRouterPort.Ipv6RaConfigs = map[string]string{ - "address_mode": "dhcpv6_stateful", + "address_mode": "dhcpv6_stateful", + "send_periodic": "true", + "max_interval": "900", // 15 minutes + "min_interval": "300", // 5 minutes } if gw.netInfo.MTU() > 0 { logicalRouterPort.Ipv6RaConfigs["mtu"] = fmt.Sprintf("%d", gw.netInfo.MTU()) diff --git a/go-controller/pkg/ovn/secondary_layer2_network_controller_test.go b/go-controller/pkg/ovn/secondary_layer2_network_controller_test.go index 8d4cc8e3f0..c91485c0d8 100644 --- a/go-controller/pkg/ovn/secondary_layer2_network_controller_test.go +++ b/go-controller/pkg/ovn/secondary_layer2_network_controller_test.go @@ -480,8 +480,11 @@ func expectedGWToNetworkSwitchRouterPort(name string, netInfo util.NetInfo, netw options := map[string]string{"gateway_mtu": fmt.Sprintf("%d", 1400)} lrp := expectedLogicalRouterPort(name, netInfo, options, networks...) lrp.Ipv6RaConfigs = map[string]string{ - "address_mode": "dhcpv6_stateful", - "mtu": "1400", + "address_mode": "dhcpv6_stateful", + "mtu": "1400", + "send_periodic": "true", + "max_interval": "900", + "min_interval": "300", } return lrp }