Diagnosing Hostname Problems
The netadmin user is the preferred way of configuring networking
The preferred way of administering any of the appliance network configuration is to use the netadmin user account. The netadmin user account enables you to change network, hostname and gateway settings without requiring root privileges. You can also use the netadmin user to reboot the appliance.
CentOS 6 only
This page only applies to CentOS 6 based appliances running BMC Discovery 11.3. The eth0 requirement is no longer the case for BMC Discovery running on CentOS 7.
To set the hostname locally
If you want the appliance to use the same hostname for all NICs, set the hostname in the
If you want to use different hostnames for individual NICs, set the hostname in the
X is the number of the interface, for example
Add the following line to the file:
london01 is the new hostname.
If you do not have a DNS entry for the host, or you require a failsafe when DNS is unavailable, enter the hostname and FQDN in the
etc/hosts file. Use the appliance IP address if it is unlikely to change, or a loopback IP address other than
127.0.0.1 (which can interfere with the resolution of
The following example uses
london01 as the hostname,
london.com as the domain name, and 192.168.0.100 as the IP address. Add only one of the example entries.
The following example uses the same host and domain names as above and shows commands to enter to ensure that the hostname is set correctly: