I am using 16.04 Ubuntu and MAAS 2.1.2, So I have setup two MAAS servers that failover to each other. Everything is working how is should. The only problem is, you have to manually reset the gateway on failover. If one server goes away and that server was set in the GUI to be the gateway for the private network to use for DHCP/PXE, nodes won't be able to get out to the internet unless you manually reset the IP to the gateway of the server that is still active.
Is there any sort of mechanized way to switch the gateway on fail over? Maybe some sort of network change/route? I could script the change on failover with a MAAS command, but I would like to avoid this.