Sonos and Unifi - random network storms
Discussion
I'm really pulling my hair out with this one. My network is stable 90% of the time and then seemingly randomly the Sonos starts going nuts and floods the network. I've got STP enabled with a cost of 4096 which I found as a recommend setting somewhere but something is still going wrong. When a storm starts all I need to do is disconnect one of the wired Sonos components and it settles back down again.
I have seven Sonos components, I try to have three of them wired into the switch as two foot thick granite walls don't play nicely with wifi but with the placement of a couple of the components they can probably just see connections to two wired components which I assume is where the problem starts.
Really struggling with a good solution to this so any suggestions would be very much appreciated.
I have seven Sonos components, I try to have three of them wired into the switch as two foot thick granite walls don't play nicely with wifi but with the placement of a couple of the components they can probably just see connections to two wired components which I assume is where the problem starts.
Really struggling with a good solution to this so any suggestions would be very much appreciated.
Funk said:
Something somewhere is likely blocking your STP causing the loops... What switches/router(s) are involved and how are they connected?
A Zyxel SBG3000 router which is connected to a Unifi Security Gateway into a Unifi PoE switch. Everything on the LAN comes off the switch, i.e. the wired Sonos components and 3x Unifi AC-Pro's plus a couple of other bits and pieces, a NAS, Smart TV, PC, printer etc.. I'd hope the Unifi devices are playing nicely, the Zyxel is behind the SG so shouldn't even see the traffic on the LAN?You might want to take a look on the Ubiquiti community forum - there are a few topics on Sonos and Ubiquiti issues. Stick Sonos in the search box and there a number of threads:
https://community.ubnt.com/
I'm about to install Ubiquiti kit in my house so will be following how you get on with interest!
https://community.ubnt.com/
I'm about to install Ubiquiti kit in my house so will be following how you get on with interest!
You dont want multiple sonos devices hardwired AND in sonosnet range of each other. Pick one device to feed all your wireless devices on the sonosnet and turn wireless off on the other 2 devices.
Works every time.
http colon slash slash <sonos_ip> colon 1400/wifictrl?wifi=persist-off
Works every time.
http colon slash slash <sonos_ip> colon 1400/wifictrl?wifi=persist-off
Edited by OldGermanHeaps on Friday 31st August 21:21
Edited by OldGermanHeaps on Friday 31st August 21:23
OldGermanHeaps said:
You dont want multiple sonos devices hardwired AND in sonosnet range of each other. Pick one device to feed all your wireless devices on the sonosnet and turn wireless off on the other 2 devices
http://<sonos_device_ip>:1400/wifictrl?wifi=...
In an ideal world I'd agree, but due to rather thick walls on this house wireless alone isn't stable enough. A couple of components can just join the Sonosnet but it's not stable enough to stream reliably meaning I have to wire them to get the stability and then there's another component way out of range that means I need to keep wifi turned on on at least one of those extra components to jump the distance. http://<sonos_device_ip>:1400/wifictrl?wifi=...
Bit of a pigs ear but it works 90% of the time, for example it has been 2-3 weeks since the last network storm, get home and find nothing works, log onto the Unifi controller and see the switch has been going nuts since 3pm. No idea what happened at 3pm to start it off! Sometimes things are stable for months, sometimes a few days.
OldGermanHeaps said:
leave all 3 wire in, in fact wire as many as you can, just turn off wifi on any that are in range of other wired ones. Other alternative is to turn off sonosnet and have the devices just connect over the unifi wifi altogether.
I did consider using the Unifi wifi but I seem to recall reading somewhere that it wasn't as good particularly when playing in multiple rooms?I had read that, but on the sites I have seen it setup that way it doesn't appear to be any worse. Maybe if you are playing wirelessly to a load of old 2.4ghz sonos devices from the same ap i could see how bandwidth would be an issue. I always try to hardwire as many sonos devices as i can and turn off wifi on all but the essentials.
The other alternative is use an unmanaged switch which wont alter the stp traffic.
Tp link unmanaged switches sometimes cause sonos problems, i have changed a few to netgear and they have behaved themselves since.
The other alternative is use an unmanaged switch which wont alter the stp traffic.
Tp link unmanaged switches sometimes cause sonos problems, i have changed a few to netgear and they have behaved themselves since.
Have you thought about SonosNet (or whatever it's now called)?
I'm a long time Sonos user, and in the old days they couldn't use WiFi but created their own mesh network. It's been working well that way for years, so no inclination to change it, and it doesn't touch my own WiFi network.
I'm now using UniFi gear with no impact on Sonos.
I'm a long time Sonos user, and in the old days they couldn't use WiFi but created their own mesh network. It's been working well that way for years, so no inclination to change it, and it doesn't touch my own WiFi network.
I'm now using UniFi gear with no impact on Sonos.
Indeed. I know how much pictures help these things so here you go, a Paint masterpiece.
The blue circles are the wired components (the third is on the top floor of the house, wireless up there is a bit patchy).
The thick granite walls mean no. 1, 4 & 7 don't generally work unless 1 is wired in. 3 is a bit wobbly and usually connects via 1 as well, though it will just about work via 2. 2 provides a connection for 5 & 6.
I think the issue is the one upstairs as you can just see if from both 1 & 2 but the signal drops in and out which is probably why loops don't always kick off.
Anyway, I've tried changing the settings as suggested by Moos3h and will see how that works.

The blue circles are the wired components (the third is on the top floor of the house, wireless up there is a bit patchy).
The thick granite walls mean no. 1, 4 & 7 don't generally work unless 1 is wired in. 3 is a bit wobbly and usually connects via 1 as well, though it will just about work via 2. 2 provides a connection for 5 & 6.
I think the issue is the one upstairs as you can just see if from both 1 & 2 but the signal drops in and out which is probably why loops don't always kick off.
Anyway, I've tried changing the settings as suggested by Moos3h and will see how that works.
It is definitely a loop caused by the SonosNet Wi-fi and the wired working at the same time.
We use to have this on a project in Essex. Since we wired everything we have ahead no problems.
Given the need to your hybrid approach I am not sure how best the work around it.
Have you tried the newer Boost product? It could be that it is configured to prevent this.
V.
We use to have this on a project in Essex. Since we wired everything we have ahead no problems.
Given the need to your hybrid approach I am not sure how best the work around it.
Have you tried the newer Boost product? It could be that it is configured to prevent this.
V.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


