Learn how to set up a network in the cluster using Prism. The networks you create in the steps below provide VMs with connectivity by assigning the appropriate networks for the VMs’ respective NICs.
AHV simplifies networking. Typically, nodes are connected with a trunked VLAN such that multiple VM networks can be surfaced into the environment.
With AHV, you can also setup a DHCP server to automatically provide IP addresses for VMs using the IP address management (IPAM) service.
In this exercise, we intentionally use an invalid VLANs so no communication is possible from VMs placed on the network.
Note
This exercise is for demonstration purposes only. VMs connected to networks other than vlan 0 get a DHCP IP, but the network is not valid and does not transmit any traffic.
Connect to Prism Central and create a network for user VM interfaces. Use any VLAN other than 0, and do not enable IP address management.
In Prism Central > Explore, click VMs, then click Network Config
Next click VM Networks, then click + Create Network.
Fill out the following fields and click Save:
The final result should look like the image below.
Create another network, but this time enable IPAM.
Fill out the following fields and click Save:
Note
It is possible to create multiple pool ranges for a network.