Interface with DHCP running but no PXE: ens192 (fabric-2)
Problem Description
I’m managing a MAAS deployment where I have two network interfaces:
ens160 (on fabric-0) with PXE enabled but DHCP disabled (“No DHCP”)
ens192 (on fabric-2) with DHCP enabled (“MAAS-provided”) but no PXE boot option
I need to enable PXE booting on the ens192 interface (fabric-2) which already has DHCP running, but I can’t find where to enable this setting. When I look at the subnet configuration for 172.31.64.0/29, I don’t see any PXE options.
What I’ve Tried
1. Checking Services Status
Initially had an issue with the temporal service, but that’s now resolved:
arvani@arvani:~$ sudo snap services maas
Service Startup Current Notes
maas.pebble enabled active -
2. Using MAAS CLI
Attempted to use the CLI to enable PXE on fabric-2:
MAAS can’t magically enable PXE on your machine. MAAS provides DHCP, and if you are using IPMI or redfish and you manage the machine through MAAS, your machine will be instructed to PXE boot. Still, it depends on your BIOS/UEFI settings as it will use the first NIC if you already have DHCP with MAAS running on that VLAN. You might be able to disable PXE from the first interface on your BIOS/UEFI settings still
According to my settings, I set up DHCP on the second interface and there is a VLAN between this MAAS and my client, which is fully connected. You are saying that it is not possible to receive DHCP requests through the second port?! Did I understand correctly? And this cannot be changed?!
yes i do try pxe with the second nic,i compare the mac address that show on boot page and it is same with my target machine that connected with mass on second nic!
You have the wrong boot interface set on MAAS. You have to boot the machine from that interface first, or create the machine with that interface as boot interface
Thanks, but this MAAs configuration is convoluted and absolutely insane! Our test lab is very elementary considering, and to set MAAS up is a PITA really; considering we deployed cobbler and foreman in several of our environments with little to no issues - and Foreman is not trivial to set up ;).
Ubuntu MAAS seems like a nice idea, but it seems like its designed by people that really have no IT experience at all. Ill give it a couple more years and see where its at and try again.
Sorry, but I removed it and will just keep using what we have in place.
I think I also had the same problem since I upgraded to MAAS 3.6.0.
Since, to be as simple as possible, I had removed one interface, keeping only one interface, in the provisioning VLAN (default / native VLAN on the switch ports).
With tcpdump, I can see DHCP DISCOVER comming AND DHCPOFFER sent, but the network Interface does nothing.
I can(t tell if it receviced something or not. It can be droped between my MAAS VM (VMware) and the baremetal server.
I use a trunk portgroup on VMware, and a tagged VLAN interface on my VM.
It worked with 3.5…