# /etc/systemd/network/wlan0.network

[Match]
Name=wlan0

[Network]
Address=192.168.31.111/24
Gateway=192.168.31.1
DNS=8.8.8.8
DNS=8.8.4.4
IPForward=yes