-
Notifications
You must be signed in to change notification settings - Fork 54
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
route configuration cleanup and fixes #94
Conversation
84f571c
to
662691d
Compare
IPv4 route validationAL2 results for comparison AL2023: Address and route config
AL2:
Routes to gatewaysAL2023:
AL2:
routes to IMDSAL2023:
AL2:
device-number-0 subnet peer with device-number-1 src ipAL2023:
AL2:
device-number-1 gateway from device-number-0 src ipAL2023:
AL2: Note This is broken on AL2! Should be routed via device-number-0, aka eth0!
|
IPv6 route validationAddress and route configAL2023:
AL2:
Routes to gatewaysNote that AL2023 configures different metrics here to ensure that the AL2023:
AL2:
routes to IMDSAL2023:
AL2:
device-number-0 subnet peer with device-number-1 src ipValidate that traffic is routed via device-number-1 per policy rules. AL2023:
AL2:
device-number-1 subnet peer from device-number-0 src ipAL2023:
AL2: Note AL2 is broken here. This traffic from the device-number-0 IP
|
Previously the code would disable errexit in a certain block, and then unconditionally re-enable it at the end, regardless of whether it had originally been enabled. This change ensures that it's only re-enabled if it originally had been.
Install routes from DHCP in the main table with increasing metrics Install static routes in secondary tables Formatting changes to the generated config drop-in for readability Fixes: 33b68bb ("Install prefix routes in private tables")
662691d
to
c04b3e5
Compare
Issue #, if available: n/a
Description of changes:
This change adds a rule for ENI traffic egressing with the primary NIC's address in the source field. This was left out previously in keeping with AL2's behavior, but leads to traffic loss.
Test results will follow in the comments.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.