Skip to content

need to skip binding dev to ipip tunnel when node's advertising address is on loopback interface #780

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

Closed
tamihiro opened this issue Sep 9, 2019 · 1 comment

Comments

@tamihiro
Copy link
Contributor

tamihiro commented Sep 9, 2019

Still working on the same scenario as 778, I've got gobgp to be able to establish peers with my patch #777. However nodes are still unreachable to each other through the ipip tunnel interface. I have recognized network_routes_controller.go creates ipip tunnel with device name set to nrc.nodeInterface, which prevents the tunnel from working when tunnel source address is on loopback interface.

Below is an example of non-working tunnel.

8: tun-192168014@lo: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 65496 qdisc noqueue state UNKNOWN group default qlen 1000

I have submtted another PR #779. With this patch ipip tunnel is created without being bound to loopback interface, like below.

8: tun-192168014@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1460 qdisc noqueue state UNKNOWN group default qlen 1000

I'd appreciate your review on this one in addition to my previous PRs.

@aauren
Copy link
Collaborator

aauren commented Oct 31, 2022

Fixed via #779

@aauren aauren closed this as completed Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants