<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Robert,<div class=""><br class=""></div><div class="">This is a bit of a specialist application, certainly Avahi is not built to do it right now but it can’t really as you need extra information you don’t usually have to make this work.  For example you have to somehow figure out where the client is connected, which typically is not directly available on the network and you would have to somehow query the wifi or network controller, or through LLDP or something.</div><div class=""><br class=""></div><div class="">One way I have seen this done is to basically connect the AppleTV and WiFi access point to the same switch, and then block multicast going upstream to the rest of the network.  The problem is usually they try allow multicast out to allow “some” devices to reply by way of firewalling the response form most devices, the problem is that mDNS has a mechanic called “Passive Observation of Failure” which causes problems with this approach, in that it will see someone send a query, get no response, and assume that device is dead (when it’s not, the traffic was silently firewalled).</div><div class=""><br class=""></div><div class="">So really to do this best you need a much more complex solution to the firewall, most likely you would need to have each mDNS “zone” in a separate VLAN and trunks all of those VLANs back to a central controller which has some special logic.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Trent</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class=""><font color="#000000" class="">A</font>On 10 Apr 2015, at 2:38 PM, Robert Nagtegaal <<a href="mailto:masikh@gmail.com" class="">masikh@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear developers,<br class=""><br class="">For my job I’m building a ‘bonjour gateway’. Basically this means a network with apple-tv’s etc… and separate networks with clients. These clients are spread throughout a large building. The number of devices (apple-tv’s) are more then 100. The BJ-gw (Avahi) serves the clients with known devices.<br class=""><br class="">Now what I’d like to achieve is the following:<br class=""><br class="">Say I am in a class-room and a client (laptop, ipad/phone) connects via an access point (AP). From 100+ apple-tv’s there is only one serving this room. Is it possible to show the client only this one apple-tv based on the MAC-address from the AP it is connected to? <br class=""><br class="">I know that the Cisco-WLC can handle this but I was wondering if Avahi has this mechanism (see where the client request originates from, and serve based on this information a subset of it’s known devices) already build-in or is there a known -software- solution?<br class=""><br class="">Kind regards,<br class=""><br class="">Robert Nagtegaal.<br class="">_______________________________________________<br class="">avahi mailing list<br class=""><a href="mailto:avahi@lists.freedesktop.org" class="">avahi@lists.freedesktop.org</a><br class="">http://lists.freedesktop.org/mailman/listinfo/avahi<br class=""></div></div></blockquote></div><br class=""></div></body></html>