Appendix C: MAAS Network Ranges

As noted earlier, in Installing and Configuring Ubuntu, a /22 or wider network on the internal port is desirable, because this provides more addresses that are assigned more flexibly than with smaller networks. Specifically, MAAS splits the internal network into three parts:

  • A reserved space, from which you can assign addresses manually. The MAAS server itself should be in this space. You might also use this space for other permanent infrastructure on the network, such as switches or other necessary servers. If you assign static IP addresses to your BMCs, their addresses would either come out of this space or be on another network block entirely.

  • A dynamic (DHCP) space, which MAAS manages so that it can temporarily address servers when enlisting and commissioning them. Depending on your needs, your BMCs and even deployed nodes may be assigned via DHCP, too.

  • An automatic space, which is a range of addresses that MAAS assigns to nodes. MAAS configures these nodes to use static addresses, not DHCP; but although the static addresses will survive reboots, they are likely to change between deployments.

In the MAAS subnet configuration page, the reserved and dynamic spaces are explicitly defined. Any address that does not fall into either of those spaces is part of the automatic space.

The following table shows how the setup-certlab script described in this document splits up a /22, a /23, and a /24 network, starting with 172.24.124.1, between these three purposes. You can adjust the ranges after they’ve been set up by using the MAAS web UI, as described earlier, in Checking the MAAS Configuration, should the need arise. If you use a network block starting at something other than 172.24.124.1, the exact IP addresses shown in the table will be adjusted appropriately.

Purpose

/22 network

/23 network

/24 network

Reserved

172.24.124.1 - 172.24.124.255

172.24.124.1 - 172.24.124.50

172.24.124.1 - 172.24.124.9

Dynamic

172.24.125.0 - 172.24.125.255

172.24.124.51 - 172.24.124.255

172.24.124.10 - 172.24.124.127

Assigned Automatically

172.24.126.0 - 172.24.127.254

172.24.125.0 - 172.24.125.254

172.24.124.128 - 172.24.124.254