vpp-manager: disable punting NAs toward the host#940
Merged
Conversation
932ffa1 to
f2f6a6e
Compare
This patch prevents neighbor advertisements from being punted toward the host. The expectation is that linux will issue NS that will hit NDproxy, thus we should consume NAs in VPP, and learn neighbors, but not transmit the packets to linux. This is especially useful in the case where we loose the node IP (e.g. when dhcpv6 lease renewal fails), as forwarding NAs destined to the nodeIP to linux with a default route towards VPP will result in VPP learning neighbors on the tap0 instead of the uplink. We also include an evolution in ND proxy that removes the need to allowlist destination IPs that VPP will reply to. That way we can have the guarantee that all next hops in linux will be the MAC address of the Gateway, regardless of the routing on the node. Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
aritrbas
approved these changes
Mar 11, 2026
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.
This patch prevents neighbor advertisements from being punted toward the host. The expectation is that linux will issue NS that will hit NDproxy, thus we should consume NAs in VPP, and learn neighbors, but not transmit the packets to linux.
This is especially useful in the case where we loose the node IP (e.g. when dhcpv6 lease renewal fails), as forwarding NAs destined to the nodeIP to linux with a default route towards VPP will result in VPP learning neighbors on the tap0 instead of the uplink.
We also include an evolution in ND proxy that removes the need
to allowlist destination IPs that VPP will reply to. That way
we can have the guarantee that all next hops in linux will
be the MAC address of the Gateway, regardless of the routing
on the node.