-
Notifications
You must be signed in to change notification settings - Fork 21
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
VPP neighbor table is not updated properly in case of IP or MAC address change #853
Comments
Reproduction steps:
What would be the side effect of setting dynamic neighbors (instead of static) at interface creation when initializing the forwarder? |
@ljkiraly |
@glazychev-art Yes, the dynamic neighbor setup helps. Thanks. |
Hi @glazychev-art, Could you please explain, how VPP is supposed to learn about neighbors? I'm curious because in one of our system (dualstack-cluster with IPv6 "primary" IPs), one VPP instance started by the forwarder was not informed about a certain neighbor at start. So, the missing entry is not visible with the static flag among the the neighbors in vppctl. However, there's also no dynamic entry for the particular IP. And it actually causes traffic problems because vxlan encapsulation fails. Tracing shows drop with Thanks in advance. |
I think the ingress ACL filters set by the forwarder might be wrong for IPv6. Instead of ICMPv6 Type the Code fields are set: https://github.com/networkservicemesh/cmd-forwarder-vpp/blob/main/internal/vppinit/acl.go#L111
|
Hi @glazychev-art, I fixed the IPv6 ingress ACL rules to use Type instead of Code fields. With those changes, ICMPv6 Neighbor Advertisements were accepted, and dynamic neighbor resolution started to work. |
Hi @zolug I think we can close this issue |
…k-vpp@main PR link: networkservicemesh/sdk-vpp#853 Commit: 0702bd9 Author: Network Service Mesh Bot Date: 2024-09-27 05:48:04 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk-kernel@main (#853) PR link: networkservicemesh/sdk-kernel#681 Commit: 19add25 Author: Network Service Mesh Bot Date: 2024-09-27 05:44:16 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/sdk@main (#681) PR link: networkservicemesh/sdk#1670 Commit: b66e1bf Author: Nikita Skrynnik Date: 2024-09-27 17:37:34 +0700 Message: - Add more mutexes in dial chain element to fix race conditions (#1670) * some minor change * add more locks --------- Signed-off-by: NSMBot <[email protected]>
When we use an OVS interface on the host, the IP and MAC address can change at worker node restart.
In such cases it will not stored in VPP neighbor table which causes issues at restart (address resolution does not work).
It occurs with NSM version 1.6.2 and 1.8.0 too.
The text was updated successfully, but these errors were encountered: