Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Bonjour Discovery browser and cisco WLC mDNS

Hello
I'm using a Bonjour Discovery browser on an iPad to see if I can check what Bonjour services are available on a cisco 2504 running code 7.5.102.0. WLC is configured as per cisco documentation for mdns:

  • Multicast disabled on WLC
  • wired vlan (with bonjour services) is trunked to WLC
  • mdns profile configured and bonjour services are visible on WLC
  • mdns profile applied to WLAN

when i connect an ipad to the wlan and start the browser, no services appear (2 are visible on the WLC). Debug on the WLC shows the following (where XX:XX:XX:XX:XX:XX is the iPad mac)

*Bonjour_Msg_Task: Nov 04 10:51:06.674: XX:XX:XX:XX:XX:XX Failed to updated data to Service Provider DB
*Bonjour_Msg_Task: Nov 04 10:51:12.798: processBonjourPacket : 935 Queried service-string : _dns-sd._udp.local. is not configured in MSAL-DB

Is it possible to get Bonjour Discovery browser working with cisco WLC?

thanks
andy

1 ACCEPTED SOLUTION

Accepted Solutions

Bonjour Discovery browser and cisco WLC mDNS

you need to enable multicast and broadcast forwarding on the WLC.

http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_tech_note09186a0080bb1d7c.shtml

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

HTH, Steve ------------------------------------------------------------------------------------------------ Please remember to rate useful posts, and mark questions as answered
31 REPLIES

Bonjour Discovery browser and cisco WLC mDNS

you need to enable multicast and broadcast forwarding on the WLC.

http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_tech_note09186a0080bb1d7c.shtml

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

HTH, Steve ------------------------------------------------------------------------------------------------ Please remember to rate useful posts, and mark questions as answered

Bonjour Discovery browser and cisco WLC mDNS

thanks Stephen. I tried that previously (minus enabling broadcast forwarding). Will try this again and post back.

cheers

Andy

Bonjour Discovery browser and cisco WLC mDNS

Thanks again Stephen - this works fine. Ami I right in saying that:

  1. when using multicast on the WLC for bonjour, client and bonjour service device must be on same vlan and the client running Bonjour Discovery browser will work as expected
  2. when using mDNS gateway on the WLC for bonjour, client and bonjour service device can be on different vlans. WLC caches Bonjour advertisments and will respond to clients requesting these particular services - a client running Bonjour discovery browser will not work as expected because it is not requesting a WLC cached advertisment

Cheers

Andy

Bonjour Discovery browser and cisco WLC mDNS

that sounds about right, yeah

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

HTH, Steve ------------------------------------------------------------------------------------------------ Please remember to rate useful posts, and mark questions as answered
New Member

Bonjour Discovery browser and cisco WLC mDNS

But doesn't the Bonjour browser client issue a discovery request (on startup) then WLC should advertise its learned servies???

Bonjour Discovery browser and cisco WLC mDNS

Hello. Packet capture of the bonjour discovery browser (installed on windows) shows an MDNS standard query for the services _services._dns-sd._udp.local and _sleep-proxy._udp.local.. With Multicast enabled on the WLC, the Bonjour browser displays all available Bonjour services. With the mDNS gateway setup on the WLC, the Bonjour Browser displays no services (not even the ones cached on the WLC) but if I start an app that uses a specific service string that is cached on the WLC, the app works as expected.

hth

andy

New Member

Bonjour Discovery browser and cisco WLC mDNS

I saw the same type of behavour.  I took a stab with the whitepaper and two Apple TV's , one wired the other wireless.

From a wired client to wireless ATV I got one second of screen then the ATV displayed a very cryptic error message.

My bonjour browsers also showed no service advertisemnets.

Is it possible that the service you connected to was already cached on tyhe client (though I expect your Bonjour browser would have reported that) becasue with the apple devices there is  no way to staticly enter the service strings ... if only ...

I have to lab this up again and get TAC in on it.

Bonjour Discovery browser and cisco WLC mDNS

Hello. We tested the WLC mDNS setup with an ipad and a ProTools control app. I added the service string for the app to the WLC and it discovered a wired mac advertising that particular service. I connected an ipad to wireless and started the app and it immdiately listed the wired mac as a device running the required service. Unfortunately I don't have any packet captures for that process.

Cheers

