Bridge to use Apache
Posted: 16. Mar 2013, 19:35
I run a Win 7 system with a CentOS 6.3 inside VirtualBox. On CentOS there is an apache, which I want to access in my host system. Moreover, I want to have an internet connection in my virtual machine. I am struggling and can't find out how to do this.
My VirtualBox is of version 4. 2. 10. I configured it to use bridged mode, as I read this is the right way to do this. In my linux guest system, I gave eth0 a static IP address. In the global settings of VirtualBox, there is a VirtualBox Host-only Ethernet Adapter with DHCP disabled. I can also see this device in my Windows network configurations. Is it normal to have it as a host-only adaptor?
With the current setup, I cannot ping my virtual machine (destination host unreachable) and from my guest I cannot ping google. com. Help very much appreciated.
My VirtualBox is of version 4. 2. 10. I configured it to use bridged mode, as I read this is the right way to do this. In my linux guest system, I gave eth0 a static IP address. In the global settings of VirtualBox, there is a VirtualBox Host-only Ethernet Adapter with DHCP disabled. I can also see this device in my Windows network configurations. Is it normal to have it as a host-only adaptor?
With the current setup, I cannot ping my virtual machine (destination host unreachable) and from my guest I cannot ping google. com. Help very much appreciated.