Avahi: Problems with Name Resolution [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Avahi: Problems with Name Resolution [Solved]

Postby mpuppe » Thu Mar 08, 2012 11:51

I have the following setup: two real machines (host1, host2) and a virtual machine (vm) running on host1. vm is attached to a bridged adapter. All hosts get their IP addresses via DHCP.

Here is my problem: Not all names get resolved on all machines. For example:
Code: Select all
mpuppe@host1 ~ $ ping host1.local
ping: unknown host host1.local
mpuppe@host1 ~ $ ping vm.local
ping: unknown host vm.local

But:
Code: Select all
mpuppe@vm ~ $ ping host1.local
64 bytes from host1.local (192.168.0.103): icmp_req=1 ttl=64 time=1.92 ms
64 bytes from host1.local (192.168.0.103): icmp_req=2 ttl=64 time=0.392 ms
...


I made a graph to visualize the situation. A->B means
Code: Select all
mpuppe@A ~ $ ping B.local
works correctly.

Image

I hope someone here can help me :(

Edit:
nss-mdns was missing on host1 (Sabayon). The vm runs Debian which installs libnss-mdns automatically with avahi.
mpuppe
Baby Hen
 
Posts: 1
Joined: Mon Mar 05, 2012 23:50

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests