troubleshoot route and dns #1862

Open
opened 2025-11-20 06:08:09 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @juju4 on GitHub (May 4, 2025).

Is your feature request related to a problem? Please describe.
On client side, there is netbird networks list but ip route does not get updated, be it from route or network netbird settings (client service restarted)
On dns, it does not seem there is a cli command, /etc/resolv.conf is unchanged with or without nameserver added in netbird web console.
Only tcptraceroute shows me to pass through netbird. traceroute pass through netbird and after not able to go further hops.
It seems netbird the default or at least higher priority route independently of what ip route returns.
Similarly if defining an exit node, don't see change on client side and not confirmed by tcptraceroute.
a netbird policy list would be nice, at least the ones for current client.
same for ios mobile (possibly android), we can see client ip but not dns or routes.

Describe the solution you'd like
Ideally, ip route results should include netbird routes.
Having route, dns in netbird status -d or separate command would be good too, along netbird policy list.

Describe alternatives you've considered
Currently, need manual testing to assert current configuration on client side or having access to netbird console which is more for admin users.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @juju4 on GitHub (May 4, 2025). **Is your feature request related to a problem? Please describe.** On client side, there is `netbird networks list` but `ip route` does not get updated, be it from route or network netbird settings (client service restarted) On dns, it does not seem there is a cli command, /etc/resolv.conf is unchanged with or without nameserver added in netbird web console. Only tcptraceroute shows me to pass through netbird. traceroute pass through netbird and after not able to go further hops. It seems netbird the default or at least higher priority route independently of what `ip route` returns. Similarly if defining an exit node, don't see change on client side and not confirmed by tcptraceroute. a `netbird policy list` would be nice, at least the ones for current client. same for ios mobile (possibly android), we can see client ip but not dns or routes. **Describe the solution you'd like** Ideally, `ip route` results should include netbird routes. Having route, dns in `netbird status -d` or separate command would be good too, along `netbird policy list`. **Describe alternatives you've considered** Currently, need manual testing to assert current configuration on client side or having access to netbird console which is more for admin users. **Additional context** Add any other context or screenshots about the feature request here.
saavagebueno added the feature-request label 2025-11-20 06:08:09 -05:00
Author
Owner

@nazarewk commented on GitHub (May 5, 2025):

To improve the maintainability of the solution, we are usinga non-default routing table 7120 to hold NetBird routing rules, see https://docs.netbird.io/how-to/troubleshooting-client#verifying-routing-configuration-on-the-linux-operating-system

Could you create a separate feature request for displaying policies on the client?

@nazarewk commented on GitHub (May 5, 2025): To improve the maintainability of the solution, we are usinga non-default routing table `7120` to hold NetBird routing rules, see https://docs.netbird.io/how-to/troubleshooting-client#verifying-routing-configuration-on-the-linux-operating-system Could you create a separate feature request for displaying policies on the client?
Author
Owner

@juju4 commented on GitHub (May 11, 2025):

Ah missed that.
I have nothing in table 7120 on a Raspbian-12 but this is a device that is only advertising network and not receiving some for now.

$ ip r | grep 100.xyz
100.xyz.0.0/16 dev wt0 proto kernel scope link src 100.xyz.119.14 
$ ip route show table 7120
Error: ipv4: FIB table does not exist.
Dump terminated
$ sudo ip route show table 7120
Error: ipv4: FIB table does not exist.
Dump terminated

It works on another peer which has Fedora-41.
No option for mobile/ios.
Created https://github.com/netbirdio/ios-client/issues/26
Make more accessible troubleshooting information: route, dns, eventually debug log

@juju4 commented on GitHub (May 11, 2025): Ah missed that. I have nothing in table 7120 on a Raspbian-12 but this is a device that is only advertising network and not receiving some for now. ``` $ ip r | grep 100.xyz 100.xyz.0.0/16 dev wt0 proto kernel scope link src 100.xyz.119.14 $ ip route show table 7120 Error: ipv4: FIB table does not exist. Dump terminated $ sudo ip route show table 7120 Error: ipv4: FIB table does not exist. Dump terminated ``` It works on another peer which has Fedora-41. No option for mobile/ios. Created https://github.com/netbirdio/ios-client/issues/26 Make more accessible troubleshooting information: route, dns, eventually debug log
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1862