Skip to main content

Agent Configuration - Network Interface Management

Configure DHCP or static IPv4 settings, Wi-Fi band, channel, and BSSID locks, and agent configuration file overrides on Network Agents.

Written by Panickos Neophytou

By default, NetBeez Network Agents start with DHCP enabled so they can obtain an IPv4 address automatically and connect to your NetBeez server. Once an agent is online, users with Read-write or Administrator permissions can configure static IPv4 settings—or lock wireless band, channel frequency, and BSSID—directly from the dashboard, or apply advanced overrides in the agent configuration file.

In this article:

Supported Agents and Precautions

  • Network Agents Only: The Configure Interface (or Configure Interfaces when multiple interfaces exist) tab is available on Network Agents. Remote Workers display their Wired, Wi-Fi, VPN, and read-only Cellular interfaces on Agent Details, while endpoint IP configuration stays managed by Windows or macOS.

  • Container (Docker) Agents: Do not push static IP settings from the dashboard to Docker container agents, whose network namespaces are managed by the container runtime.

  • Pause Tests Before Re-Addressing: Updating IP settings causes a brief reconnection while the interface reconfigures. NetBeez recommends pausing tests first via More (...) → Pause All Tests (see Agent Test Management) and resuming them after the agent reconnects on its new address.

  • Static IP Recovery: Double-check static IP, subnet mask, and gateway values before saving. If invalid IP settings leave a NetBeez hardware appliance unreachable, recover local connectivity using Reset Hardware Agent to DHCP.

Configuring a Wired Interface

  1. Open Agents → Network Agents, select the agent, click More (...) in the top-right header, and choose Edit.

  2. Select the Configure Interface (or Configure Interfaces) tab.

  3. In the left-hand Interface Configuration pane, select Wired (<interface>) (for example, Wired (eth0)). The panel header displays the interface name, MAC address, Vendor, and Model.

  4. Set the DHCP toggle to On (dynamic IPv4) or Off (static IPv4).

  5. When DHCP is Off, enter your static IPv4 settings:

    • IPv4 Address

    • Gateway

    • Subnet Mask

    • DNS Server 1

    • DNS Server 2 (optional)

    • Note: IPv6 Address and MTU are displayed as read-only reference values reported by the agent (see IPv6).

  6. Click Save Changes (or Cancel to revert).

Network Agent Configure Interfaces tab showing Wired interface DHCP toggle, IPv4 Address, Gateway, Subnet Mask, DNS servers, IPv6 Address, and MTU

Configuring a Wi-Fi Interface

  1. In Edit → Configure Interfaces, select Wi-Fi (<interface>) (for example, Wi-Fi (wlan0)) in the left-hand pane.

  2. Toggle DHCP to On or Off. When Off, populate IPv4 Address, Gateway, Subnet Mask, DNS Server 1, and optional DNS Server 2.

  3. Review the read-only Wi-Fi Profile (or Hopping Group) summary field. To attach or switch wireless networks, click Manage Wi-Fi Assignment to open the Manage Assignments tab (see Add and Edit Wi-Fi Profile and Add and Edit Hopping Group).

  4. When the agent is assigned to a single Wi-Fi Profile, you can optionally lock RF association parameters:

    • Band: Choose Auto, Force 2.4 GHz, Force 5.0 GHz, or Force 6.0 GHz. (Choosing a forced band disables Channel Frequency; leave Band set to Auto if you want to pin a specific channel.)

    • Channel Frequency: Leave on No channel preference or search and select a specific 2.4 GHz, 5.0 GHz, or 6.0 GHz channel/frequency (selecting a specific channel disables Band).

    • BSSID: Leave blank for automatic AP selection, or enter a specific access point MAC address to lock the sensor to one BSSID.

  5. Click Save Changes.

Network Agent Configure Interfaces tab showing Wi-Fi DHCP toggle, Manage Wi-Fi Assignment button, Band, BSSID, and Channel Frequency settings

Hopping Group Lock Behavior: When a wireless agent is assigned to a Wi-Fi Hopping Group, DHCP is forced On (Agents in Hopping Groups require DHCP enabled.) and per-interface static IP, Band, BSSID, Channel Frequency, and Save Changes controls are disabled so the sensor can rotate cleanly across multiple SSIDs.

Overriding Reported Public IP on Cloud Agents

Cloud instances (such as AWS EC2, Azure, or GCP VMs behind 1:1 NAT) often bind a private VPC IPv4 address on eth0. If you run multi-agent scheduled tests—such as Iperf or VoIP—targeting that cloud agent from external sites, you can override the IP address reported for the interface in the agent configuration file:

  1. SSH to the cloud agent host and open /etc/netbeez/netbeez-agent.conf (or /usr/local/netbeez/nbagent_info_prod.txt on older builds).

  2. Add an interface key mapped to the instance's real public IPv4 address inside the JSON object:

    {"host":"<your-netbeez-server>","secure_port":"20018","eth0":"<PUBLIC_IPV4_ADDRESS>"}
  3. Restart the agent service:

    sudo systemctl restart netbeez-agent

Overriding Control and Test Interfaces

On multi-homed Linux hosts—for example, a sensor with both eth0 and wlan0, multiple Ethernet NICs, or tunnel interfaces—the agent normally selects the wired interface (eth0) as its control interface (for server communication) and the wireless interface (wlan0) as its default test interface.

To explicitly pin which interfaces the agent uses, edit /etc/netbeez/netbeez-agent.conf (or /usr/local/netbeez/nbagent_info_prod.txt):

  • Explicit Control & Test Interfaces (evaluated first): Specify both"control_interface" and "test_interface" (if only one is set, it is ignored; both can reference the same NIC if desired):

    {"control_interface":"wlan0","test_interface":"eth0","host":"<your-netbeez-server>","secure_port":"20018"}
  • Restricting Visible Interfaces (evaluated if control_interface/test_interface are omitted): Define an "interfaces" allowlist array so the agent ignores unrelated virtual or management NICs and selects control/test roles only from that list:

    {"interfaces":["eth0","wlan0"],"host":"<your-netbeez-server>","secure_port":"20018"}

Restart netbeez-agent (sudo systemctl restart netbeez-agent) after saving changes.

Did this answer your question?