If you have hosts in your environment that use custom entries, or if you want to use NAT IPv4 addresses for your hosts, this topic provides instructions for configuring these settings.
Manage Custom Host Entries in /etc/hosts
If you identify hosts in your environment that need custom entries, you can add custom entries for your hosts in the /etc/hosts.user file.
To add custom host entries:
- From the console, log in to the host on which to define custom entries.
- Add the custom entry to the /etc/hosts.user file.
To update or refresh a custom entry in /etc/hosts:
Run the following command:
nw-manage --refresh-host --host-key <ID, IP, hostname or display name of host>
Manage Public or NAT IPv4 Addresses for Hosts
To add or update public or Network Address Translation (NAT) IPv4 addresses for NW Hosts, run the following command:
nw-manage --update-host --host-id <NW Server Host UUID> --ipv4-public <IP address>