-
Notifications
You must be signed in to change notification settings - Fork 549
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
base: master
Are you sure you want to change the base?
Conversation
There is a link-local subnet route to cpu. Why do you see link-local is not working? |
2009e17
to
0f9ad52
Compare
Current link-local subnet route to cpu works only for default VRF. sonic-swss/orchagent/routeorch.cpp Line 147 in 3c230d2
sonic-swss/orchagent/routeorch.cpp Line 154 in 3c230d2
|
45e44f4
to
0f9ad52
Compare
Add/Delete IPv6 link-local route to me in VRF when VRF add/delete to trap packet to CPU
0f9ad52
to
fc17a42
Compare
@@ -0,0 +1,94 @@ | |||
#include "fdborch.h" |
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.
What are these test changes?
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.
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.
I believe the purpose of these test changes is to fix the compilation error in the p4Orch/tests directory.
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