Host - Guest Networking

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kaycee
Posts: 1
Joined: 27. Feb 2013, 15:05

Host - Guest Networking

Post by kaycee »

I installed Virtualbox 4.2 on my Windows 7 64-bit Ultimate host. After deployment I added a RHEL 6.1 64-bit virtual machine on VirtualBox.

Now, I need to ssh to the RHEL machine from my Windows 7 host. I added a Host only network to the virtual machine and set the IP to be procured via DHCP for the Guest. Somehow, my guest is able to ping and connect to my Windows 7 host but not vice versa. There is no way I could connect to my RHEL 6 guest via SSH despite disabling firewall and trying other troubleshooting steps.

Here's my host system network info:
Host_IP.jpg
Host_IP.jpg (124.35 KiB) Viewed 445 times
My guest somehow picks an IP address in 10.0.2.x network:
Host_IP.jpg
Host_IP.jpg (124.35 KiB) Viewed 445 times
Let me know if any more information is required. And I'll be glad to provide the same.
Attachments
rhel61.jpg
rhel61.jpg (124.25 KiB) Viewed 445 times
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Host - Guest Networking

Post by noteirak »

It looks like you've configured your Guest to use NAT.
Either forward ports to the guest in the Virtualbox config or switch to Host-Only / Bridged, depending on your needs.
More info can be found in the User Manual on the specifics of the network modes.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply