Skip to main content
Tutorial

Sonos + UniFi: Best Practices & Recommended Settings

  • April 8, 2026
  • 44 replies
  • 1479 views

Forum|alt.badge.img+1

Hello, everyone! I want to share some insights regarding Sonos setups in Ubiquiti UniFi environments. We see common questions and suggestions around how best to use Sonos with UniFi networks, and I wanted to give you the inside scoop on how we approach this troubleshooting. Unifi already has a solid guide on Sonos that we recommend checking out here, but we wanted to expand upon this.

We know that UniFi gear is incredibly popular among our power users (and many of us internally!). While Sonos is designed to work on standard home networks out of the box, managed networks like UniFi offer a level of control that can sometimes inadvertently block the communication Sonos needs to keep your system in sync.

To be clear, home networking is complex and every environment is unique. However, based on our internal documentation and successful troubleshooting sessions, here are the configurations we recommend to keep your music playing without interruption.

Disclaimer. This article is up to date through April 2026. Some settings might have changed since we first made this article.

 

 

The "Golden Rule": Wired vs. Wireless

 

One of the most common causes of network storms/loops is a mixed environment where some Sonos players are wired and others are wireless, combined with conflicting Spanning Tree Protocol (STP) settings.

For the most stability, we generally recommend one of two approaches:

  • Fully Wireless: All Sonos products connect directly to your UniFi WiFi. 
    • This is often the easiest setup for modern Sonos products like Era 100/300, Move, and Roam.
  • Fully Wired: All capable Sonos products are Ethernet-wired.
    • WiFi is manually disabled on each player via the Sonos app.

If you are using a "Mixed" setup (some wired, some wireless using SonosNet), you must configure your STP settings correctly on your switches to avoid packet storms. (See the "Spanning Tree" section below).

 

Troubleshooting: "Missing Rooms" or Grouping Issues

 

If you are seeing speakers disappear from the Sonos app, or if you group rooms but audio only plays from one speaker, check that Multicast traffic is not being blocked or filtered and IGMP snooping is enabled.

Here are the settings we recommend checking in your UniFi Network Controller. Note: Menus may vary slightly depending on your Controller version.

  1. Check the basics: Ensure the controller (your phone) and the system are on the same subnet/VLAN.
  2. Verify the "Disable" list: Go back to the WiFi settings above and triple-check that Multicast and Broadcast Control and Multicast Enhancement are turned off. 
  3. Re-Provision: After changing these settings, allow a minute for the Access Points to re-provision. It is often helpful to reboot the Sonos players after the network settings have been applied to clear any stale connection states.

Unifi WiFi & Network Settings for Sonos

 

TL;DR: Disable Multicast Enhancement, Broadcast Control, and Client Isolation

Go to Settings > WiFi and select your WiFi name. Change Advanced Configuration to Manual to verify the following:

  • Hotspot 2.0: Set to Off
  • Multicast to Unicast (previously called “Multicast Enhancement”): Disabled (unchecked). Note: While this sounds like something you’d want on, it converts multicast to unicast, which can cause issues with Sonos grouping.
  • Multicast and Broadcast Control: Disabled (unchecked). This blocks multicast traffic for non-listed devices and is a common culprit for missing players.
  • Client Device Isolation: Disabled (unchecked). This prevents devices on the same AP from talking to each other.
  • Proxy ARP: Disabled (unchecked).

Global Network Settings

 

TL;DR: mDNS: Enabled, IGMP Snooping: Enabled

Go to Settings > Networks and select the network Sonos uses:

  • IGMP Snooping: Enabled. This helps reduce unnecessary multicast traffic while ensuring the right packets get to your speakers.
  • mDNS: Enabled. Technically speaking, this helps with device discovery. However, if you are running a complex setup with separate Sonos systems on different VLANs, mDNS might actually need to be disabled—but for 99% of home users, keep this ON.

Spanning Tree Protocol (STP) Settings

 

