Highlighted
New Member
Posts: 7
Registered: ‎08-16-2016

EdgeRouter X - AirPlay Issues

I have an EdgeRouter X SFP, and a Unifi AC access point. I have the ports all configured as a switch, and one port PoE for the AP. Before putting this EdgeRouter in place, I was able to use Apple AirPlay to 3 devices: 1x wireless speakers, 1x Apple TV(ethernet) and 1x Receiver(ethernet). Now, the only device that shows up is the Apple TV which is hard wired. No issues with wireless or throughput, and I can see the DHCP leases for the others and ping them from all devices. If I mess with proxy arp or mDNS by enabling or disabling, the devices work for a while then disappear again. I am not sure what else to try. Also note the network is flat, no VLAN specific ports or devices. Thoguhts? 

New Member
Posts: 1
Registered: ‎08-21-2016

Re: EdgeRouter X - AirPlay Issues

I have the same issue. Did you get a solution to this?

Member
Posts: 136
Registered: ‎07-10-2016
Kudos: 15
Solutions: 4

Re: EdgeRouter X - AirPlay Issues

I'm not entirely 100% sure, but I think you need the mdns repeater feature.

 

mdns {
     repeater {
             interface switch0
             interface eth4
          }

New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

I am still having the same issue, need some assistance from Ubiquiti engineering. Any ideas anyone?

 

As for mDNS, that is for between networks correct? I have a flat network setup, no other VLANs and obviously not doing AirPlay through the WAN somehow. I will try enabling that again and report back if it fixes the issue. 

SuperUser
Posts: 20,402
Registered: ‎09-17-2013
Kudos: 5136
Solutions: 1458

Re: EdgeRouter X - AirPlay Issues

Post your config.
New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

Config below:

 

ubnt@ubnt:~$ show configuration
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name AllowUPNP {
default-action accept
description ""
}
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
:
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name AllowUPNP {
default-action accept
description ""
}
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
address dhcp
description Internet
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
description Local
duplex auto
ip {
}
poe {
output off
}
speed auto
}
ethernet eth2 {
description Local
duplex auto
ip {
}
poe {
output off
}
speed auto
}
ethernet eth3 {
description AP
duplex auto
poe {
output 24v
}
speed auto
}
ethernet eth4 {
description Local
duplex auto
ip {
enable-proxy-arp
}
poe {
output off
}
speed auto
}
ethernet eth5 {
description SFP
duplex auto
speed auto
}
loopback lo {
}
switch switch0 {
address 10.0.1.1/24
description Local
ip {
}
mtu 1500
switch-port {
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
}
vlan-aware disable
}
}
}
port-forward {
auto-firewall enable
hairpin-nat disable
rule 1 {
description Plex
forward-to {
address 10.0.1.5
port 32400
}
original-port 32400
protocol tcp_udp
}
rule 2 {
description RDP
forward-to {
address 10.0.1.5
port 3389
}
original-port 3389
protocol tcp_udp
}
rule 3 {
description FTP
forward-to {
address 10.0.1.5
port 21
}
original-port 21
protocol tcp_udp
}
rule 4 {
description "FTP Passive"
forward-to {
address 10.0.1.5
port 60050
}
original-port 60000
protocol tcp_udp
}
wan-interface eth0
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN {
authoritative disable
subnet 10.0.1.0/24 {
default-router 10.0.1.1
dns-server 10.0.1.1
lease 86400
start 10.0.1.38 {
stop 10.0.1.243
}
static-mapping JoshDesktop {
ip-address 10.0.1.5
mac-address 08:60:6E:CD:EB:A0
}
unifi-controller 10.0.1.5
}
}
}
dns {
forwarding {
cache-size 150
listen-on switch0
}
}
gui {
http-port 80
https-port 443
older-ciphers enable
}
mdns {
repeater {
interface switch0
interface eth1
}
}
nat {
rule 5010 {
description "masquerade for WAN"
outbound-interface eth0
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
upnp {
listen-on switch0 {
outbound-interface eth0
}
}
}
system {
host-name ubnt
login {
banner {
post-login "hi"
}
user ubnt {
authentication {
encrypted-password ****************
plaintext-password ****************
}
full-name ""
level admin
}
}
ntp {
server 0.ubnt.pool.ntp.org {
}
server 1.ubnt.pool.ntp.org {
}
server 2.ubnt.pool.ntp.org {
}
server 3.ubnt.pool.ntp.org {
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone UTC
}
ubnt@ubnt:~$

SuperUser
Posts: 20,402
Registered: ‎09-17-2013
Kudos: 5136
Solutions: 1458

Re: EdgeRouter X - AirPlay Issues

There's nothing in the ER that would cause trouble with AirPlay.

 

The wireless devices are your phone and some speakers, right?  When you're having the issues, are they showing as connected to the UAP?  If you have the same SSID on both bands, sometimes phones and other devices get confused about what band (2.4 or 5 GHz) they're supposed to connect to.

New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

Yes phones/tablets and then wireless speaker, wireless Apple TV and hard wired receiver with AirPlay functionality. This all worked with the same UAP behind and Apple Airport Extreme, and an older netgear router at one point. The issue occured only when I put the EdgeRouter in place. 

Regular Member
Posts: 621
Registered: ‎06-26-2016
Kudos: 284
Solutions: 16

Re: EdgeRouter X - AirPlay Issues

That is odd.  I don't have the X, I have the Pro, so I'm not sure how it's ports act when set to Switching, but I didn't have any problem with my Pro until I put devices on different subnets, which I solved by adding the VLANs to the router and turning on mDns reflection. 

 

Do you have another switch you could pop in there for testing?

SuperUser
Posts: 20,402
Registered: ‎09-17-2013
Kudos: 5136
Solutions: 1458

Re: EdgeRouter X - AirPlay Issues

ER-PRO doesn't do switching.

New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

I can take an unmanaged switch and plug it all into that instead of the other ports on the router and see if that changes anything

Regular Member
Posts: 621
Registered: ‎06-26-2016
Kudos: 284
Solutions: 16

Re: EdgeRouter X - AirPlay Issues

yea, I was trying to relate that I didn't think the router was causing the issue, but maybe something in the switch config... probably poorly worded, but was trying to see if VLAN/subnets might somehow be involved.

New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

That is fair, but no VLANs or subnet differences. All flat 10.0.1.x

New Member
Posts: 7
Registered: ‎08-16-2016

Re: EdgeRouter X - AirPlay Issues

I have hooked up another switch and am running everything through that to test, I will update the result over the next few days

Member
Posts: 263
Registered: ‎08-28-2015
Kudos: 67
Solutions: 11

Re: EdgeRouter X - AirPlay Issues

I have a similar setup which seems fine with an ER X sfp, AP ac lite and Apple TV.   

You don't have client isolation on correct?

 

does any of it work like mirroring your display on the tv? (And what if you switch the Apple TV to wifi)