Host to Guest Networking without physical network connected
Posted: 30. Dec 2008, 18:09
Hi Folks,
I'am working with VirtualBox for about two months and I am very happy.
There is just on thing that I would like to have solved as itis frustrating me. I am sure I just misunderstood some settings in VirtualBox.
I have a Mac OS X running with VirtualBox in version 2.0.6 (is the newest one at this time). On this Mac I have installed Eclipse as a Development tool (and some other needful things). In the VirtualMachine I installed a Debian Core 4 system which is runing like a charm.
My Problem: The network
I attached three Adapters from the VirtualBox GUI to the machine.
1. is a NAT Adapter
2. is a Host interface connected to Ethernet (LAN)
3. is a Host interface connected to AirPort (WLAN)
The Guest can access all internet sources, no problem, but the network between the Host and the Guest is not working. Not working means I cannot access any port on the Guest. The only solution I found is to setup a PortForwarding. E.g. local TCP HostPort 8888 to TCP GuestPort 80. This does allow me to access the Port 80 on the Guest system by starting with "localhost:8888".
When i have a network connected to the Mac interface, I can ping the Guest IP that is got from my DHCP server in the network. So the Host interface setting as setup in 2. and 3. is working. But if the Mac is disconnected - without any network connection (I want to prog in OTRS even if there is no network connection available (in the Hotel, on the Airport, whereever ...)) - then I have no chance to access my Guest machine beside this PortForwarding thing ...
But this is anoying .... Is there no easy way to just setup a Host <-> Guest network?
Thanks a lot for your help!
((enjoy))
Cheers, Nils
www.otrs.com / www.otrs.org
I'am working with VirtualBox for about two months and I am very happy.
There is just on thing that I would like to have solved as itis frustrating me. I am sure I just misunderstood some settings in VirtualBox.
I have a Mac OS X running with VirtualBox in version 2.0.6 (is the newest one at this time). On this Mac I have installed Eclipse as a Development tool (and some other needful things). In the VirtualMachine I installed a Debian Core 4 system which is runing like a charm.
My Problem: The network
I attached three Adapters from the VirtualBox GUI to the machine.
1. is a NAT Adapter
2. is a Host interface connected to Ethernet (LAN)
3. is a Host interface connected to AirPort (WLAN)
The Guest can access all internet sources, no problem, but the network between the Host and the Guest is not working. Not working means I cannot access any port on the Guest. The only solution I found is to setup a PortForwarding. E.g. local TCP HostPort 8888 to TCP GuestPort 80. This does allow me to access the Port 80 on the Guest system by starting with "localhost:8888".
When i have a network connected to the Mac interface, I can ping the Guest IP that is got from my DHCP server in the network. So the Host interface setting as setup in 2. and 3. is working. But if the Mac is disconnected - without any network connection (I want to prog in OTRS even if there is no network connection available (in the Hotel, on the Airport, whereever ...)) - then I have no chance to access my Guest machine beside this PortForwarding thing ...
But this is anoying .... Is there no easy way to just setup a Host <-> Guest network?
Thanks a lot for your help!
((enjoy))
Cheers, Nils
www.otrs.com / www.otrs.org