Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i created a Arch-Linux VM with Virtualbox on a Debian host. The network setting in Virtualbox is "Network Bridge".

I can ping the ip returned by ifconfig on the VM from my host and can connect to it via ssh. But when I try to connect to the hostname which is vm-arch it fails.

What can I do?

Here is some usful information.

# cat /etc/hostname

# cat /ets/hosts
# /etc/hosts: static lookup table for host names

#<ip-address>   <hostname.domain.org>   <hostname>   localhost   vm-arch.congstar.box    vm-arch

::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# End of file

# ping paulhp-debian #which is the host computer
PING paulhp-debian.congstar.box ( 56(84) bytes of data.
64 bytes from paulHP-debian.congstar.box ( icmp_seq=1 ttl=64 time=1.42 ms
share|improve this question
add comment

migrated from stackoverflow.com May 6 '13 at 6:11

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.