[avahi] mDNS service lookup on host with limited network

Ico avahi at zevv.nl
Thu Nov 3 19:51:14 UTC 2016

Hi Avahi people,

I'm working on a platform consisting of a number of services which rely
on mDNS for mutual discovery to provide load balancing and failover -
all works fine with Avahi, no problems here.

I'm now trying to configure a system running with a number of services
on a single host with limited network connectivity. Most important is
that the machine is not allowed to use mDNS on the physical network
interface for administrative reasons.

My assumption was that this would be no problem and that things would
probably work just fine when restricting avahi-daemon to run on the lo
interface, an empty bridge or a dummy network interface. I've now spent
a few hours trying to get this to work, but to no avail.

Here are the steps I expected to work:

- Create a dummy network interface

  # modprobe dummy
  # ifconfig dummy0 multicast up

- Configure avahi-daemon to restrict itself to the dummy interface


- Start avahi daemon and discover services on the same machine:

  avahi-browse -a

Result: no results whatsoever.

The funny thing is that running wireshark on dummy0 shows actual mDNS
traffic happening: I see the initial announcments when avahi-daemon
starts and I see the requests on the network when running avahi-browse.
Still, no results are returned when browsing.

Can anobody point out my error?

Thank you,



More information about the avahi mailing list