By default, hosts provisioned with vSphere Auto Deploy are assigned DHCP addresses by a DHCP server. You can use the vSphere Auto Deploy host customization mechanism to assign static IP addresses to hosts.
Before you begin
Set up your vSphere Auto Deploy environment.
Boot the host using vSphere Auto Deploy.
Extract a host profile from the host.
- In the vSphere Web Client, navigate to the vCenter Server that manages the vSphere Auto Deploy host, select Policies and Profiles, and select Host Profiles.
- Right-click the extracted host profile and click Edit Settings.
- Use the default name and description and click Next.
- Change the default IP address settings by clicking .
- From the IPv4 address drop-down menu, select User specified IP address to be used while applying the configuration.
- If the host is in a different subnet than the vCenter Server system, select and enter the default route in the Default IPv4 gateway text box.
- Select .
- Make sure the Flag indicating if DHCP should be used check box is deselected.
- Right-click the host and select .
- Select the profile to attach and click Next.
- Provide the IP address and net mask and click Finish.
- Reboot the ESXi host.
The IP address is saved as a host customization and applied to the host.