• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Sonos speakers and applications on different subnets (VLAN's)

General pfSense Questions
55
250
134.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Bull @Qinn
    last edited by Feb 13, 2019, 11:00 PM

    @qinn No, at the moment I don't have any positive results, it's quite frustrating, I don't know if I have a problem with netgear GS110TP switches or with pfsense I have it configured in a vmware environment with vlan(4096) and this may be blocking multicast to the router in vmware. I don't know how to continue I'm absolutely blocked, I've been trying and testing for a couple of weeks and starting over.

    I need a rest, think so.

    T 1 Reply Last reply Feb 14, 2019, 12:39 AM Reply Quote 0
    • T
      tim.mcmanus @Bull
      last edited by Feb 14, 2019, 12:39 AM

      @bull said in Sonos speakers and applications on different subnets (VLAN's):

      @qinn No, at the moment I don't have any positive results, it's quite frustrating, I don't know if I have a problem with netgear GS110TP switches or with pfsense I have it configured in a vmware environment with vlan(4096) and this may be blocking multicast to the router in vmware. I don't know how to continue I'm absolutely blocked, I've been trying and testing for a couple of weeks and starting over.

      I need a rest, think so.

      Did you turn the port to "promiscuous mode" in VMware for pfSense? That bit me in the butt once, a lesson I will not forget.

      Q B 2 Replies Last reply Feb 14, 2019, 7:09 AM Reply Quote 0
      • Q
        Qinn @tim.mcmanus
        last edited by Feb 14, 2019, 7:09 AM

        @tim-mcmanus In my setup(s) I do not use VMware at the moment, so I cannot advise. In theory the switch should not play a part, when it is in the private (RFC1918) subnet(s) and pfSense is controlling these subnets. So IGMP snooping should not be needed, the IGMP proxy or PIMD should do that part.
        Have you checked what multicast is send (wireshark)? That's how I analyzed that 239.255.255.0 was used by Sonos and that native IGMP proxy used by pfSense did not traversed it over the subnets.

        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
        Firmware: Latest-stable-pfSense CE (amd64)
        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

        1 Reply Last reply Reply Quote 0
        • B
          Bull @tim.mcmanus
          last edited by Feb 14, 2019, 7:42 AM

          @tim-mcmanus yes, promiscuous mode is enable on vmware NIC, anyway I haven't problems with unicast, I can ping and have conectivity across vlans inside and outside of the vmware. So I don't understand were the multicast cannot be routed

          1 Reply Last reply Reply Quote 0
          • B
            Bull
            last edited by Feb 14, 2019, 7:44 AM

            @qinn thank you, I'll try to disable IGMP on these switches later on, I let you know if it's work.

            1 Reply Last reply Reply Quote 0
            • Q
              Qinn @Bull
              last edited by Feb 14, 2019, 8:27 AM

              @bull said in Sonos speakers and applications on different subnets (VLAN's):

              Hi Qinn I'll try to using your guide with pim to configure a similar problem in my network with google devices and Logitech Media server, I hope that this works.

              Thanks.
              Bull

              Btw could you give a description of your setup?

              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
              Firmware: Latest-stable-pfSense CE (amd64)
              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

              B 1 Reply Last reply Feb 14, 2019, 10:00 AM Reply Quote 0
              • B
                Bull @Qinn
                last edited by Feb 14, 2019, 10:00 AM

                @qinn said in Sonos speakers and applications on different subnets (VLAN's):

                Btw could you give a description of your setup?

                I have a ISP router on bridge mode conecting directly to a vmware nic (MODEM LAN 192.168.0.1/24) this interface works as PPPOE and route to modem network. (EM1)

                the other nic i have created to vnic both in vlan 4095, the first one EM0 is de MGMT Lan (192.168.1.1/24) and the other vnic EM2 is configured as vlan 4095 and I've been created 5 port in the following tagged Vlan (10,20,30,40 and 50) from 192.168.10 to 50.1 subnet.

                this nic is connected to a Netgear GPT110PT in port 6 vlan 10,20,30,40,50 as tagged an 1 untagged, I have a LAGG vlan 20 too connected to a NAS. from this switch is connected another one in port 1 vlan 10,20,30,40,50 as tagged an 1 untagged to port 8.

                In port 5 from this second switch, I have a Ubiquiti AP with some wifi ssid configured with vlans 30,40,50, this port also configured with vlans as 10,20,30,40,50 as tagged an 1 untagged

                both swicthes have IGMP Snooping enabled, configured IGMP vlan configuration for vlan 1,30,50 (testing at the moment) with querier enable and queriers enable and configured with vlan 1,30 and 50 pointing to each router ip subnet address 1,1 for vlan 1 30.1 for vlan 30...

                May be this is a little confuse without a diagram but I don't have any software to have a grafical view of my network.

                Many thanks
                Bull

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Feb 14, 2019, 10:38 AM

                  @bull said in Sonos speakers and applications on different subnets (VLAN's):

                  I don't have any software to have a grafical view of my network.

                  There is plenty of free software or even just websites that would allow you to draw your network.
                  Here are 2 you can do it in pure ascii
                  https://textik.com/
                  http://asciiflow.com/

                  Here is decent one
                  https://www.gliffy.com/
                  another
                  https://creately.com/lp/network-diagram-software-online

                  Actual download software
                  https://www.yworks.com/products/yed
                  http://dia-installer.de/

                  Lets not forget the office type apps that are free, openoffice, LibreOffice that have drawing - even google draw ;)

                  Or you take out a crayon and and a napkin and then snap a photo of it with your phone!

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  B 1 Reply Last reply Feb 14, 2019, 11:43 AM Reply Quote 0
                  • B
                    Bull @johnpoz
                    last edited by Feb 14, 2019, 11:43 AM

                    @johnpoz said in Sonos speakers and applications on different subnets (VLAN's):

                    Or you take out a crayon and and a napkin and then snap a photo of it with your phone!

                    Thanks for the suggestions, I tried to do the best I know.

                    login-to-viewW

                    1 Reply Last reply Reply Quote 0
                    • B
                      Bull
                      last edited by Feb 14, 2019, 7:23 PM

                      Disable IGMP Snooping on physical Switches didn't change anything.

                      Is possible that the problem is that I'm using default vlan 1 as default router ip network and this vlan don't work as spected with multicasting?

                      I think so from vmware point of view the configuration of the vnic on vlan 4095 is correct.

                      many thanks
                      Bull

                      1 Reply Last reply Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator
                        last edited by johnpoz Feb 14, 2019, 7:39 PM Feb 14, 2019, 7:33 PM

                        4095 on a vswitch will pass all tags to the VMs connected to the switch.

                        To be honest not a fan of dicking with multicast like to feed it into other Layer 2 networks. If the companies want to be so short sighted to think that their users don't run multiple segments and a way for access through a firewall and different segments then either don't use them.. I mean how hard would it be to let the app put in the IP, and clearly lists what ports need to be allowed, etc.

                        Or if you really want to use them, then just put all the devices on that L2... I do this with printer - its on the one wireless network.. So if you want to print you just need to make sure your on that SSID.. Not really a big deal... For example when want to control my roku devices with my phone or tables I join the roku vlan.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        B 1 Reply Last reply Feb 15, 2019, 7:17 PM Reply Quote 0
                        • B
                          Bull @johnpoz
                          last edited by Bull Feb 15, 2019, 7:21 PM Feb 15, 2019, 7:17 PM

                          @johnpoz I'm agree with you but looking for the future where more and more IOT devices could be connected in a home lan without any "security" control, would be necesary that the developers that works in security bring to those people that want more security in their home a tool that would be it posible. The company or solution that bring that, win the battle.

                          I know that is not normal that the mayority of the people had segmented the lan network in their home to have a better view/control of their devices, but how many people had an antivirus installed in their system some years ago?

                          I'm not want to desviate from the thread, unfortunatly this morning the multicast was working with google devices, I don't know how, I leave home and shutdown the laptop and now I cannot see the chromecast, so... I don't know where my problem is.

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bull
                            last edited by Feb 15, 2019, 9:59 PM

                            @Qinn ,only to compare with your confg. this is normal situation with "no traffic" states in the upd/multicast ?

                            LAN	pim	192.168.1.1 -> 224.0.0.13	NO_TRAFFIC:SINGLE	148 / 0	7 KiB / 0 B	
                            LAN	udp	192.168.1.240:3073 -> 255.255.255.255:6524	NO_TRAFFIC:SINGLE	451 / 0	22 KiB / 0 B	
                            LAN	udp	192.168.1.240:3074 -> 255.255.255.255:35344	NO_TRAFFIC:SINGLE	451 / 0	22 KiB / 0 B	
                            LAN	udp	192.168.1.100:56669 -> 192.168.1.255:32414	NO_TRAFFIC:SINGLE	315 / 0	15 KiB / 0 B	
                            LAN	udp	192.168.1.100:55444 -> 192.168.1.255:32412	NO_TRAFFIC:SINGLE	315 / 0	15 KiB / 0 B	
                            LAN	udp	192.168.1.104:9956 -> 192.168.1.255:9956	NO_TRAFFIC:SINGLE	79 / 0	30 KiB / 0 B
                            -------------------------------------------------------------------
                            IOT	udp	192.168.50.220:9956 -> 224.0.0.113:9956	NO_TRAFFIC:SINGLE	300 / 0	32 KiB / 0 B	
                            IOT	udp	192.168.50.21:5353 -> 224.0.0.251:5353	NO_TRAFFIC:SINGLE	327 / 0	86 KiB / 0 B	
                            IOT	udp	192.168.50.22:5353 -> 224.0.0.251:5353	NO_TRAFFIC:SINGLE	293 / 0	79 KiB / 0 B
                            

                            Thx
                            Bull

                            1 Reply Last reply Reply Quote 0
                            • N
                              nick13
                              last edited by Mar 1, 2019, 12:06 AM

                              Thank you Qinn for posting this! PIMD worked for me after hours and hours of work trying to get my HEOS (Denon's version of "Sonos") working across VLANs.

                              Is there anything that I need to do to ensure that PIMD loads with the correct settings everytime my pfSense restarts or is updated?

                              dennypageD Q 2 Replies Last reply Mar 1, 2019, 12:35 AM Reply Quote 0
                              • dennypageD
                                dennypage @nick13
                                last edited by Mar 1, 2019, 12:35 AM

                                @nick13 PIM isn't needed (or desired) for HEOS. All that is needed for HEOS is Avahi with reflection enabled. Following discovery, which is mdns based, HEOS is point to point rather than multicast.

                                N T 2 Replies Last reply Mar 1, 2019, 12:47 AM Reply Quote 0
                                • N
                                  nick13 @dennypage
                                  last edited by Mar 1, 2019, 12:47 AM

                                  @dennypage I've had Avahi installed with reflection enabled and have been unable to get it to work until I also turn on PIMD. When I kill PIMD the HEOS app quits recognizing my receivers on the other vlan.

                                  Do you have any thoughts why that might be?

                                  As a side note, I figured out the answer to my question that I posted by adding the PIMD start command to the config.xml file.

                                  dennypageD 1 Reply Last reply Mar 1, 2019, 1:14 AM Reply Quote 0
                                  • dennypageD
                                    dennypage @nick13
                                    last edited by Mar 1, 2019, 1:14 AM

                                    @nick13

                                    Check these things:

                                    You have firewall interfaces in both the client subnet (where your iPhone is) and the server subnet (where the HEOS device is).

                                    You have Avahi (2.0.0_2) with the allowed interfaces set to include both the client subnet and the server subnet.

                                    You have "Enable" and "Enable reflection" checked in the Avahi configuration.

                                    You do not have "Disable IPv4" checked in the Avahi configuration.

                                    You do not have anything defined in the "Advanced settings" section of the Avahi configuration.

                                    You have added rules to allow ptp packets from the clients to the HEOS device you are trying to control.

                                    You have restarted or disconnected/reconnected both HEOS clients and servers after changing the any of the above.

                                    1 Reply Last reply Reply Quote 1
                                    • Q
                                      Qinn @nick13
                                      last edited by Mar 3, 2019, 12:21 PM

                                      @nick13 said in Sonos speakers and applications on different subnets (VLAN's):

                                      Thank you Qinn for posting this! PIMD worked for me after hours and hours of work trying to get my HEOS (Denon's version of "Sonos") working across VLANs.

                                      Is there anything that I need to do to ensure that PIMD loads with the correct settings everytime my pfSense restarts or is updated?

                                      Nice that it helped you, the config file that PIMD is using will probably be removed once you update pfSense.

                                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                      Firmware: Latest-stable-pfSense CE (amd64)
                                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pr3dict
                                        last edited by Mar 6, 2019, 5:41 AM

                                        2 questions...

                                        I have PFsense running in an esxi environment and I don't have my network adapter in promiscuous mode. I have the pcie ethernet adapter as a directpath i/o dedicated device. Essentially vmware doesnt even see the device anymore and it as if it's native to the pfsense host machine. This should be good from my understanding?

                                        question 2: Has anyone tried this with a network cablecard tuner? I'm trying to get my hdhomerun to work with igmpproxy and pfsense doesnt seem to be sending any of the multicast traffic.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          denix
                                          last edited by Mar 16, 2019, 9:25 PM

                                          First of all, huge thanks to Qinn and others for figuring this out and providing instructions!

                                          Second, I've read and followed all the instructions here and in other threads w/o any success. So, after days of trials and errors I'd like to ask for some help.

                                          My configuration is slightly different - I need to traverse multicast for Sonos between a real no-VLAN subnet and a dedicated VLAN subnet within. I.e. there's a regular LAN where no-VLAN devices live (it's actually a Default VLAN 1 on the switch, but untagged), bound to "igb1" interface. That's where controller resides in the form of an Android app. And there's a dedicated tagged VLAN 10 for Sonos devices, bound to "igb1.10" interface. LAN on igb1 is 192.168.0.0/24 and VLAN10 on igb1.10 is 192.168.10.0/24. pfSense is 192.168.0.1 and 192.168.10.1 on each interface. Both subnets have DHCP server, both are fully open in Firewall - I can ping and send unicast traffic between those 2 subnets fine.

                                          Now, when I configure PIMD on igb1 and igb1.10, it reports that subnet for the second one is 192.168.10, while subnet for the first one is 192.168. Which leads me to believe that PIMD somehow considers VLAN10 to be "shadowed" inside LAN, not a separate subnet and refuses to retransmit multicast between them.

                                          I tried different combinations of "altnet" configuration specified w/o much success. After a while I see some other Android devices joining multicast groups reported by PIMD, but Sonos still doesn't work - an Android controller app on LAN can't find any Sonos device on VLAN10.

                                          I'd like to avoid the need to tag everything on LAN to make it a dedicated VLAN subnet. Essentially that would mean VLAN 1 as a real subnet, start tagging everything, create "igb1.1" interface for it and close LAN "igb1" down. Supposedly, that would work, as reported by others - VLAN1 <-> VLAN10, igb1.1 <-> igb1.10. Unfortunately, that means extra work, lots of gear configuration and some downtime to my network.

                                          So, I would appreciate any suggestions and ideas for how to make it work with the setup I have right now - LAN <-> VLAN10, igb1 <-> igb1.10. Thanks in advance and please let me know what you think!

                                          Q 1 Reply Last reply Mar 17, 2019, 8:12 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.