Plain English

Sets the default-gateway IPv4 address the Wi-Fi interface routes traffic through when DHCP is off. Ignored at boot when `WLAN DHCP ON` has been issued.

When to use

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

Syntax

WLAN GATEWAY "<ipv4>"

Parameters

ParameterDescription
ipv4
Quoted dotted-quad IPv4 address of the default gateway.

Example

WLAN GATEWAY "192.168.1.1"

Route traffic via 192.168.1.1

Try it in the playground View all TSPL commands