10-10-2012 06:44 PM - edited 07-03-2021 10:48 PM
Good Morning
first off - Should start off by saying I have followed the Apple Bonjour deployment guide [except for interface group] portion
I have searched high and low, here and there to no avail.
http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_tech_note09186a0080bb1d7c.shtml
I am aware that the bonjour gateway IOS may or may not come out in Oct/Nov 2012, which maybe my only option at this point.
Is this not working because of my AP groups setup or have I misssed something
I can only get bonjour to work if multicast - unicast mode is selected, but our network slowly grinds to a halt, so it is not an option
when I first connect to the wireless I see 1 bonjour device for about 3 minutes and then disappears.
I can not see the appletv at all with an ipad, airplay does not appear at all.
We have the following setup.
2 campuses - Campus 2 is simular setup, but WLCs higher model and ios 7.2 and clients and subnets are double
Campus 1
2 WLC 4404 ios 7.0.230.0
30 AP groups mapped to 30 Interfaces using subnets with /23 bit subnetmasks
multicast - multicast is set with multicast addresses of
controller 1 239.239.5.1 and
controller 2 239.239.5.2
multicast is enabled
IGMPsnooping as well
On Switch multicast routing is enabled
all AP group subnets and Mgmt vlans are PIM enabled dense mode
set up a trunk to ubuntu server to act as a bonjour gateway, installed avahi and vlan
mapped all AP and mgmt vlans to Ubuntu server.
avahi see the following + more
+ eth0.136 IPv6 Apple TV _airplay._tcp local
+ eth0.136 IPv4 Apple TV _airplay._tcp local
+ eth0.134 IPv6 Apple TV _airplay._tcp local
+ eth0.134 IPv4 Apple TV _airplay._tcp local
+ eth0.132 IPv6 Apple TV _airplay._tcp local
+ eth0.132 IPv4 Apple TV _airplay._tcp local
+ eth0.130 IPv6 Apple TV _airplay._tcp local
more goes on forever
+ eth0.136 IPv4 xyz Library Apple Home Sharing local
show ip multicast
Multicast Routing: enabled
Multicast Multipath: disabled
Multicast Route limit: No limit
Multicast Triggered RPF check: enabled
Multicast Fallback group mode: Dense
show ip multicast interface vlan 128
Vlan128 is up, line protocol is up
Internet address is x.x.128.1/23
Multicast routing: enabled
Multicast switching: fast
Multicast packets in/out: 14671352/276693
Multicast boundary: not set
Multicast TTL threshold: 0
Multicast Tagswitching: disabled
Where do I go from here?
10-10-2012 07:09 PM
The other thing to keep in mind with multiyicast is that the AP keep in mind, is the AP VLAN needs to be pin enabled as well.
If the mgmt, all AP and client VLAN are pim enabled it should work
Steve
Sent from Cisco Technical Support iPhone App
10-10-2012 07:29 PM
Hi Stephen
Yes AP vlan is enabled for PIM.
But You got me thinking and I just added the VLAN to the bonjour Gateway device. will find out in 2 minutes if that has helped.
A
10-10-2012 07:35 PM
Sadly I have to report that adding the vlan to the gateway server has provided no joy
10-10-2012 08:08 PM
I just enabled broadcast forwarding and magic happened.
What will be the impact on the WLAN network from this action?
A
10-10-2012 08:49 PM
Ok I have bonjour clients in the network pane of my IMAC. but the IPAD does not see AppleTVv3. It saw it for 3 seconds when I enabled broadcast forwarding and then vanished into thin air.
A
10-10-2012 09:26 PM
worked for about 30 minutes on my IMAC - now all bonjour clients have disappeared. Back to square 1.
10-10-2012 10:19 PM
so I found this
Oct 11 13:16:36 bonjourgw avahi-daemon[1255]: Record too large, cannot send
Oct 11 13:16:38 avahi-daemon[1255]: last message repeated 29 times
Oct 11 13:16:39 bonjourgw avahi-daemon[1255]: Record too large, cannot send
10-10-2012 10:31 PM
Ok I have removed all the vlans from the avahi except mgmt, ap, and test subnet. I created a new ssid assigned test subnet and added to ap group. joined the apple tv and and ipad to same ssid. and still I can not see the appletv. Airplay is turned on and I know IPAD works because if I connect to Independent Basic Service Set (IBSS) aka Ad-hoc running Airplay server I see the IPAD airplay icon.
A
10-11-2012 03:06 AM
http://nostringsattachedshow.com/2012/07/02/cisco-wlc-multicast/
Take a look at this multicast guide for the WLC.
Steve
Sent from Cisco Technical Support iPhone App
10-11-2012 09:38 AM
Hi,
this is another guide for Bonjour on the WLC.
http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_tech_note09186a0080bb1d7c.shtml
10-11-2012 05:59 PM
Thanks Yahya and Stephen
I have tried to simplify my config as much as possible.
wlc 4404
Ethernet Multicast Forwarding............... Enable
Ethernet Broadcast Forwarding............... Enable
AP Multicast/Broadcast Mode................. Multicast Address : 239.239.5.1
IGMP snooping............................... Enabled
IGMP timeout................................ 60 seconds
IGMP Query Interval......................... 20 seconds
I have an interface created 10.x.x.x/23
I have created a new SSID APPLETV - assigned Interface
I have added the SSID to just 1 AP Group
show network multicast mgid summary
Layer2 MGID Mapping:
-------------------
InterfaceName vlanId MGID
2upadhoc 136 27
Layer3 MGID Mapping:
-------------------
Number of Layer3 MGIDs........................... 11
My vlan does not show up here.
I only have 2 devices in this vlan the AppleTV and IPAD
checking the switch for all required vlans
show ip multicast
Multicast Routing: enabled
Multicast Multipath: disabled
Multicast Route limit: No limit
Multicast Triggered RPF check: enabled
Multicast Fallback group mode: Dense
admin interface
Management, AP-Manger
Vlan12 is up, line protocol is up
Internet address is x.x.x.1/24
Multicast routing: enabled
Multicast switching: fast
Multicast packets in/out: 238489978/724352
Multicast boundary: not set
Multicast TTL threshold: 0
Multicast Tagswitching: disabled
AP vlan
Vlan222 is up, line protocol is up
Internet address is x.y.z.1/24
Multicast routing: enabled
Multicast switching: fast
Multicast packets in/out: 11423/238338583
Multicast boundary: not set
Multicast TTL threshold: 0
Multicast Tagswitching: disabled
The test Apple TV Vlan
Vlan136 is up, line protocol is up
Internet address is x.xx.1/23
Multicast routing: enabled
Multicast switching: fast
Multicast packets in/out: 156740/0
Multicast boundary: not set
Multicast TTL threshold: 0
Multicast Tagswitching: disabled
interface Vlan12
ip pim dense-mode
interface Vlan222
ip pim dense-mode
interface Vlan136
ip pim dense-mode
Show ip igmp groups
Group Address Interface Uptime Expires Last Reporter
224.0.1.39 Vlan136 2d00h 00:02:35 x.x.x.1
So just to recap
Same subnet in a AP Group
New SSID
multicast enabled on WLC - using multicast multicast mode
Broadcast forward enable
Switch -Multicast routing enabled
all vlans enabled for PIM
2 devices - added Imac to see if I could home share through Itunes.
end result
no bonjour clients, no apple tv, no airplay
Bonjour Gateway device - although same subnet it shouldn't be needed
eth0.12 Link encap:Ethernet HWaddr bc:30:5b:x:x:x
inet addr:x.x.x.244 Bcast:x.x.x.255 Mask:255.255.255.0
inet6 addr: fe80::be30:5bff:fed6:a178/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55005 errors:0 dropped:115 overruns:0 frame:0
TX packets:23003 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2776156 (2.7 MB) TX bytes:11285256 (11.2 MB)
eth0.136 Link encap:Ethernet HWaddr bc:30:5b:x:x:x
inet addr:x.x.x.9 Bcast:x.x.x.255 Mask:255.255.254.0
inet6 addr: fe80::be30:5bff:fed6:a178/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42167 errors:0 dropped:115 overruns:0 frame:0
TX packets:22340 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3251242 (3.2 MB) TX bytes:10373581 (10.3 MB)
eth0.222 Link encap:Ethernet HWaddr bc:30:5b:xx:xx:xx
inet addr:x.x.x.9 Bcast:x.x.x.255 Mask:255.255.255.0
inet6 addr: fe80::be30:5bff:fed6:a178/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:152397 errors:0 dropped:115 overruns:0 frame:0
TX packets:23768 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12795709 (12.7 MB) TX bytes:11318103 (11.3 MB)
+ eth0.222 IPv6 67665ACD317A45B0 _appletv-v2._tcp local
+ eth0.222 IPv4 67665ACD317A45B0 _appletv-v2._tcp local
+ eth0.136 IPv6 67665ACD317A45B0 _appletv-v2._tcp local
+ eth0.136 IPv4 67665ACD317A45B0 _appletv-v2._tcp local
+ eth0.12 IPv6 67665ACD317A45B0 _appletv-v2._tcp local
+ eth0.12 IPv4 67665ACD317A45B0 _appletv-v2._tcp local
Should Bonjour work same subnet with these settings?
I am going to have read more about the Interface groups and the Multicast vlan.
10-11-2012 07:49 PM
On the multicast router do a show IP mroute. You Gould have a S,G with the WLC mgmt interface.
Steve
Sent from Cisco Technical Support iPhone App
10-11-2012 08:11 PM
Side note: Called Apple - They say AppleTV doesn't use Bonjour
These network ports are used by Apple TV for communications on your network.
These are well-known ports used by Apple products, like iTunes. If you can use all the features of iTunes, these ports are likely already open on your firewall or NAT router. Note: These ports may also used by other services such as YouTube and Flickr.
10-11-2012 08:27 PM
Active IP Multicast Sources - sending >= 4 kbps
Group: 239.239.5.1, (?)
Source: x.x.x.196 (?)
Rate: 14 pps/37 kbps(1sec), 37 kbps(last 30 secs), 10 kbps(life avg)
Group: 239.239.5.2, (?)
Source: x.x.x.198 (?)
Rate: 16 pps/41 kbps(1sec), 41 kbps(last 0 secs), 10 kbps(life avg)
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