I am about to redo my server farm, which has about 30 machines managed by MAAS. Before I do this, I wanted to get some clarity on configuring the network settings properly, as I’ve always found this confusing, even if I try and follow the tutorials line for line. There seem to be some assumptions and/or missing information that I am missing.
I am using this as a reference:
Configuration of my MAAS rack+region controller:
4 network ports:
Eth0: Has static IP address from my university (XXX.XXX.238.9);
Also has a gateway of XXX.XXX.238.2
So I set that up, do all the apt-get updates, etc…
Now where I get confused… I have 3 other adapters…
Eth1: This is manually configured to 192.168.20.1 (no gateway set)
This “red” network connects to all of my IPMI ports on all of my machines; each machine has a static IP address for the IPMI network.
Eth2 (Black Network): 192.168.30.XXX This is the network I would like to use for PXE booting/setup
Eth3 (Yellow Network) 192.168.80.XXX This is my high speed network I use for connecting to my NAS
So initially, the black/yellow network have no IP address. I want MAAS to provide DHCP for both networks.
So I currently then reconfigure Eth3/Eth4 (Yellow/Black) and assign them each a STATIC Ip address ( 30.1 and 80.1 respectively).
So at this phase, should/do I also configure the network adapters to have a gateway ?? In the past, I’ve put in 30.1 and 80.1… On my latest installation, I avoided doing that.
So I was able to PXE boot, so I know I am on the right track. However I did not put an IP address for the gateway for the PXE network… should this be set to the static IP of the MAAS controller’s INTERNAL network (i.e. 192.168.30.1 ).
Also, I was able to deploy a machine with ubuntu… node1.maas.
I can ssh into the machine using ubuntu@192.168.28.1, however if I try and do nslookup node1or node1.maas on the maas headnode/server I can a NXDOMAIN. I realize this means my machine isn’t checking the MAAS DNS server, but I would have thought that when I enable DNS on the MAAS UI, it should/would automatically update the host machine so it can query/lookup these addresses locally.
I know the DNS service itself is running, because once I connect to node1 via it’s IP Address, I CAN do an NSLOOKUP from that machine, and it is able to resolve addresses on the 192.168.30.XX network.