Page 1 of 1

how can I resolve hostname on guest?

Posted: 11. Feb 2010, 12:13
by jezzashea
I have set up guest (win xp) with bridged and host only adapters.

With the host (mac os x) connected to a network I can ping the host's IP address successfully and set up the guest's hosts file to resolve the host's name to this IP address.

If I disconnect the host from the network how can I ping it from the guest? What will its IP address or host name be? I have tried VBOXSRV but that doesn't resolve to anything.

Thx

Re: how can I resolve hostname on guest?

Posted: 11. Feb 2010, 16:38
by Perryg
If you are going to be running this with no network attached you would need to use host-only instead of and a second adapter set to NAT or Bridged if the guest need the Internet.

Re: how can I resolve hostname on guest?

Posted: 12. Feb 2010, 01:04
by jezzashea
yes this is what I have done - set up one host only adapter and one bridged. When running host only how can the guest see the host though?

Re: how can I resolve hostname on guest?

Posted: 12. Feb 2010, 01:11
by Perryg
You can see what the IP address is by running ifconfig -a and ipconfig /all
If you did not change the address for host only it should be 192.168.56.1 for the host and 192.168.56.101 for the guest.

Re: how can I resolve hostname on guest?

Posted: 12. Feb 2010, 04:08
by jezzashea
Yes that's it! I can now ping from host to guest and vice versa - thanks a million!