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

    mDNS or Multicast Traffice Not Passing Between Multiple Vlans

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 6 Posters 525 Views 6 Watching
    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.
    • A Offline
      ayansaari
      last edited by

      Dear all pfsense experts,

      I'm using pfSense 2.8.0-RELEASE, and I have multiple VLANs under my LAN.

      The problem is that I can’t discover printers or IoT devices across VLANs.
      If I connect to the same VLAN as the printers, everything shows up just fine. But from other VLANs, the printers and devices are not visible.

      I believe pfSense does not allow multicast (like mDNS) between VLANs by default.

      Can anyone with good pfSense knowledge help me set it up so I can discover printers across different VLANs?

      Adil Yaqoob
      adil@itsoll.com

      W 1 Reply Last reply Reply Quote 0
      • W Online
        WN1X @ayansaari
        last edited by

        @ayansaari Install and configure Avahi.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ayansaari @WN1X
          last edited by

          @WN1X I installed and configure it but still unable to view devices from the other vlans

          dennypageD 1 Reply Last reply Reply Quote 0
          • dennypageD Offline
            dennypage @ayansaari
            last edited by

            @ayansaari Please post your Avahi config page (Services / Avahi).

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              ayansaari @dennypage
              last edited by

              @dennypage avahi 1.png avahi 2.png rules.png

              dennypageD 1 Reply Last reply Reply Quote 0
              • dennypageD Offline
                dennypage @ayansaari
                last edited by

                @ayansaari Suggestions I would make:

                • Start by removing all the service entries, which will allow all services to be forwarded. You can add back appropriate restrictions later. When you do, make sure they are the correct ones for your printing protocols.
                • If you don't have one yet, get an mDNS/Bounjour browser. This will be much better than trying to use OS printer discovery tools. For iOS or MacOS I recommend Discovery.app. For Windows I don't have a specific recommendation, but there are a few out there (perhaps someone else has a recommendation to offer?).
                • Disable Publishing in the advanced section. It's not related to your issue, but it almost certainly is not something you want to be doing on your firewall. That's why it's hidden in the Advanced section. 🤕
                A 2 Replies Last reply Reply Quote 0
                • A Offline
                  ayansaari @dennypage
                  last edited by

                  @dennypage I think you didn't have the sound knowledge about this issue

                  W patient0P 2 Replies Last reply Reply Quote 0
                  • W Online
                    WN1X @ayansaari
                    last edited by

                    @ayansaari said in mDNS or Multicast Traffice Not Passing Between Multiple Vlans:

                    @dennypage I think you didn't have the sound knowledge about this issue

                    I agree with @dennypage suggestions for making cross VLAN multicast work. Give them a try before discounting his advice.

                    1 Reply Last reply Reply Quote 1
                    • patient0P Online
                      patient0 @ayansaari
                      last edited by

                      @ayansaari said in mDNS or Multicast Traffice Not Passing Between Multiple Vlans:

                      think you didn't have the sound knowledge about this issue

                      I'm sure you are aware that @dennypage is the maintainer of the Avahi pfSense package and the author of mdns-bridge package (alternatvie package to Avahi).

                      It's save to say he knows what he talks about.

                      A 1 Reply Last reply Reply Quote 4
                      • A Offline
                        ayansaari @patient0
                        last edited by

                        @patient0 Okay brother I did as he said I still no traffic passing between cross vlans

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          ayansaari @dennypage
                          last edited by

                          @dennypage I follow your seggestions but still unable to access printer devices from the other vlan, can you give me some mins to check it via remotely,
                          ayansaari@gmail.com

                          c0410286-cb23-4971-8713-d2ffe139c99b-image.png

                          dennypageD 1 Reply Last reply Reply Quote 0
                          • dennypageD Offline
                            dennypage @ayansaari
                            last edited by

                            @ayansaari said in mDNS or Multicast Traffice Not Passing Between Multiple Vlans:

                            I follow your seggestions but still unable to access printer devices from the other vlan

                            "unable to access printer devices" isn't sufficient detail to identify your issue.

                            Are you using an mDNS browser and not finding any entries? If so, this would be an Avahi issue. If this is what you are seeing, please post screenshots of the mDNS browser when connected to the various network segments.

                            Or are you seeing the printer, but not able to connect to it? If so, this would be a firewall rules issue. I'm sure you are aware of this, but just to make sure, mDNS (Avahi or mdns-bridge) is only used to facilitate discovery of services. Actual access to the services following discovery would be controlled by firewall rules. If this is what you are seeing, have you checked the firewall log?

                            FWIW, assuming that your firewall is at address 172.16.10.254, your states information for FETMANAGEMENT shows for that the firewall has received mDNS from hosts .7, .8 and .9, and also sent messages. Did you disable publishing in Avahi as I suggested? Assuming so, messages sent from the firewall would be mDNS information that has been forwarded from another interface.

                            That's the only interface shown, so I cannot say anything about the others... Have you looked at all the interfaces to check mDNS activity? Choose Interface "all" and filter on "5353".

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              ayansaari @dennypage
                              last edited by

                              @dennypage Pfsense Vlans.jpg
                              Aliens1.png
                              Ports.png
                              FetServer Unable to discover printer.png
                              FetServer vlan rule.png
                              Avahi 11.png
                              Avahi 12.png
                              Avahi logs.png
                              No printer discover.png

                              dennypageD 1 Reply Last reply Reply Quote 0
                              • GertjanG Gertjan referenced this topic
                              • dennypageD Offline
                                dennypage @ayansaari
                                last edited by

                                @ayansaari Two things I told you previously:

                                Please re-read my posts above.

                                As I said previously, firewall rules are not used to forward mDNS. The firewall rule forwarding port 5353 has absolutely no purpose. Avahi does not forward packets from the source network to the destination network -- it sends packets that it creates to the destination containing information gathered from packets it receives in the source network.

                                Also as I said previously, remove every entry you have in the Service list for Avahi Reflection Filtering, and do not add any entries to the Service list until you have successfully tested. And again, disable Avahi Publishing -- having this enabled is a bad idea, especially if you do not understand the basics of mDNS.

                                A 1 Reply Last reply Reply Quote 2
                                • A Offline
                                  ayansaari @dennypage
                                  last edited by

                                  @dennypage I’ve tried almost everything to resolve this issue, but I’m still unable to find a solution. I also asked you to give me a few minutes to check it remotely, but unfortunately, you didn’t respond to my request.

                                  Sometimes, live support is necessary—please try to understand.

                                  Just for remote access
                                  +92 321 4050 320
                                  ayansaari@gmail.com

                                  dennypageD 1 Reply Last reply Reply Quote 0
                                  • stephenw10S Offline
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Why not just add the printer by IP address and forget about mDNS?

                                    But if you must did you try an mDNS browser to see what is being advertised?

                                    A 1 Reply Last reply Reply Quote 2
                                    • dennypageD Offline
                                      dennypage @ayansaari
                                      last edited by

                                      @ayansaari said in mDNS or Multicast Traffice Not Passing Between Multiple Vlans:

                                      I also asked you to give me a few minutes to check it remotely, but unfortunately, you didn’t respond to my request.

                                      Are you asking to hire me as a consultant to fix your firewall via remote login? I don't think that is a particularly good choice, not only for security reasons, but also for cost reasons -- I am very, very expensive. 🤠

                                      I recommend you hire someone locally who has pfSense experience instead. Failing that, I believe Netgate offers professional services. I don't know what countries they offer services in or what their rates are, so you would have to contact them and ask.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        ayansaari @stephenw10
                                        last edited by

                                        @stephenw10 dear I was tried by giving IP Address of the printer and no chance to discover it

                                        I think Pfsense is not have the ability to multicast traffic between vlans

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S Offline
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          If you add the device by IP address then mDNS is not involved at all. No multicast traffic is required. The firewall just routes traffic between the subnets like any other traffic.

                                          Now you may not be able to add things by IP because for some reason developers like to remove that option in order to somehow make it.... easier I guess. 🙄
                                          But if you can, like in Windows, it should just work.

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            ayansaari @dennypage
                                            last edited by

                                            @dennypage dear as you give suggestions I done at and still unable to discover devices from the other vlans

                                            so I think pfsense is not have the ability to manage multiple vlans
                                            I think it is a good firewall when we have a single subnet

                                            stephenw10S M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.