If you have any Sonos devices wired to your network (without disabling WiFi), you must configure STP on your UniFi switches to prevent network loops. Sonos uses STP (802.1d) to figure out the best path for data.

 

Global Switch Settings

 

TL;DR: STP switch priority 4096/8192/12288.

  • Spanning Tree: Select STP (not RSTP).
  • Priority: Set your core/main switch to 4096.
    • If you have secondary switches daisy-chained, set them to 8192.
    • Tertiary switches should be set to 12288.

Port Specific Settings: For the specific ports where a Sonos device is plugged in:

  • STP: Enabled
  • Edge Port: Auto or Enabled
  • BPDU Guard: Disabled
  • Root Guard: Disabled
  • Path Cost: 10
  • Port Priority: 128

Final Thoughts

 

I hope this helps clarify the best way to harmonize Sonos with UniFi gear. We know some of you have sophisticated home networks, and we want to ensure our products play nicely with them.

I'm happy to answer questions about these specific settings to the best of my ability. If you have a specific topology that defies these rules, let us know in the comments—we love seeing how you all set things up!

44 replies

  • Lyricist I
  • April 10, 2026

Can you please explain "why" IGMP snooping is required for the Sonos to work? It should not help with discovery so why does it help to enable?

 


Smilja
  • April 10, 2026
  • IGMP Snooping: Enabled. This helps reduce unnecessary multicast traffic while ensuring the right packets get to your speakers.

 

What’s your concern?

Enhancing Multicast Performance: A Guide to IGMPv3 on UniFi - Blog of Cody Deluisio


  • Lyricist I
  • April 10, 2026
  • IGMP Snooping: Enabled. This helps reduce unnecessary multicast traffic while ensuring the right packets get to your speakers.

 

What’s your concern?

Enhancing Multicast Performance: A Guide to IGMPv3 on UniFi - Blog of Cody Deluisio

My concern is that it introduces latency into the network. And the network is fine without it. Only thing that happens is the speakers disappear from the controller. It should not be related to the traffic if there’s not a lot of it. 

 

So I’m adding latency to my network and the reason is not clear enough.


Stanley_4
  • Grand Maestro
  • April 10, 2026

How many microseconds of latency is it adding?

What difficulty is the additional latency causing you?


Forum|alt.badge.img+18
  • Local Superstar
  • April 11, 2026

TL;DR: mDNS: Enabled, IGMP Snooping: Enabled

Go to Settings > Networks and select the network Sonos uses:

  • mDNS: Enabled. Technically speaking, this helps with device discovery. However, if you are running a complex setup with separate Sonos systems on different VLANs, mDNS might actually need to be disabled—but for 99% of home users, keep this ON.

I'm happy to answer questions about these specific settings to the best of my ability. If you have a specific topology that defies these rules, let us know in the comments—we love seeing how you all set things up!

mDNS only needs to be enabled if there are multiple VLANs and the controller(s) are on separate VLAN than the player(s).

Also keep an eye on the UI release notes:

https://community.ui.com/RELEASES

eg the latest switch firmware has some fixes that may help specific configuration for wired/mixed Sonos setup, with regard to IGMP, STP and PTP:

https://community.ui.com/releases/UniFi-Switch-7-4-1/6d6aed12-f95d-4ca9-affa-4f1bf3954208

If I was Sonos, I would include some FAQ on network setup as part of adding the first Sonos device to network in App. Sonos App can detect the network vendor (by MAC prefix) and point the user to a web page specific to that network, for users unfamiliar with network and Sonos setup.

Also have the network vendor specific help page link/FAQ in the Sonos App Settings » Network section.


Stanley_4
  • Grand Maestro
  • April 11, 2026

If I was Sonos, I would include some FAQ on network setup as part of adding the first Sonos device to network in App. Sonos App can detect the network vendor (by MAC prefix) and point the user to a web page specific to that network, for users unfamiliar with network and Sonos setup.

Also have the network vendor specific help page link/FAQ in the Sonos App Settings » Network section.

That would be invaluable, have the app recognize a router's MAC as being on the Incompatible Hardware list and pop up a warning and a solution.

