Sun VirtualBox: Guest is Unable to Connect to Host By Hostname
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sun VirtualBox: Guest is Unable to Connect to Host By Hostname
Hi,
there is one similar thread but that one didn't help.
I cannot connect to my XP-Home Host by hostname. Guest is Debian (Knoppix). Cause I want to run an Asterisk on the guest, I have to use bridged network. I can reach every host by hostname (local and worldwide) except the own pc's XP Home. But I can reach it by it's ip address.
My router is a FBF 7170. It shows "xxxxx" as hostname for the XP Home host and sometimes "xxxxx (2)" and sometimes "PC-192-168-178-3" as hostname for the linux client.
I already have a workaround. I put the ip and hostname into my /etc/hosts. But that is really only a workaround. As soon as I'm changing the used pc I have to alter the hosts file. So it is not much better than to use the ip directly.
So I'm looking for a real solution only. Can anybody help?
My guess is that you're using a little firewall/router device that provides dhcp and dns services.
It isn't a problem with the firewall and also not with the dns services. When I'm using NAT instead of Bridget Network everything works fine. And it is only the host system that is unreachable by hostname.
It could be a problem with the router which is a FritzBox 7170 (FBF). But I guess it is a problem with the Sun VirtualBox.
Quote:
Originally Posted by carltm
Apparently you have dynamic dns and the Windows host isn't properly registering its hostname.
The Windows host is properly registering its hostname. I can see that in the FBF Menu.
That is a file within the unreachable Windows host system, isn't it? I think that wouldn't help. Or am I wrong?
Be sure to setup the '/etc/hosts' along with the other hosts* files for your Gnu/Linux and others on the LAN.
Quote:
I already have a workaround. I put the ip and hostname into my /etc/hosts. But that is really only a workaround. As soon as I'm changing the used pc I have to alter the hosts file. So it is not much better than to use the ip directly.
I read your post as a problem with the IP on the Host system.
What are you meaning by the underlined statement above?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.