Nutanix Home Lab

Here’s a compact “do-this-on-every-host” checklist you can keep handy. It matches the bring-up baseline established on NU-01.

Check it 

virsh autostart $(virsh list --name)

0) Fill in the per-host IPs

  • NU-01: AHV 172.16.16.101, CVM 172.16.16.201
  • NU-02: AHV 172.16.16.102, CVM 172.16.16.202
  • NU-03: AHV 172.16.16.103, CVM 172.16.16.203
  • NU-04: AHV 172.16.16.104, CVM 172.16.16.204
  • Gateway (VLAN16): 172.16.16.1
  • Core switch SVI: 172.16.16.1
  • Edge router: 10.0.0.1 (uplink), Core: 10.0.0.2

1) Verify CVM State

virsh list --all
virsh domstate $(virsh list --name)
virsh autostart $(virsh list --name)

Expected: CVM is running and autostarted.

2) Verify Bridge IP

ip -4 addr show br0

Expected: Should show 172.16.16.10x/24.

3) Configure Default Route via Gateway

Create a persistent default route for br0:

echo 'default via 172.16.16.1 dev br0' > /etc/sysconfig/network-scripts/route-br0

Verify the bridge comes up with a static IP (must show ONBOOT=yes and BOOTPROTO=none):

grep -E '^(ONBOOT|BOOTPROTO|IPADDR|PREFIX|NETMASK|GATEWAY)=' /etc/sysconfig/network-scripts/ifcfg-br0 || true

Apply network changes (expect a brief blip):

systemctl restart network || service network restart

Verify immediately:

ip route | grep ^default
ip route get 8.8.8.8
ping -c3 172.16.16.1
ping -c3 10.0.0.2
ping -c3 10.0.0.1
ping -c3 8.8.8.8

4) OVS and Link Sanity

ovs-vsctl list-ports br0
ip -br link show eth0 br0
ethtool eth0 | egrep 'Speed|Duplex|Link detected'

Expected: ovs-vsctl shows eth0 vnet0 vnet2. Link is up, 1000Mb/s (or better), full duplex, link detected: yes.

5) Configure DNS Resolvers (Temporary)

printf "search lab.local\nnameserver 1.1.1.1\nnameserver 8.8.8.8\n" > /etc/resolv.conf

6) L3 Reachability Tests

for t in 172.16.16.1 10.0.0.2 10.0.0.1 8.8.8.8; do
  echo "== $t =="; ping -c3 -W1 $t || true
done

Expected: All 4 destinations reply.




7) DNS Resolution Tests

getent hosts google.com
getent hosts portal.nutanix.com

Expected: Both return IPs (no "Could not resolve host" errors).

8) (Optional) ARP and Gateway Path

arping -I br0 -c3 172.16.16.1
ip neigh show dev br0 | grep 172.16.16.1 || true

Expected: Unicast replies from the gateway; ARP entry shows REACHABLE/STALE.

9) (Optional) Quick CVM Check from AHV

CVMIP=172.16.16.20X # Replace with the actual CVM IP of your host
ping -c3 -W1 $CVMIP

Expected: Replies from the local CVM.


10) One-Shot "All Checks" Verification

Copy and paste this block for a fast pass/fail output test:

echo "[1] IP & route"; ip -4 addr show br0 | sed -n 's/ *inet //p'; ip route get 8.8.8.8
echo "[2] OVS ports"; ovs-vsctl list-ports br0
echo "[3] Link"; ip -br link show eth0 br0; ethtool eth0 | egrep 'Speed|Duplex|Link detected'
echo "[4] Pings"; for t in 172.16.16.1 10.0.0.2 10.0.0.1 8.8.8.8; do echo -n "$t "; ping -c2 -W1 $t >/dev/null && echo OK || echo FAIL; done
echo "[5] DNS cfg"; printf "search lab.local\nnameserver 1.1.1.1\nnameserver 8.8.8.8\n" > /etc/resolv.conf; cat /etc/resolv.conf
echo "[6] DNS test"; getent hosts google.com || echo FAIL; getent hosts portal.nutanix.com || echo FAIL

Result: If every section shows expected outputs, the NU-0x host matches the baseline and is ready for cluster creation.