[GH-ISSUE #2395] Windows client connection breaks every ten seconds because of a detected network change #5050

Open
opened 2026-08-05 01:01:02 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @trgaming on GitHub (Aug 5, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2395

Describe the problem

The connection from a Windows client is not working properly. The client connects and soon after looses its connection because of a detected network change.

Expected behavior

The wrong network change is not detected.

Are you using NetBird Cloud?

selfhosted

NetBird version

0.28.7

Additional context

The connections gets broken because a network change is detected. The interface "LAN-Verbindung* 3" is the Microsoft Wi-Fi Direct Virtual Adapter which is repsonsible for wifi sharing. I do not understand why Netbird detects this interface for the gateway 10.0.0.1.

I tried to uninstall this interface and then the connnection works perfectly fine but windows installs this device again at the next startup.

netbird up --network-monitor=false solves the problem as well.

route print output:
Schnittstellenliste
13...30 e1 71 27 6a f2 ......Realtek PCIe FE Family Controller #2
2...2a 56 5a 44 66 1b ......Microsoft Wi-Fi Direct Virtual Adapter
4...28 56 5a 44 66 1b ......Microsoft Wi-Fi Direct Virtual Adapter #2
17...28 56 5a 44 66 1b ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
1...........................Software Loopback Interface 1

2024-08-05T21:52:24+02:00 DEBG [nameservers: [{100.123.250.18 udp 53}]] client/internal/dns/server.go:548: reactivate temporary disabled nameserver group
2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:111: configured 100.123.255.254:53 as main DNS forwarder for this peer
2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:149: added 1 match domains to the state. Domain list: [.intern.anon-cjTcc.domain]
2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:176: updated the search domains in the registry with 1 domains. Domain list: [intern.anon-cjTcc.domain]
2024-08-05T21:52:25+02:00 INFO client/internal/dns/upstream.go:252: upstreams [100.123.250.18:54] are responsive again. Adding them back to system
2024-08-05T21:52:25+02:00 DEBG [nameservers: [{100.123.250.18 udp 54}]] client/internal/dns/server.go:548: reactivate temporary disabled nameserver group
2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:111: configured 100.123.255.254:53 as main DNS forwarder for this peer
2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:149: added 2 match domains to the state. Domain list: [.wawi-srv.anon-LiZOa.domain .intern.anon-cjTcc.domain]
2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:176: updated the search domains in the registry with 1 domains. Domain list: [intern.anon-cjTcc.domain]
2024-08-05T21:52:30+02:00 DEBG client/internal/engine.go:1429: received management probe request, healthy: true
2024-08-05T21:52:30+02:00 DEBG client/internal/engine.go:1421: received signal probe request, healthy: true
2024-08-05T21:52:31+02:00 DEBG util/net/dialer_nonios.go:114: Dialer resolved IPs for nw.anon-cjTcc.domain:3478: [{198.51.100.3 }]
2024-08-05T21:52:31+02:00 DEBG client/internal/relay/relay.go:66: stun probe received address from stun:nw.anon-cjTcc.domain:3478: 198.51.100.4:49223
2024-08-05T21:52:31+02:00 INFO client/internal/networkmonitor/monitor_windows.go:159: network monitor: default route for 10.0.0.1 (LAN-Verbindung* 3) is gone or changed
2024-08-05T21:52:32+02:00 INFO client/internal/engine.go:1520: Network monitor detected network change, restarting engine
2024-08-05T21:52:32+02:00 INFO client/internal/engine.go:252: Network monitor: stopped

Originally created by @trgaming on GitHub (Aug 5, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2395 **Describe the problem** The connection from a Windows client is not working properly. The client connects and soon after looses its connection because of a detected network change. **Expected behavior** The wrong network change is not detected. **Are you using NetBird Cloud?** selfhosted **NetBird version** `0.28.7` **Additional context** The connections gets broken because a network change is detected. The interface "LAN-Verbindung* 3" is the Microsoft Wi-Fi Direct Virtual Adapter which is repsonsible for wifi sharing. I do not understand why Netbird detects this interface for the gateway 10.0.0.1. I tried to uninstall this interface and then the connnection works perfectly fine but windows installs this device again at the next startup. `netbird up --network-monitor=false` solves the problem as well. `route print` output: Schnittstellenliste 13...30 e1 71 27 6a f2 ......Realtek PCIe FE Family Controller #2 2...2a 56 5a 44 66 1b ......Microsoft Wi-Fi Direct Virtual Adapter 4...28 56 5a 44 66 1b ......Microsoft Wi-Fi Direct Virtual Adapter #2 17...28 56 5a 44 66 1b ......Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter 1...........................Software Loopback Interface 1 2024-08-05T21:52:24+02:00 DEBG [nameservers: [{100.123.250.18 udp 53}]] client/internal/dns/server.go:548: reactivate temporary disabled nameserver group 2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:111: configured 100.123.255.254:53 as main DNS forwarder for this peer 2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:149: added 1 match domains to the state. Domain list: [.intern.anon-cjTcc.domain] 2024-08-05T21:52:24+02:00 INFO client/internal/dns/host_windows.go:176: updated the search domains in the registry with 1 domains. Domain list: [intern.anon-cjTcc.domain] 2024-08-05T21:52:25+02:00 INFO client/internal/dns/upstream.go:252: upstreams [100.123.250.18:54] are responsive again. Adding them back to system 2024-08-05T21:52:25+02:00 DEBG [nameservers: [{100.123.250.18 udp 54}]] client/internal/dns/server.go:548: reactivate temporary disabled nameserver group 2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:111: configured 100.123.255.254:53 as main DNS forwarder for this peer 2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:149: added 2 match domains to the state. Domain list: [.wawi-srv.anon-LiZOa.domain .intern.anon-cjTcc.domain] 2024-08-05T21:52:25+02:00 INFO client/internal/dns/host_windows.go:176: updated the search domains in the registry with 1 domains. Domain list: [intern.anon-cjTcc.domain] 2024-08-05T21:52:30+02:00 DEBG client/internal/engine.go:1429: received management probe request, healthy: true 2024-08-05T21:52:30+02:00 DEBG client/internal/engine.go:1421: received signal probe request, healthy: true 2024-08-05T21:52:31+02:00 DEBG util/net/dialer_nonios.go:114: Dialer resolved IPs for nw.anon-cjTcc.domain:3478: [{198.51.100.3 }] 2024-08-05T21:52:31+02:00 DEBG client/internal/relay/relay.go:66: stun probe received address from stun:nw.anon-cjTcc.domain:3478: 198.51.100.4:49223 2024-08-05T21:52:31+02:00 INFO client/internal/networkmonitor/monitor_windows.go:159: network monitor: default route for 10.0.0.1 (LAN-Verbindung* 3) is gone or changed 2024-08-05T21:52:32+02:00 INFO client/internal/engine.go:1520: Network monitor detected network change, restarting engine 2024-08-05T21:52:32+02:00 INFO client/internal/engine.go:252: Network monitor: stopped
saavagebueno added the clientwindowsnetworking labels 2026-08-05 01:01:02 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#5050