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 vm-arch.congstar.box # cat /ets/hosts # # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost 127.0.1.1 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 (192.168.2.119) 56(84) bytes of data. 64 bytes from paulHP-debian.congstar.box (192.168.2.119): icmp_seq=1 ttl=64 time=1.42 ms