I just need to be able to call service on client from host and vice versa, unfortunately I just can't make it work.
Host: Windows 7 Professional
Client: Windows 7 Professional with Guest Additions 4.3
I've set up a host-only network.
Host ipconfig:
Ethernet adapter Ethernet:
Link-local IPv6 address . . . : fe80::2901:db57:33a3:d585%11
IPv4 Address: 192.168.1.150
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.250
Ethernet Virtualbox Host-only Network:
Link-local IPv6 address . . . : fe80::c4f6:a7be:24ae:59e7%13
IPv4 Address . . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . . :
...
Client ipconfig:
IPv4 Address: 192.168.56.101
Subnet Mask: 255.255.255.0
Default Gateway:
...
The firewall on client is turned off, and there is no antivirus. When I try to ping the host from client, it says
ping 192.168.56.1
Reply from 192.168.56.101: Destination host unreachable
Similar message appears when pinging client from host. I'd like to ask what could the problem be. I'd be thankful for any advice.
EDIT: route print
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.250 192.168.1.150 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.150 266
192.168.1.150 255.255.255.255 On-link 192.168.1.150 266
192.168.1.255 255.255.255.255 On-link 192.168.1.150 266
192.168.56.0 255.255.255.0 On-link 192.168.56.1 266
192.168.56.1 255.255.255.255 On-link 192.168.56.1 266
192.168.56.255 255.255.255.255 On-link 192.168.56.1 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.150 266
224.0.0.0 240.0.0.0 On-link 192.168.56.1 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.150 266
255.255.255.255 255.255.255.255 On-link 192.168.56.1 266
===========================================================================
Persistent Routes:
Network Destination Netmask Gateway Metric
0.0.0.0 0.0.0.0 192.168.1.250 Default
===========================================================================
route print
from the host. Either way, you really should be using a NAT or Bridged network type. Host-only is only asking for trouble.