How to configure DHCP on CentOS / RHEL
For example we need configure DHCP client on eth0 for getting dynamic IP’ 1. Start editing /etc/sysconfig/network-scripts/ifcfg-eth0 file using text editor: # vi /etc/sysconfig/network-scripts/ifcfg-eth0 Sample configuration: HWADDR=your MAC address DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes Save and close just edited ifcfg-eth0 file 2.… Continue Reading