OPNSense DHCP and Netboot with Canonical MAAS

Started by oldercrow, March 27, 2025, 05:20:42 PM

Previous topic - Next topic
I have an OPNSense 25.1 running DHCP on a simple 192.168.10.1 network and was using the OPNSense also as a netboot/pxe server. In trying to setup Canonical MAAS you either have to turn off DHCP from OPNsense and let MAAS provide DHCP or you can keep the DHCP in OPNsense but you have to then setup the the netboot options in Services->ISC DHCPv4->LAN->netboot.

I am unable to get machines to netboot with this combination, but was wondering if anyone else has tried this?

Right now I'm trying to narrow down if I have the settings right in at least one side of this equation either in OPNSense or MAAS.

I was able to get this working by providing DHCP from the OPNSense with the pxelinux.0 in legacy and grubx64.efi in 64 netboot options. I am running a python based web server on the OPNSense to serve the cloud-init file and also the Ubuntu image for install which is working fine.

After that, the MAAS controller has a second nic and serves all it's DHCP to a second network under 192.68.2.0/24.

Here is a configuration list of of everything that had to be true on the OPNSense: