03-23-2017 02:54 PM - edited 03-08-2019 09:53 AM
Hi everybody,
I know, the most of you will say: Hey Protocol Bonjour is designed for local networks with TTL=1...
But i have to make work this scenario
Clients (phones, ipad, else) in DMZ and wired Apple TV in LAN, separeted of course by many routers & firewals...
A can by-passe all this with a single router (for test) but i still can't manage to get it work. i'mgeting crazy :(
To test it i took only one router (routing for vlans of ipad's & for wired apple tv) conected with trunk interface with a WLC2504 (or 5508 if it's needed)
On WLC i enabled global Mcast, snooping, mDNS & in the wlan also..
On router I set up ip mcast routing & ip pim register-source Loopback 0 ip pim rp-address xxxx and ip pim sparse-mode on all vlan interfaces
when a sniff the port where Apple TV is, i can see ip_apple_tv > 224.0.0.1.mdns (5353)
but when i sniff on router trunk port (connected to WLC) I see WLC_management_interface > 224.0.0.254:5247 (capwap data port)
Result: router is seeing all, but the client doesn't see the apple TV responses = > I'm getting crazy
- why the WLC is sending on capwap port instead of 5353 mdns port ? is it normal ?
- how would router know that this is à multicast query for apple tv in another vlan and relay it as a proxy gateway?
- is my problem the TTL ? How can I increase it ? i saw that in sparse mode there is commande setting "scope"..
- can i encapsulate multicast in something else ? GRE, IPSec ? to cheat the network ?
- 2504 WLC is only multicat-multicast able not multicast-unicast, is that a problem ?
Thanks for any advice or idea, I must get work this out
regards
03-23-2017 04:28 PM
Hi
Have you looked at mdns AP? See link below
http://www.cisco.com/c/en/us/td/docs/wireless/controller/8-1/Enterprise-Mobility-8-1-Design-Guide/Enterprise_Mobility_8-1_Deployment_Guide/ch6_Mcst.html#pgfId-1029933
This will allow your APs to forward mdns advertisements to your controller.
hth
Andy
03-28-2017 02:01 PM
Hi Andy,
i looked your doc but i don't see how can it help me.
resume schema
Ipad > AP > WLC2504 = Router < Apple TV
Since i configured an interface on WLC with IP in Apple TV subnet, the client can see the Apple TV.
But I'm not sure how, cause for me The client should see apple tv only through mDNS.
1. The Ipad normaly is sending a packets (IP > 224.0.0.251)
2. When I sniff the trunk port on the router, connected to the WLC (port 1, all interfaces of WLC are attached to port 1) I see the management interface of WLC sending (IP_MGMT_WLC > 224.0.0.251:5247).
* It'is not so bad, cause the client is seeing the Apple TV. But why the WLC is not sendig on mDNS port instead of Capwap port ? I guess it is normal behavior...
The problem is that the Apple TV is not respondig, or better explaind the router doesn't responding to IP_MGMT_WLC > 224.0.0.251:5247 packets.
I'll try to "route" 224.0.0.0/8 by default to IP_MGMT_WLC, so the WLC will be Bonjour Gateway.
I'm not sure it will work, probably not but i can't get some help for it.
If you have any idea i'll be happy to hear
03-29-2017 01:15 AM
I had really intermittent results when trying this via a Cisco WLC, even when following the Cisco Bonjour guide.
Sometimes it worked, sometimes it didn't.
I ended up using a Raspberry Pi running linux, creating subinterfaces and using avahi like this:
https://chrisreinking.com/need-bonjour-across-vlans-set-up-an-avahi-gateway/
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide