I follow instalation from here wiki.ubuntu.com/ServerTeam/MAAS and
I decide to do something like this:
And on MaaS server i install dnsmasq and make it DHCP server.
I leave this blank. And in etc/network/interface I have this:
And on nodes there is no connection outside local network. Like server is blocking traffic but it has internet connection.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet dhcp