RHEL / CentOS / Fedora Linux DHCP Client Configuration

This is a quick guide to configure the DHCP Clinent for RHEL / CentOS / Fedora.
I’m using CentOS 6.5

RHEL / CentOS / Fedora Linux DHCP Client Configuration
Open configuration file, enter:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Append hostname, enter:

DHCP_HOSTNAME=ComputerName

Save and close the file. Restart network service:

# service network restart

Please refer to dhclient.conf man page for more information, enter:

$ man dhclient.conf

The above information is Pasted from http://www.cyberciti.biz/faq/howto-get-linux-static-dhcp-address

I am a Senior System Administrator that work daily with Virtualization,Xenserver, Linux, IT automation, Ansible,Windows, Active Directory, Exchange and a lot more. Here you will find tips and trix from early junior, middle junior and senior to unique information of the topics I mentioned earlier. If you need help with something do not hesitate to contact me I will gladly help.

Tagged with: , , ,