I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in /etc/sysconfig/network. I also set the DHCP_HOSTNAME value in /etc/sysconfig/network-scripts/ifcfg-eth0 and rebooted the system.The problem is I cannot ping this machine from another arbitrary computer. I keep getting messages saying that the host doesn't exist.What are some typical ways that a machine on DHCP gets its hostname tied to its ip address so that it will resolve? Is there a way to send the DHCP server my hostname?
Hostname won't resolve after setting up new server
centos;networking;dhcp