Override route if its already exists on the routing table of client #295

Closed
opened 2025-11-20 05:09:16 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @sachinpk on GitHub (Mar 15, 2023).

Is your feature request related to a problem? Please describe.
We have a bunch of hosts with a public and private network (174.20.0.0/16). We are using self-hosted Netbird and connected all hosts to it using the public network. Host A (174.20.0.2) is isolated from our network (174.20.0.0/16) due to some issues happened in the network. We have created a route on Netbird to route traffic to host A through another host B (174.20.0.3).The route that we have added to the Netbird is not getting applied on all hosts since the route to 174.20.0.0/16 is already there on all hosts.

When we inspected the logs on all hosts, we could see the following warning

level=warning msg="skipping adding a new route for network 174.20.0.2/32 because it already exists and is pointing to the non default gateway: 174.20.0.3" file="systemops.go:24"

Describe the solution you'd like
It would be better if there is an option to apply the route even though there is a route existing for subnet

Originally created by @sachinpk on GitHub (Mar 15, 2023). **Is your feature request related to a problem? Please describe.** We have a bunch of hosts with a public and private network (174.20.0.0/16). We are using self-hosted Netbird and connected all hosts to it using the public network. Host A (174.20.0.2) is isolated from our network (174.20.0.0/16) due to some issues happened in the network. We have created a route on Netbird to route traffic to host A through another host B (174.20.0.3).The route that we have added to the Netbird is not getting applied on all hosts since the route to 174.20.0.0/16 is already there on all hosts. When we inspected the logs on all hosts, we could see the following warning ``` level=warning msg="skipping adding a new route for network 174.20.0.2/32 because it already exists and is pointing to the non default gateway: 174.20.0.3" file="systemops.go:24" ``` **Describe the solution you'd like** It would be better if there is an option to apply the route even though there is a route existing for subnet
saavagebueno added the waiting-feedback label 2025-11-20 05:09:16 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Jun 19, 2023):

The PR #945 fixes it and it will be available in the next release.

@mlsmaycon commented on GitHub (Jun 19, 2023): The PR #945 fixes it and it will be available in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#295