Unable to connect Host and Guest VM

Discussions about using Linux guests in VirtualBox.
Post Reply
efends
Posts: 2
Joined: 20. Mar 2015, 05:27

Unable to connect Host and Guest VM

Post by efends »

Hi Gurus,

I'm newbie to Virtual Box and need some guidance.
I had following IPv4 for Virtual Box Host only Network on my Host machine running on windows 7
192.168.56.1

I'm trying to connect my host and guest VM by setting the network to Bridged Adapter and got following IPv6

eth0 Link encap:Ethernet HWaddr 08:00:27:3A:FB:1D
inet6 addr: fe80::a00:27ff:fe3a:fb1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7446 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1246495 (1.1 MiB) TX bytes:3042 (2.9 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1414 errors:0 dropped:0 overruns:0 frame:0
TX packets:1414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:95916 (93.6 KiB) TX bytes:95916 (93.6 KiB)

then trying to ping 192.168.56.1 from my guest VM but got message Network is unreachable.
The guest VM is running OEL 6.4

Appreciate any helps to resolve this issue.

Regards,
efends
efends
Posts: 2
Joined: 20. Mar 2015, 05:27

Re: Unable to connect Host and Guest VM

Post by efends »

Hi Gurus,

I'm able to connect to guest VM from Host now.
But unable to do so from guest VM to Host, the network interface only shown ip address for NAT adapter (10.0.2.15) but no ip address shown for Host only Adapter

Regards,
Fendy
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Unable to connect Host and Guest VM

Post by Perryg »

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Unable to connect Host and Guest VM

Post by Perryg »

Moving to Linux guest.
Post Reply