I have a server running Redhat 7. I used to have a static IP on cable, but my ISP(@home) decided to switch over to DHCP(those bastards). Anyway, I have been trying to setup my external interface(eth0) to use DHCP instead of a static IP. The problem is that there must be something wrong with my configuration of the /etc/sysconfig/network-scripts/ifcfg-eth0 file because everytime I try to bring up that interface with "./ifup eth0" this is what I get:
Determining IP information for eth0.... Operation Failed.
Here is my configuration for eth0:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
HOSTNAME=xxxxxx #hostname givin by ISP
By the way, I have read all the How-To docs and my setup is basically setup along the same lines as what is metioned in the docs and it still does not work. I checked my system and dhcpcd(dhcp client) is installed and running fine. The eth0 interface was working fine when it was static. Please Help me if you can. Any Help is appreciated. Thanks.....
Determining IP information for eth0.... Operation Failed.
Here is my configuration for eth0:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
HOSTNAME=xxxxxx #hostname givin by ISP
By the way, I have read all the How-To docs and my setup is basically setup along the same lines as what is metioned in the docs and it still does not work. I checked my system and dhcpcd(dhcp client) is installed and running fine. The eth0 interface was working fine when it was static. Please Help me if you can. Any Help is appreciated. Thanks.....