We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3189cda commit 28331b4Copy full SHA for 28331b4
cns/hnsclient/hnsclient_windows.go
@@ -507,7 +507,6 @@ func configureHostNCApipaEndpoint(
507
}
508
509
networkContainerApipaIP := localIPConfiguration.IPSubnet.IPAddress
510
- hostApipaIP := localIPConfiguration.GatewayIPAddress
511
protocolList := []string{protocolICMPv4, protocolTCP, protocolUDP}
512
513
endpointPolicies, err := configureAclSettingHostNCApipaEndpoint(
@@ -526,8 +525,9 @@ func configureHostNCApipaEndpoint(
526
525
endpoint.Policies = append(endpoint.Policies, endpointPolicy)
527
528
+ // keep Apipa Endpoint gw as 169.254.128.1 to make sure NC to host connectivity work for both Linux and Windows containers
529
hcnRoute := hcn.Route{
530
- NextHop: hostApipaIP,
+ NextHop: hnsLoopbackAdapterIPAddress,
531
DestinationPrefix: "0.0.0.0/0",
532
533
0 commit comments