networking vs. VirtualBox

Marko Vojinovic vvmarko at gmail.com
Thu Aug 18 00:22:13 UTC 2011


On Thursday 18 August 2011 01:04:40 Michael Hennebry wrote:
> Thanks folks.
> 
> Now /etc/sysconfig/network-scripts/network-scripts looks like this:
> DEVICE="eth0"
> BOOTPROTO="dhcp"
> HWADDR="08:00:27:D2:4E:D1B"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> to match that of my host system.
> Previously, BOOTPROTO was not there and ONBOOT was "no".
> I also used
> chkconfig --add network
> to start the network service.
> 
> I now have a guest that can be pinged from outside its host.

If you use the network service, I suggest disabling NetworkManager for the 
guest, "chkconfig NetworkManager off" followed by "service NetworkManager stop".

Also, modify the NM_CONTROLLED to "no", since NetworkManager is not supposed 
to control this device. To make sure that the network service is turned on 
automatically at boot, "chkconfig network on". That should be it for network 
configuration of the guest. ;-)

HTH, :-)
Marko



More information about the users mailing list