Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Printer not working across VLANS

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    16 Posts 6 Posters 583 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.
    • N Offline
      nohairitguy
      last edited by

      Hi, I hope I can get some help with this issue. I am at a site have not been to before and am trying to untangle why people can't print from the Wi-Fi and other subnets. There is a floating rule with quick match allowing the different subnets access to the printer on ports (pictured below):

      be133076-cbd2-43a3-9c09-6bdf082240ed-image.png

      ports allowed:
      b2f22abc-bf73-4258-9142-6753cbd2afae-image.png

      WLAN has its own block rule from the LAN network, which is where the printer resides. The other is a part of an interface group with a similar rule. My understanding is that floating rules resolve before the interface rules, so those block rules couldn't be the issue (right)?

      WLAN:
      ec86600f-3e5c-4778-9169-45fca4745e5d-image.png
      Other Subnets:
      3596beb7-5bbf-4b89-907a-5625b972ba1d-image.png

      I know the rule matches show zero, but the block rules had hits, I had disabled them in an attempt to get things working with no luck. So, I re-enabled them. I've also migrated the devices on the radio network from an unmanaged switch to the same managed switch the printer is on. My thinking in doing this was that the unmanaged switch couldn't pass VLAN traffic and that is why it didn't reach the printer. Still no luck. I am one of one here, no one else to turn to for help figuring this out. Any help is greatly appreciated.

      luckman212L 1 Reply Last reply Reply Quote 0
      • luckman212L Offline
        luckman212 LAYER 8 @nohairitguy
        last edited by luckman212

        @nohairitguy Why are you trying to use Floating Rules for this? Have you read https://docs.netgate.com/pfsense/en/latest/firewall/floating-rules.html (especially the
        "Precautions/Caveats" section)? That's really not the intended use. If you're trying not to have to make redundant rules on every LAN/VLAN interface, use Interface Groups, not Floating Rules...

        Start simple ... just focus on one network at a time. E.g. RADIO network, make an allow rule to WLAN or LAN subnet. See if that works... then expand from there. Add more interfaces. Enable logging on the rules to help you figure out where things are getting blocked.

        N M 2 Replies Last reply Reply Quote 3
        • JKnottJ Offline
          JKnott
          last edited by

          Do you mean they can't click on a icon? Or even when they have the IP for the printer they can't use it. The first method relies on broadcasts to work, but broadcasts are not passed through a router without help. The second would be a routing or filter problem.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nohairitguy @JKnott
            last edited by

            @JKnott Initially the printer was not reachable at all, could not add it to any computer on either network. I've been plugging away at this morning so far and have found that nothing from Radio can reach LAN. I've followed luckman's advice and removing the floating rule in favor of interface rules. WLAN network can print now. But Radio group still can't talk to LAN at all.

            dennypageD 1 Reply Last reply Reply Quote 0
            • N Offline
              nohairitguy @luckman212
              last edited by

              @luckman212 Thanks, I've done so and now have one (WLAN) of the two problem networks printing. The Radio network group can't reach anything on the LAN network though. Still puzzling that one out.

              luckman212L 1 Reply Last reply Reply Quote 0
              • luckman212L Offline
                luckman212 LAYER 8 @nohairitguy
                last edited by

                @nohairitguy good. not sure if you've tried already, but there may be some stale states lingering around that are blocking traffic -- if you haven't rebooted the entire firewall or at least reset the state table, I would try that first ... if it's still failing then my previous suggestion of enabling logging on your rules wherever you can, and then inspecting the firewall log may reveal where the blocking is happening.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mr_nets @luckman212
                  last edited by mr_nets

                  @luckman212
                  Oh Interface Groups, that's such a good idea,I hadn't thought of that. I've some homework to do now ๐Ÿ˜ ๐Ÿ˜

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    nohairitguy
                    last edited by

                    I think I may have an idea but I'm not sure. So, the interface group (Radio Group) is assigned to igc1 (named Radio Trunk) that has no IP settings but is enabled.
                    alnoprint2.png
                    I enabled logging on the rule for printing from the interface group and do see points where the computer I'm working with is able to contact the printer on 9100. I've been able to add the printer but have to specify it communicate over 9100 (RAW) and also have to manually add the driver. No print jobs get through.
                    352ebfc2-2be2-4306-9115-8f5797920ace-image.png
                    But I also see this:
                    alnoprint1.png

                    I know thats mDNS but could it be blocking other traffic? I'm checking the logs now to see that.

                    Do I need to disable igc1? Is the fact that it is enabled causing this issue and why? Feel like I'm over my head a bit with this.

                    luckman212L 1 Reply Last reply Reply Quote 0
                    • luckman212L Offline
                      luckman212 LAYER 8 @nohairitguy
                      last edited by luckman212

                      I have to admit without a complete picture (diagram, or at least a full list) I'm struggling to follow along with the network design you've got here. What are RADIOTRUNK, BARIX, and PROPHET?

                      Big picture, blocking mdns should not prevent you from adding a printer manually, but unless you install something like the mdns-bridge package to proxy that multicast traffic, you won't be able to auto-discover printers across VLANs.

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

                        @nohairitguy said in Printer not working across VLANS:

                        Initially the printer was not reachable at all, could not add it to any computer on either network.

                        Firewall rules will not help with this. Adding a printer requires mDNS forwarding. Are you doing that? Using mDNS-Bridge or Avahi?

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          nohairitguy @dennypage
                          last edited by

                          @dennypage Avahi is being used for mDNS broadcast.

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            nohairitguy @luckman212
                            last edited by

                            @luckman212 I understand. There were two of us where I'm working now and that other person handled stuff like this. They left (a while ago) so I'm trying to pick up things. I'll do my best to detail things. Barix and Prophet are VLAN networks. Prophet hosts some automation and is a member of the Radio network group. Barix network is for a device that has some port forwards, it is completely isolated and does not need printing. All the networks on the firewall cannot communicate with each other except for pass thru rules for things such as printers and only on the ports needed communicate with the device. People do work from the automation computers on the Prophet network though and they also need to print sometimes.

                            Physically it's not a very complicated configuration. The pfSense box is both the router and firewall for the network. LANs are passed over to a managed switch and distributed from there.

                            I thought I had this figured out when I first arrived as all the devices on the Prophet network were on their own unmanaged switch. So, I'd assumed that the switch was the issue because it (the unmanaged switch) can't handle VLANs. I moved all the prophet devices to managed switch after tagging/untagging the needed interfaces. That didn't fix things. I'm still puzzling this out but am now handling tickets and other stuff so I may not be as responsive. Thanks again for the help.

                            luckman212L johnpozJ dennypageD 3 Replies Last reply Reply Quote 0
                            • luckman212L Offline
                              luckman212 LAYER 8 @nohairitguy
                              last edited by

                              Hmm. Ok well come back here with specific questions when you've back at it. For now, I suggest ditching Avahi (which is fairly buggy) and replacing it with @dennypage 's excellent mDNS-bridge, which has 0 bugs ๐Ÿ˜ฌ

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

                                @luckman212 said in Printer not working across VLANS:

                                @dennypage 's excellent mDNS-bridge, which has 0 bugs

                                A bold claim... ๐Ÿ˜ฐ

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ Offline
                                  johnpoz LAYER 8 Global Moderator @nohairitguy
                                  last edited by

                                  @nohairitguy said in Printer not working across VLANS:

                                  , I'd assumed that the switch was the issue because it (the unmanaged switch) can't handle VLANs.

                                  you can for sure use a dumb or non vlan aware switch - if its only in 1 vlan.

                                  managed switch (access vlan X untagged port) -- dumb switch -- devices all in vlan X

                                  Odd that a place of work, must be a tiny little business? Would use discovery to find printers. Why would work devices not point to the printers by IP or fqdn. Why would there not be a print server?

                                  Are they trying to leverage devices like IPads or tablet devices or phones as work devices to print with? Any actual OS, windows, linux etc would allow for directly adding a printer vs having to use discovery to find it. Be it directly to the printer or via a print server.

                                  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 26.07 | Lab VMs 2.9.0, 26.07

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

                                    @nohairitguy Another interim suggestion I would make is to ditch the port specific list and just allow all ports through to the printer's address. There is little value in trying to restrict individual ports to a printer, but if you want to do that I'd get it working without a port list first and add the port list after.

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post
                                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                    Privacy Policy · Cookie Policy