I deployed MAAS 3.3 by snap. My MAAS has 1 region + 5 racks. 1 region + 5 racks are working on different network segments.
I set “IP mode” as “DHCP” for my machines. The DHCP server is managed by MAAS.
I stopped network hardwares for maintenance. The network connection between region and racks was disconnected.
As a result, every DHCP services on rack nodes were stopped. I confirmed it by “maas status” command. And deployed machines lost its IP addresses after lease time.
The DHCP services and machine’s IP addresses were fixed after I booted network hardwares.
I hope that DHCP services will continue to work even if the network connection between region and racks is disconnected.
Is there any solution?
I think that one of the solutions is “preparing external dhcp on each network segments”. But it seems that the external dhcp is not recommended.
Or, can I extend lease time of DHCP service managed by MAAS?
(I wouldn’t like to set “IP mode” as “Static”. It is hard to manage IP addresses.)
This documentation presupposes that MAAS-managed DHCP is used to enlist and commission machines. Using an external DHCP server for enlistment and commissioning may work, but note that this is not supported. MAAS cannot manage an external DHCP server, nor can it keep leases synchronised when you return a machine to the pool.