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

Exclusion routes are not re-evaluated on interface changes #437

Open
ekoby opened this issue Jul 7, 2022 · 2 comments
Open

Exclusion routes are not re-evaluated on interface changes #437

ekoby opened this issue Jul 7, 2022 · 2 comments

Comments

@ekoby
Copy link
Member

ekoby commented Jul 7, 2022

Exclusion routes (to controllers and edge routers) should be re-created when interfaces change

@qrkourier
Copy link
Member

Potentially related issues in #398 and #389

@nirmal0522
Copy link

Initially, the device has 2 internet connections up and running via gateways 192.168.6.1 and 192.168.4.1 where 192.168.6.1 is the active (preferred) default route
The tunneler starts and adds an entry to the routing table that effectively pins all traffic going to the public edge router and controller via the currently preferred default route.
34.106.77.247 via 192.168.6.1 dev eth1
174.129.210.139 via 192.168.6.1 dev eth1
A curl fetch to another endpoint hosted service is successful.
The primary internet link through 192.168.6.1 fails and mwan3 on the OpenWrt Linux host switches the preferred default gateway from 192.168.6.1 to 192.168.4.1 (around 75 seconds after the tunneler starts – see timestamps in square brackets).
All subsequent TCP connections from the tunneler end up getting lost because of the pinned routing table entries pointing to a now unreachable gateway (as seen from the logs and the timeout in reaching the service which was previously reachable)

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

No branches or pull requests

3 participants