Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cns/hnsclient/hnsclient_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ func configureHostNCApipaEndpoint(
}

networkContainerApipaIP := localIPConfiguration.IPSubnet.IPAddress
hostApipaIP := localIPConfiguration.GatewayIPAddress
protocolList := []string{protocolICMPv4, protocolTCP, protocolUDP}

endpointPolicies, err := configureAclSettingHostNCApipaEndpoint(
Expand All @@ -526,8 +525,9 @@ func configureHostNCApipaEndpoint(
endpoint.Policies = append(endpoint.Policies, endpointPolicy)
}

// keep Apipa Endpoint gw as 169.254.128.1 to make sure NC to host connectivity work for both Linux and Windows containers
hcnRoute := hcn.Route{
NextHop: hostApipaIP,
NextHop: hnsLoopbackAdapterIPAddress,
DestinationPrefix: "0.0.0.0/0",
}

Expand Down
Loading