-
Notifications
You must be signed in to change notification settings - Fork 260
change apipa endpoint gateway back to .1 #3653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts the APIPA endpoint gateway change on Windows to use the loopback adapter IP, ensuring that the gateway value is restored to .1 to resolve the NC-to-host connectivity issue.
- Removed the assignment of hostApipaIP using localIPConfiguration.GatewayIPAddress.
- Updated the hcnRoute to use hnsLoopbackAdapterIPAddress for the NextHop field.
Comments suppressed due to low confidence (2)
cns/hnsclient/hnsclient_windows.go:509
- The removal of hostApipaIP assignment is acceptable if hnsLoopbackAdapterIPAddress consistently represents the intended '.1' gateway. Please verify that hnsLoopbackAdapterIPAddress is defined and maintained correctly across the codebase.
hostApipaIP := localIPConfiguration.GatewayIPAddress
cns/hnsclient/hnsclient_windows.go:529
- Ensure that hnsLoopbackAdapterIPAddress reliably holds the correct gateway IP (.1) as mandated by the revert. Confirm this change aligns with the overall host container networking requirements.
NextHop: hnsLoopbackAdapterIPAddress,
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
QxBytes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed w/ zetao that new endpoints have "endpoint gateway addr" as .1 and existing endpoints can retain their "endpoint gateway addr" as .2 without issue
* change apipa endpoint gateway back to .1 * lint fix * add comment
Reason for Change:
revert the apipa endpoint gw change to .1 to resolve the nc to host connection issue in Linux contianer. This does not impact the initial change for changing the apipa network gw and loop adapter defualt gw from .1 to .2 on host.
Issue Fixed:
Requirements:
Notes:
This fix already been verified by updating the legacy runner cns with this fix for both windows and linux containers.