Same sort of thing for any other hardware that requires tweaks to the default settings for basic Sonos operation.

Anything Sonos can do to stop the user frustrations in setting up a new Sonos that results in a returned unit will increase both profits and word-of-mouth promotion. Nothing kills a sale like your buddy saying, "I bought one, fought it for days and barely got it back in the free return window."


Smilja
  • April 11, 2026

Why has Sonos not thought of this yet – after all, there are only few hundreds of vendors / providers to incorporate.


Stanley_4
  • Grand Maestro
  • April 11, 2026

Even just the 13 Sonos lists as incompatible would help.

Add the 17 with-workaround suggestions to the following release. 

https://support.sonos.com/en-us/article/incompatible-network-hardware

Then go on to the rest of the problem devices.


  • Lyricist III
  • April 13, 2026

My switch settings look different. Can someone tell me if these are correct?

 


Forum|alt.badge.img+18
  • Local Superstar
  • April 13, 2026

My switch settings look different. Can someone tell me if these are correct?

Your screenshot shows the port settings, not switch settings. Review the STP section in the Tutorial for Global switch settings if you have 1 or more Sonos devices connected to switch(es), and ensure STP priority is set correctly.


  • Lyricist III
  • April 13, 2026

My switch settings look different. Can someone tell me if these are correct?

Your screenshot shows the port settings, not switch settings. Review the STP section in the Tutorial for Global switch settings if you have 1 or more Sonos devices connected to switch(es), and ensure STP priority is set correctly.

Ok. Do the port settings look correct? Screen of switch settings below.

 


Smilja
  • April 13, 2026

@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos


  • Lyricist III
  • April 13, 2026

@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 


Forum|alt.badge.img+18
  • Local Superstar
  • April 14, 2026

 

@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

My advise if you are not a networking expert is not to mess with STP in a mixed environment, just use wireless, as per golden rule in first post.


Smilja
  • April 14, 2026

@Supercat82, The red-rimmed settings are the Individual Port settings. You have to look at the Global Switch settings.


  • Lyricist III
  • April 14, 2026

 

@Supercat82, These are the recommended STP settings:

Configure STP settings to work with Sonos | Sonos

Thanks, I’m having trouble finding some of the settings. I’m def not a network expert, but I’ve gone through (I think) every menu in the Unifi pages and can’t find these. Maybe they’re called something else or are included in others?
 

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

My advise if you are not a networking expert is not to mess with STP in a mixed environment, just use wireless, as per golden rule in first post.

Ok. Will work on switching to all WiFi. Was holding on to “wired is always best when possible”, but getting the config right is prob not worth it. I’ll update here after I switch to WiFi if that doesn’t fix my problem. 


  • Lyricist III
  • April 15, 2026

All WiFi seems to have resolved my problem. 


controlav
Forum|alt.badge.img+24
  • Lead Maestro
  • April 16, 2026

 

Lets rewind a little ​@Supercat82 

You only need to mess with STP if you have a mixed (wireless & wired) environment, re-read the ‘golden rule’ at the top. The link that was posted above with regard to STP, is generic, for enterprise switches. Not all settings are configurable on all vendors switches.

Not even. All five of my Sonos systems are mixed wireless & wired on Ubiquiti, and I have never needed to mess with STP. So the docs from both Uni and now Sonos to go all one way or the other are just wrong, as well as impractical for so many.

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.


Forum|alt.badge.img+18
  • Local Superstar
  • April 16, 2026

All five of my Sonos systems are mixed wireless & wired on Ubiquiti, and I have never needed to mess with STP.

Curious, what UniFi switch(es) are you using? Maybe STP is disabled.

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Sonos have fixed the problem, as modern, post-Era products do not use STP.


Stanley_4
  • Grand Maestro
  • April 16, 2026

 

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Sonos have fixed the problem, as modern, post-Era products do not use STP.

Is this still correct if the Ethernet USB connector is used? That would be good, seeing it gone everywhere would be better.

 

