Network settings

Out of the box, a Qb device gets its address from a DHCP server and is reachable under the hostname qb2-ABC123XYZ, where ABC123XYZ is the serial number printed on its label. The device supports IPv4 and IPv6 and serves the WebGUI, ONVIF and the RTSP stream on both. In a browser, put an IPv6 address in square brackets, for example https://[fd00::42]/.

You change the network settings in the WebGUI under Configuration > Network Setup, in the Network panel on the left. The panel on the right is Time synchronization.

A wrong network setting can make the device unreachable. Validate every change before you apply it.
Network panel with Device name, DHCP, Link local address, IPv4 and IPv6 settings and the Validate buttons
Figure 1. The Network panel

Change the network settings

  1. In the sidebar, click Configuration > Network Setup.

  2. Change the settings in the Network panel.

  3. Click Validate.

    The device tries the new settings for a moment. If it gets an address, a bar above the buttons shows Received IP address: with the address, Validate turns into Validated and Validate & Apply turns into Apply. If the validation fails, the WebGUI shows the error and the second button turns into a red Apply anyway.

    Bottom of the Network panel with the bar Received IP address: 192.168.1.42/16 above the buttons Validated and Apply
    Figure 2. After a successful validation
  4. Click Apply to store the settings.

Validate & Apply does both steps in one click: it validates the settings and only applies them if the validation succeeds.

The applied settings are stored on the device and stay active after a reboot. If the new settings give the device another address or hostname, the browser loses the connection. Open the WebGUI again at the new address.

Any change in the panel discards the result of an earlier validation. The buttons stay disabled while a field holds an invalid value, for example an IP address in the wrong format.

The validation can only check part of the settings. With DHCP it checks that the device receives an IPv4 address.

A static IP address cannot be validated. Check it before you apply it.

Device name

Device name is the hostname of the device in the network. Click the name to edit it. If the field is empty, the device uses qb2- followed by its serial number.

The name may contain letters, digits, dots, hyphens and underscores.

After you apply a new name, the device is reachable under the new name, for example https://<new name>.local/, if your network resolves it. The device provides its hostname to the DHCP server and announces it over mDNS. Whether a computer can resolve it depends on DNS or mDNS in the network and on its operating system. Where it cannot, open the WebGUI with the IP address the DHCP server assigned, for example https://192.168.1.42/.

Network modes

The device takes its address in one of three ways. Each has its own switch in the Network panel.

Mode Switch Use it when

DHCP

Automatic IP address (DHCP)

The network has a DHCP server. On by default.

Static address

IPv4 settings, IPv6 settings

The network has no DHCP server, or the device needs a fixed address.

Link-local address

Link local address

A computer is connected directly to the device, without a DHCP server. On by default.

DHCP

Automatic IP address (DHCP) gets an IPv4 or IPv6 address from the DHCP server of the network. The device also takes IPv6 addresses from the router advertisements of the network.

Tooltip of the Automatic IP address (DHCP) setting
Figure 3. Hover over the question mark to see what a setting does

Static address

In a network without a DHCP server, set a static address under IPv4 settings or IPv6 settings.

Switch on IPv4 settings or IPv6 settings to show their fields:

Setting IPv4 IPv6

IPv4 address, IPv6 address

The static address, for example 192.168.1.42.

The static address including the prefix length, for example fd00::42/64.

Netmask

The prefix length of the subnet, a number from 0 to 32. For the subnet mask 255.255.255.0, enter 24.

Part of the address.

Gateway

The address of the router, for example 192.168.1.1.

The address of the router.

DNS server

The address of one DNS server.

The address of one DNS server.

IPv4 settings switched on with IPv4 address 192.168.1.42, Netmask 24, Gateway 192.168.1.1 and DNS server 192.168.1.1
Figure 4. IPv4 settings switched on

Switching IPv4 settings or IPv6 settings off clears its fields.

DHCP and a static address can be on at the same time. The device then uses the static address if it gets no address from the DHCP server.

The WebGUI sets one address and one DNS server per IP version, and has no fields for 802.1X network authentication. The API accepts lists of addresses and DNS servers, sets 802.1X in the authentication field of Network, switches DHCPv6 apart from IPv4 DHCP (dhcp6) and stops the device from taking addresses from router advertisements (accept_router_advertisements); see the network guide. Applying the Network panel replaces the whole network configuration: settings it has no field for return to their defaults.

Link local address lets the device pick an address from the reserved link-local range by itself: 169.254.0.0/16 for IPv4 and fe80::/10 for IPv6. The device uses its IPv4 link-local address only while it gets no address from a DHCP server or DHCP is off.

A static IPv6 address always comes with an IPv6 link-local address, even when Link local address is off.

Fallback IP address

Every Qb device also answers at 192.168.26.26 in the subnet 255.255.255.0 (/24) on its Ethernet interface, whatever its other settings are. Use it to correct the settings when the device cannot be reached otherwise. Do not use it in operation: every device has the same fallback address, so several devices in one network conflict.

  1. Connect your computer directly to the Ethernet port of the device, or to the same switch.

  2. Give your computer the static address 192.168.26.25 with the subnet mask 255.255.255.0.

  3. In your browser, open https://192.168.26.26/ and sign in.

  4. Correct the settings under Configuration > Network Setup.

Troubleshooting

Validate fails although the settings are right

With DHCP, the DHCP server has to assign an address; check it. If you are sure about the settings, Apply anyway stores them without a successful validation.

System in System > Diagnostics warns Network connectivity might be limited.

The link runs below 1 Gbit/s, or the device has not applied its network settings within 60 s, typically because DHCP is on and no DHCP server answers. Check the cable, the switch port and the DHCP server, or switch DHCP off and set a static address. The diagnostics report names the cause.