In Ubuntu Desktop, when you establish a connection to the Netbird Mesh it shows "wt0" in the VPN Quick Settings. Clicking on that will disconnect the node from the mesh, but the connection in the Netbird Daemon shows as still connected, and the wt0 interface is still present when you execute ip -br a
To Reproduce
Steps to reproduce the behavior:
Perform fresh install of Ubuntu 24.04 (other version may work as well)
Setup netbird using curl -fsSL https://pkgs.netbird.io/install.sh | sh && netbird up --admin-url https://example.org:443 --management-url https://api.example.org:443 --setup-key $SETUPKEY
Confirm the mesh is up with netbird status (looking for Management: Connected and Signal: Connected) and ip -br a (looking for wt0 UNKNOWN 100.64.0.0/16)
Confirm that Network Manager believes the mesh is up with nmcli con show (looking for wt0)
Run nmcli con down wt0
Confirm the mesh is still considered "up" with netbird status (looking for Management: Connected and Signal: Connected) and ip -br a (looking for wt0 UNKNOWN - note that the IP address has disappeared)
Note that Network Manager believes the mesh is down with nmcli con down (wt0 has disappeared)
Run netbird down
Confirm the mesh is considered "down" with netbird status (looking for Management: Disconnected and Signal: Disconnected) and ip -br a (wt0 has disappeared)
Run netbird up
Confirm the mesh is up with netbird status (looking for Management: Connected and Signal: Connected) and ip -br a (looking for wt0 UNKNOWN 100.64.0.0/16)
Confirm that Network Manager believes the mesh is up with nmcli con show (looking for wt0)
Expected behavior
If nmcli or the quick settings tile change the state of the connection in Network Manager, reflect the change of state in the Netbird daemon
Are you using NetBird Cloud?
Self hosted
NetBird version
netbird version: 0.30.3
NetBird status -dA output:
Omitted, happy to provide if further diagnosis suggests it is needed.
Do you face any (non-mobile) client issues?
Omitted, happy to provide if further diagnosis suggests it is needed.
Describe the problem
In Ubuntu Desktop, when you establish a connection to the Netbird Mesh it shows "
wt0
" in the VPN Quick Settings. Clicking on that will disconnect the node from the mesh, but the connection in the Netbird Daemon shows as still connected, and thewt0
interface is still present when you executeip -br a
To Reproduce
Steps to reproduce the behavior:
curl -fsSL https://pkgs.netbird.io/install.sh | sh && netbird up --admin-url https://example.org:443 --management-url https://api.example.org:443 --setup-key $SETUPKEY
netbird status
(looking forManagement: Connected
andSignal: Connected
) andip -br a
(looking forwt0 UNKNOWN 100.64.0.0/16
)nmcli con show
(looking forwt0
)nmcli con down wt0
netbird status
(looking forManagement: Connected
andSignal: Connected
) andip -br a
(looking forwt0 UNKNOWN
- note that the IP address has disappeared)nmcli con down
(wt0
has disappeared)netbird down
netbird status
(looking forManagement: Disconnected
andSignal: Disconnected
) andip -br a
(wt0
has disappeared)netbird up
netbird status
(looking forManagement: Connected
andSignal: Connected
) andip -br a
(looking forwt0 UNKNOWN 100.64.0.0/16
)nmcli con show
(looking forwt0
)Expected behavior
If
nmcli
or the quick settings tile change the state of the connection in Network Manager, reflect the change of state in the Netbird daemonAre you using NetBird Cloud?
Self hosted
NetBird version
netbird version
:0.30.3
NetBird status -dA output:
Omitted, happy to provide if further diagnosis suggests it is needed.
Do you face any (non-mobile) client issues?
Omitted, happy to provide if further diagnosis suggests it is needed.
Screenshots
Screencast from 2024-10-30 22-27-12.webm
Additional context
Initially raised in Slack - recommended to raise here.