Plain English

Sets the IPv4 subnet mask the Wi-Fi interface uses when DHCP is off. Ignored at boot when `WLAN DHCP ON` has been issued.

When to use

Together with WLAN IP + WLAN GATEWAY for static-IP deployments.

Syntax

WLAN NETMASK "<ipv4>"

Parameters

ParameterDescription
ipv4
Quoted dotted-quad subnet mask (e.g. "255.255.255.0").

Example

WLAN NETMASK "255.255.255.0"

Use a /24 subnet mask

Try it in the playground View all TSPL commands