Jump to content

Featured Replies

Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...