-
Notifications
You must be signed in to change notification settings - Fork 37
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
Where does raven0 link gets its parentIndex? #138
Comments
Also seems when there isn't such an error ("error get vxlan parent"...), seems the code path is not triggered and ParentIndex is 0 as well. |
Why your default route is point to a vxlan interface?usually it will point to |
ah... I think it's due to our customization, on our edge side, nodes can't talk to each other with their private ip directly; we have to rely on vxlan; that should be why I think I should just customize it further and do not check parent index of the vxlan? seems it's just never set. Not sure if doing this for raven also makes sense through; the other approach is to set parent index during vxlan creation |
@suyuee I'm not sure if vxlan(
can you open a pr to fix it ? |
Thanks for the insights, will open a pr for it. (kinda busy recently, but will do once I get a chance) Btw, we don't use vxlan over vxlan, but just using raven vxlan fwiw |
I noticed in our setup the wireguard fails to set up properly sometimes. due to
So the problems is the parent index is 0;
code pointer:
raven/pkg/networkengine/routedriver/vxlan/utils.go
Lines 261 to 266 in 3197c5d
But it seems when creating the vxlan link, the code doesn't actually specify a parentIndex here:
raven/pkg/networkengine/routedriver/vxlan/vxlan.go
Lines 264 to 274 in 3197c5d
When searching the netlink repo, I don't see the parentIndex field set for vxlan links (not sure if it's https://github.com/vishvananda/netlink/blob/77df5d35f725f10c8ca5f5552c95782fd639b46c/link_linux.go#L2098)
Any thoughts? Thanks in advance
The text was updated successfully, but these errors were encountered: