{{define "content"}} {{with .Data}} {{$e := .Errors}}
Interfaces {{range .Devices}}{{end}}
InterfaceKindUsed as
{{.Name}}{{.Kind}}{{if .Role}}{{.Role}}{{else}}unused{{end}} {{if .Removable}}{{end}}

Add a VLAN (a tagged network on one of the interfaces); it is then offered below.

System {{with index $e "hostName"}}{{.}}{{end}} {{with index $e "domain"}}{{.}}{{end}}

Optional. The router answers for it, publishes DHCP reservations in it, and clients get it as their search domain, so nas finds nas.home.example.org.

Uplink (WAN) {{with index $e "wan.interface"}}{{.}}{{end}}

PPPoE only:

{{with index $e "wan.pppoe.username"}}{{.}}{{end}} {{with index $e "wan.pppoe.password"}}{{.}}{{end}}
LANs {{with index $e "lans"}}

{{.}}

{{end}} {{range $i, $l := .Form.LANs}} {{range $f := list "name" "interface" "address" "prefix" "poolStart" "poolEnd"}}{{with index $e (printf "lans[%d].%s" $i $f)}}{{end}}{{end}} {{end}}
NameInterfaceAddressPrefixInternet accessIPv6DHCPPool startPool endRemove
{{if $l.Name}}{{end}}
{{$f}}: {{.}}

Fill in the last row to add a LAN. Other LAN settings (zones, a fixed IPv6 address) are kept; edit them under Advanced.

{{end}} {{end}}