1. vi /etc/hostname, change to the hostname 2. yum instal dhcp after step 2, you should be able to ping your hostname.