Andy

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Andrew, I tried to implement Bonjour mDNS using version 7.5 but it does not work when I am connected on different subnets using Dynamic Interfaces for the Apple TV Device and Clients respectively. I have tried everything (Broadcast forwarding, global multicast enabled, AP multicast mode unicast or multicast, interface mdns profile = default, etc etc.

I have an Apple TV device in one dynamic interface and the ipad in another one. When I put both in the same VLAN it works immediately. I do not know what I am missing.

I need to check why. I changed the dynamic interface I created for the Apple TV device and created a new one pointing to the Management Interface of the WLC and it worked right away. This is what I have configured in the WLC at this point:

Controller --- > Multicast ---- > Enable Global Multicast = DISABLED, Enable MLD Snooping = DISABLED, Enable IGMP Snooping = DISABLED.

Controller --- >  General  ---- > Broadcast forwarding = DISABLED, AP Multicast Mode = UNICAST

Controller --- > Interfaces --- > Management = Being used by the WLAN/SSID = Apple TV Client

Controller --- > Interfaces ---- > APPLE Services = Being used by the WLAN/SSID = Apple TV

Controller --> Interfaces (EDIT) ---> mDNS = NONE for APPLE TV CLIENT

Controller --> Interfaces (EDIT) ---> mDNS = default mdns for apple tv device

WLAN --- > Advance --- > mDNS Snooping = default for both WLAN/SSID indicated above.

Hall of Fame Super Silver

Bonjour Discovery browser and cisco WLC mDNS

Abraham,

Do you have multicast enabled on your wired infrastructure and PIM enabled on your layer 3 interfaces?  Just enabling multicast and mDNS on the WLC will not make bonjour work crossing layer 3.

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Thanks Scott for your note, I

Hall of Fame Super Silver

Bonjour Discovery browser and cisco WLC mDNS

Your looking at v7.5 guide but your still using v7.3.  There are changes to mDNS on v7.5 and v7.6 which might be why your not seeing what you want to see.  I'm also assuming that the AP's are in local mode and not FlexConnect?

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

I am using 7.5 on the controller, I was just mentioning what I had in the past and now I want to change it based on the new features included on this WLC version.

I checked something else based on your note and I found that I have configured pim sparse-mode in the VLAN corresponding to the WLC Management Interface but nothing on the VLAN for the Apple TV. I do not have multicast, broadcast forwarding, mld and igmp globally enabled in the WLC however it worked. My scenario = apple tv and ipad devices on the remote location connected to different subnets/ssid's and the WLC in the centralized DC. All the Apple devices connected to the wireless nothing on the wired side of the network until now (that is another test that I will run later)

I will try something else activating multicast on the dynamic interfaces based on the guide instructions and let you know.

Yes, local mode.

thanks again for your time and orientation.

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

I have always used multicast on the wired side. Even in my home lab with multiple apple TV's and running Air Server. When I have disabled multicast, things break. I do things that have worked well for me:)

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Scott,

One additional question, why it worked if I only had multicast activated (pim sparse-mode) on the VLAN associated to the Ipad (WLC management interface VLAN connected to the LAN Switch), instead of both (no multicast configured in the VLAN associated with the Apple TV interface). I was expecting that both devices (which are not connected effectively to the LAN) required their respective VLAN with multicast activated. I am still doing more testing.

thanks

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

Each VLAN that requires multicast should have it configured. During my testing, I had to have multicast on the Apple TV Vlan and the Vlan the iPads were on. Test by putting the Apple TV's on a different Vlan.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

Even though I am trying to be aligned with the cisco guide for this subject, I am assuming that something is being cached by the WLC once the Airplay worked the first time because I made another test connecting the Apple TV and Ipad on independent vlans without multicast on them and it worked. The configuration that I have in the WLC follows the instructions from the guide on which practically nothing is configured excepting Controller --- > mDNS parameters. Next my diagram and screenshots with what I have. I reloaded the WLC and Apple devices but still same result (working) which is totally weird for me based on your orientation about this case. As you can see, I have both devices connected to the wireless nothing yet on the wired.

SCHOOL DIAGRAM.png

CONTROLLER-GENERAL PAGE.png

WLAN-CONFIGURATION.png

WLAN-APGROUPS.png

CONTROLLER-INTERFACE-WLAN-STUDE NT.png

CONTROLLER-INTERFACE-WLAN-STAFF.png

CONTROLLER-mDNS-General OPTION.pngCONTROLLER-mDNS-Profiles-EDIT Option.png

CONTROLLER-MULTICAST OPTION.png

Hall of Fame Super Silver

Bonjour Discovery browser and cisco WLC mDNS

I removed everything just like what you had, except I left AP Multicast Mode to Multicast, since I have a 2504 and that is the only choice.  I also left multicast enabled in my wired side and now I have my iphone and ipads on one interface and my apple tv's on a different interface with management of the WLC also on a different interface.... none of my devices can see each other. 

I'm running v7.6

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***
Hall of Fame Super Silver

Bonjour Discovery browser and cisco WLC mDNS

My other test was just to enable mDNS on the wlans that my Apple TV and my iphone and ipads are on, and i was able to see my devices, with the following disabled:

2-4-2014 5-27-00 PM.jpg

Thanks,

Scott

Help out other by using the rating system and marking answered questions as "Answered"

-Scott
*** Please rate helpful posts ***

Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

I will make more testing tomorrow because I tried exactly the same thing you mentioned in your last 2 notes and it did not work in the initial test I made. Only when I used the WLC Mgmt Interface for the IPAD (which has multicast on the LAN Switch connected to the WLC) the mirroring worked. After that, I repeated the initial test again but this time it worked (initial test implied using dynamic interfaces with no multicast configured in their corresponding VLANs). I understand that Apple TV service string is cached in the WLC and that could be the reason because the initial test worked when I tried it again. There is also an expiration timer for that service in the Controller --- > mDNS Option --- > domain that I will check in details.

Because this is a critical service to be implemented I cannot have disconnections (flapping) when the service is running.

thanks a lot for all your comments and orientation

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

Part of this whole bonjour is also make sure your wireless is stable in general. I have had to troubleshoot issues with bonjour and it ended up being issues with WLC config or the design in general. Clients can't loose connection or else they loose AirPlay.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Hi Scott,I do not know if you

Hi Scott,

I do not know if you already have this information but I moved the Appple TV service to production environment using mDNS on version 7.6 on WLC 5508 and it did not worked because I have an ASA in the middle. So I basically had to open ports: tcp5000, tcp7000 & 7001, tcp7100, udp7010, udp7011, tcp/udp49152-65535 based on the link:  http://community.arubanetworks.com/t5/Unified-Wired-Wireless-Access/apple-macbook-airplay-appletv-firewall-port-findings/td-p/55048 and it worked.

Now I am facing another issue, the mirroring is extremely slow (latency). I mean, when I click the mirroring icon  in the IPAD, I am switched immediately to the Apple TV based on the data displayed on the screen of the IPADon which I am connected. But, when I start playing with the IPAD icons, it takes from 15-20 seconds to display the information in the Apple TV screen. Have you worked with the QoS part on the WLC for Apple TV? thanks

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

I reset to default factory the Apple Devices and the WLC (reconfigured from scratch) and repeated the test with mDNS configured only and it worked fine.

Now I will proceed to test the Apple TV on the wired based on the diagram that I attached to this post before and see how I can make it work. I assume that I would need to activate multicast on VLANs in the path from WLC ---- > Apple TV on the wired network at the remote site. Is there any other way to do this that you could mention to me?

Thanks a lot for your help.

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

Wired Apple TV requires an mDNS AP which is explained in the newer guides. For a remote site, with wireless devices and Apple TV wired, it might be tricky. I have deployed an Avahi mDNS server to pass bonjour across layer 3.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

As you mentioned it, in the remote school if I have IPAD in the wireless and APPLE TV on the wired, the solution for Airplay to work can be tricky. We have over 500 schools so I need to think how to deploy an scalable solution. Thanks again for your note, I will send you any update about this interesting challenge.

AC

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

Sounds good. Let us know what you end up doing.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott,

Starting AP DNS tests next week for the wired side of the network. Interesting how the LSS works when you have 2 different locations connected to the same WLC. Without LSS Apple TV Services on one school can be seen on any IPAD located in a 2nd school. Once this feature is activated, the Apple TV Service is limited to the school on which this device is connected. I need to doublecheck what happens when 2 apple tv devices are connected to the same location (different or same AP).

AC

Hall of Fame Super Silver

Re: Bonjour Discovery browser and cisco WLC mDNS

LSS works great as long as everything is on the wireless. We have implemented this in many schools that we have done implementations. Apple TV on the wired makes it difficult to control. Using LSS limits the number of wireless Apple TVs seen by a device to only those on the same AP as the Apple TV or the neighboring access points. You will not see Apple TVs that are in the other end if the same school or not associated to a neighboring AP.

Sent from Cisco Technical Support iPhone App

-Scott
*** Please rate helpful posts ***

Re: Bonjour Discovery browser and cisco WLC mDNS

Hi Scott, AP mDNS when I connect the Apple TV on the LAN Switch access port works fine but I am getting the same VLAN ID on the show ap mdns summary for the Apple TV device connected to the trunk port. Any ideas?

I was wondering under what scenario you had to use Avahi. Could you please share this?

thanks

Abraham

3907
Views
20
Helpful
31
Replies
CreatePlease to create content