Skip to content
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

Fix IPv6 link-local address can't work in VRF #3280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

link19430
Copy link
Contributor

@link19430 link19430 commented Sep 6, 2024

What I did

Add/Delete IPv6 link-local route to me in VRF when VRF add/delete to trap packet to CPU

Why I did it

The IPv6 link-local address can't work in VRF.
The packet which ip destination is IPv6 link-local address would be dropped.
The root cause is that there is not route to me for the IPv6 link-local address on VRF

How to verify it

Ping the IPv6 link-local address of DUT via the interface which is added in VRF

@prsunny
Copy link
Collaborator

prsunny commented Sep 23, 2024

There is a link-local subnet route to cpu. Why do you see link-local is not working?

@link19430 link19430 force-pushed the AddLinkLocalRouteToMeOnVRF branch 2 times, most recently from 2009e17 to 0f9ad52 Compare September 30, 2024 08:37
@link19430
Copy link
Contributor Author

Current link-local subnet route to cpu works only for default VRF.

addLinkLocalRouteToMe(gVirtualRouterId, linklocal_prefix);

addLinkLocalRouteToMe(gVirtualRouterId, default_link_local_prefix);

Add/Delete IPv6 link-local route to me in VRF when VRF add/delete to trap packet to CPU
@@ -0,0 +1,94 @@
#include "fdborch.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these test changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants