You are not logged in.

#1 2013-05-05 19:34:59

pausch
Member
Registered: 2012-01-08
Posts: 17

ping: unknown host

Hi,
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 useful 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

Offline

#2 2013-05-06 04:10:32

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: ping: unknown host

post the output of

ip route

from both the host and the VM.

Offline

Board footer

Powered by FluxBB