We will create a dynamic IP range on your lab subnet and enable MAAS DHCP on the untagged VLAN. This is essential for PXE and deployment.
maas admin subnets read | jq -r '.[] | [.name, .cidr, .vlan.fabric_id, .vlan.id] | @tsv' | column -t
maas admin ipranges create type=dynamic start_ip=192.168.123.190 end_ip=192.168.123.253
# find your rack hostname
maas admin rack-controllers read | jq -r '.[].hostname'
# enable DHCP (example uses fabric 2 and rack 'wintermute')
maas admin vlan update 2 untagged dhcp_on=true primary_rack=wintermute
MAAS uses DHCP to hand out addresses during commissioning and deployment. Without a dynamic range, DHCP cannot be enabled.
Do not run another DHCP server on the same VLAN. If your router serves DHCP there, use a separate lab VLAN or disable the router DHCP.