Environment
- MAAS installation method: Snap
- Interface with PXE enabled: ens160 (fabric-0)
- 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:
arvani@arvani:~$ maas sasan vlan update fabric-2 0 boot_mode=pxe
usage: maas [-h] COMMAND ...
argument COMMAND: invalid choice: 'sasan'
I’m stuck at creating a proper MAAS profile to use the CLI commands:
maas login sasan http://localhost:5240/MAAS/api/2.0
(I’m still working through the API key generation process)
Configuration Details
Network Interfaces
NAME | PXE | LINK/INTERFACE SPEED | TYPE | FABRIC | SUBNET | IP ADDRESS | DHCP |
---|---|---|---|---|---|---|---|
ens160 | ✓ | 10 Gbps/10 Gbps | Physical | fabric-0 | 172.31.60.112/29 | 172.31.60.119 | No DHCP |
ens192 | 10 Gbps/10 Gbps | Physical | fabric-2 | 172.31.64.0/29 | 172.31.64.2 | MAAS-provided |
Subnet Configuration for 172.31.64.0/29
- Managed allocation: Enabled
- Active discovery: Enabled
- Proxy access: Enabled
- Allow DNS resolution: Enabled
- Gateway IP: 1.1.1.1
- DNS: 1.1.1.1 2.2.2.2
Questions
- How can I enable PXE boot on my ens192 interface (fabric-2)?
- Is this configured at the VLAN level, and if so, where exactly in the web interface?
- What’s the proper way to use the MAAS CLI to enable this (correct syntax for creating profile and enabling PXE)?
- Is there a configuration file I can edit directly to enable this setting?
Any help would be greatly appreciated. I need both interfaces to support PXE booting for my deployment scenario.
Screenshots
I’ve attached screenshots showing:
- Services status (all running)
- Network interfaces configuration showing PXE enabled only on ens160
- Subnet configuration for 172.31.64.0/29
Thank you in advance for your assistance!