When you install the minimal installtaion of CentOS 6.4 there are no eth0 in ifconfig
Simple and on-time way to do this is to run this command:
# dhclient -v eth0
But if you want a permament solution, edit the eth0 script file:
/etc/sysconfig/network-scripts/ifcfg-eth0
with these parameters:
ONBOOT=yes
BOOTPROTO="dhcp"
and restart the machine, you should have eth0 pulling dhcp address everytime you reboot.
No comments:
Post a Comment