Page 2 of 2

Re: Unable to connect linux 7 guest from windows 7 host

Posted: 8. Sep 2015, 16:24
by Sameer
I have tried checking the check box "Cable Connected" as well but i get the same "Network Error-Connection Refused Error.

But i have observed that the DHCP option is coming as"Enabled" although i had deselected it in the Preference--->host-only Network section.
Can that possibly cause an issue? if Yes, how can i turn it off

C:\virtualbox_SR>VBoxManage list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 0f5ac351-924c-492b-89e4-715422260ee7
DHCP: Enabled
IPAddress: 192.168.56.101
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:701b:7194:82bd:e301
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter


kind regards
sameer

Re: Unable to connect linux 7 guest from windows 7 host

Posted: 8. Sep 2015, 16:34
by Perryg
If you have uncheck the dhcp server in preference you may need to make sure that everything VBox is completely shut down for at least 20 seconds. It may be better to simply reboot the host.

But keep in mind if you uncheck the cable connection it is the same as pulling the network cable and it will never work that way.

Re: Unable to connect linux 7 guest from windows 7 host

Posted: 11. Sep 2015, 12:06
by Sameer
Hi,

I have tried all the above options but still no luck :(

kind regards
sameer

Re: Unable to connect linux 7 guest from windows 7 host

Posted: 11. Sep 2015, 13:22
by Sameer
hi All,

If you have any other suggestions, kindly let me know.

regards
sameer

Re: Unable to connect linux 7 guest from windows 7 host

Posted: 11. Sep 2015, 18:12
by noteirak
In your last screenshots I see that the host-only interface in the host is configured with the same IP as the NIC in the guest. If that's still the case, it's not going to work...

Remove ALL Host-Only interfaces on your host, then create just a single one. DO NOT change any IP settings on the host.
Reconfigure the guest to use that new host-only.
Start the guest again and configure a static IP that ends in .2 in the guest using the same subnet as the IP which is configured automatically on the host.
Now try to ping the host from the guest, and the guest from the host.