Network is unreachable on Centos

  • Thread starter Thread starter redglove
  • Start date Start date
R

redglove

I have a virtual box setup of Centos 6. I , for now, am trying to configure it to be a dhcp not static ip address. On ifconfig eth0, it is not obtaining an ip4 address at all.

On /etc/sysconfig/network:
Code:
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.1.1
On /etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE="eth0"
BOOTPROTO="dhcp'
NETMASK="255.255.255.0"
GATEWAY="192.168.1.1"
HWADDRESS='08:00:27:cb:1f:bf"
nmcONTROLLED="yes"
ONBOOT="yes"
TYPE="ethernet"
I'm able to ping 127.0.0.1 but cant even ping my router 192.168.1.1:(

Continue reading...
 
Back
Top