https://www.kernel.org/doc/Documentation/networking/bridge.rst

 

STP is a Layer 2 protocol that operates at the Data Link Layer of the OSI

model. It was originally developed as IEEE 802.1D and has since evolved into

multiple versions, including Rapid Spanning Tree Protocol (RSTP) and

`Multiple Spanning Tree Protocol (MSTP)

<https://lore.kernel.org/netdev/20220316150857.2442916-1-tobias@waldekranz.com/>`_.

The 802.1D-2004 removed the original Spanning Tree Protocol, instead

incorporating the Rapid Spanning Tree Protocol (RSTP). By 2014, all the

functionality defined by IEEE 802.1D has been incorporated into either

IEEE 802.1Q (Bridges and Bridged Networks) or IEEE 802.1AC (MAC Service

Definition). 802.1D has been officially withdrawn in 2022.


Forum|alt.badge.img+18
  • Local Superstar
  • April 16, 2026

 

Why Sonos just don’t fix the damn underlying problem, at least on S2 devices, I don’t understand.

Sonos have fixed the problem, as modern, post-Era products do not use STP.

Is this still correct if the Ethernet USB connector is used?

Yes.

https://support.sonos.com/en/article/switch-sonos-between-a-wireless-and-wired-setup

Products that don’t support the dedicated Sonos wireless network

The following products must either be connected to your home WiFi network in a wireless setup or connected via ethernet, if supported.

  • Arc Ultra
  • Era 100
  • Era 100 Pro
  • Era 300
  • Move
  • Move 2
  • Roam
  • Roam 2
  • Roam SL
  • Sub 4

Smilja
  • April 16, 2026

From what I understand, the Wi-Fi module is automatically disabled when the Ethernet USB connector is plugged in.


buzz
  • April 16, 2026

In general this is not correct, however, there are a few exceptions


Smilja
  • April 16, 2026

From what I understand, the Wi-Fi module is automatically disabled when the Ethernet USB connector is plugged in.

 

Sonos products that can use the Sonos Combo Adapter will automatically disable their WiFi when they’re connected to a network with an ethernet cable.

Disable or enable WiFi on your Sonos products | Sonos


Stanley_4
  • Grand Maestro
  • April 16, 2026

I don't have the Ethernet dongle to test my 100s or 300s with but looking at the Sub 4 it sure looks like it has a bridge available. The ath0, br0 and eth0 are all present. It is shown as STP disabled as is expected with only the ath0 active.

I'll try and dig into this more as it isn't a Sonosnet issue but a multiple network ports issue.

http://172.16.1.xxx:1400/support/review

/sbin/ifconfig

running /sbin/ifconfig

ath0 Link encap:Ethernet HWaddr C4:38:xxx  

          inet6 addr: fe80::c638:75ff:fedc:2b64/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:828974 errors:0 dropped:0 overruns:0 frame:0

          TX packets:373109 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:3000 

          RX bytes:167269924 (159.5 MiB) TX bytes:48847907 (46.5 MiB)

 

br0 Link encap:Ethernet HWaddr C4:38xxx  

          inet addr:172.16.1.134 Bcast:172.16.3.255 Mask:255.255.252.0

          inet6 addr: fe80::c638:75ff:fedc:2b64/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:885358 errors:0 dropped:68747 overruns:0 frame:0

          TX packets:368069 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:167103417 (159.3 MiB) TX bytes:50872907 (48.5 MiB)

 

eth0 Link encap:Ethernet HWaddr C4:38:xxx  

          UP BROADCAST MULTICAST MTU:1500 Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

          Interrupt:18 

 

lo Link encap:Local Loopback  

          inet addr:127.0.0.1 Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING MTU:65536 Metric:1

          RX packets:488 errors:0 dropped:0 overruns:0 frame:0

          TX packets:488 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          RX bytes:44180 (43.1 KiB) TX bytes:44180 (43.1 KiB)

 

 

/usr/sbin/brctl showstp br0

running /usr/sbin/brctl showstp br0

br0

 STP is disabled for this interface