Good morning to all,
I have installed Centos 6.7 x86 64 on a Virtual Machine. It is not the first time I'm using this virtual machine...I have already installed a Windows xp 32 bit system, and a Centos 7 with graphical interfac system, and they both connected as well. This time I can't start a connection. In the virtual machine I set the parameters on "NAT" and "Connected Cable", and here I report my inux configurations:
Configure eth0
#
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.8.171
NETMASK=255.255.255.0
Configure Default Gateway
#
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos6
GATEWAY=192.168.8.3
Restart Network Interface
#
/etc/init.d/network restart
Configure DNS Server
#
vi /etc/resolv.conf
nameserver 8.8.8.8
" I've copied this parameters from a website guide. Anyway, I tried also setting NM_CONTROLLED=no and ONBOOT=no, but nothing works.
Even if I try to pinging google by the command
ping www.google.it
it doesn't work.
Any suggestions?