route configuration cleanup and fixes#94
Merged
Conversation
84f571c to
662691d
Compare
Contributor
Author
IPv4 route validationAL2 results for comparison AL2023: Address and route configAL2: 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! |
Contributor
Author
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 |
kemotaha
approved these changes
Sep 19, 2023
vigh-m
approved these changes
Sep 21, 2023
added 2 commits
September 21, 2023 15:00
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.