[GH-ISSUE #1743] Peer network range posture check also takes into account IP address from disconnected network adapters #3169

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

Originally created by @karstennilsen on GitHub (Mar 22, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1743

Describe the problem

Peer network range posture check also takes into account IP address from disconnected network adapters.
This is a problem because e.g. on Windows clients WLAN adapters that lose their connection keep their previous DHCP address.

To Reproduce

  1. Creata a peer network range posture check that blocks: 10.0.31.0/24
  2. Assign to a disabled adapter an IP address of 10.0.31.77
  3. VPN connectivity get's blocked by posture check

Expected behavior

Only connected apapters taken into account. (Maybe even only connected adapters that are used for IP routing?)

Are you using NetBird Cloud?

No

NetBird version
0.26.3

Screenshots

(Verbroken means disconnected in Dutch)
image_2024-03-22_11-14-55

Originally created by @karstennilsen on GitHub (Mar 22, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1743 **Describe the problem** Peer network range posture check also takes into account IP address from disconnected network adapters. This is a problem because e.g. on Windows clients WLAN adapters that lose their connection keep their previous DHCP address. **To Reproduce** 1. Creata a peer network range posture check that blocks: 10.0.31.0/24 2. Assign to a disabled adapter an IP address of 10.0.31.77 3. VPN connectivity get's blocked by posture check **Expected behavior** Only connected apapters taken into account. (Maybe even only connected adapters that are used for IP routing?) **Are you using NetBird Cloud?** No **NetBird version** 0.26.3 **Screenshots** (Verbroken means disconnected in Dutch) ![image_2024-03-22_11-14-55](https://github.com/netbirdio/netbird/assets/8917480/67a70c3c-8e4f-4aff-86a2-7a9af0210969)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3169