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

    25.07 and Avahi?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    18 Posts 5 Posters 2.9k Views 4 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.
    • T Offline
      terryzb @dennypage
      last edited by

      @dennypage
      Last night I upgraded the 2100 via the console with pfBlockerNG and Avahi packages left in place, and after 20 minutes or so it came back up and avahi appears to be working properly.

      1 Reply Last reply Reply Quote 2
      • T Offline
        terryzb @dennypage
        last edited by terryzb

        @dennypage
        Maybe I spoke too soon... I moved a working printer (Canon MF743) from one room to another, powered it up, it connected to the same WiFi network (PRIVATE_WIFI) and I attempted to print from the LAN, but printer was not found.

        The network consists of a wired LAN, a PRIVATE_WIFI and a GUEST_WIFI. The LAN is 172.16.1.x, and PRIVATE_WIFI, where the printer is connected, is 172.16.10.x. The AP is an Airport Extreme set to Bridge mode. Router is a 2100 running 25.0.7.1.

        Avahi is set to repeat all 3 networks. Nothing special is configured. The LAN has an allow all to any rule.

        I deleted the printer from the LAN Mac's printer list and attempted to re-add it. It showed up as a Bonjour printer, but trying to add it failed with an error that there was no communication.

        It gets a little weirder - if I instead added the printer via its IP address, the printer is successfully added. If I then go back to add the printer again via Bonjour it sees it and is able to add it.

        Even after printing to the Bonjour added printer, I don't see any ARP Table entries for the printer.

        There is a static DHCP entry for the printer but it's listed as down in DHCP Leases. The printer is set to DHCP and reports it's using that IP.

        Here are my LAN and PRIVATE_WIFI rules, the Avahi configuration, the printer states and the lease. Is it strange that there are no ARP table entries for the printer or states between the LAN Mac and the printer right after printing?

        What do I not have setup correctly so that I couldn't add the printer via Bonjour from the LAN? Apologies for the basic questions. It's working now but I'm interested in learning why it didn't work without first adding the printer via its IP.

        d90848b1-8742-441e-9454-65ae7ba218cc-image.png

        df6da1e1-1ef4-4568-b32e-7ec211fa1eea-image.png

        2dd33147-7e55-4bce-915d-4b6d91f26238-image.png

        a3de0856-30d6-477d-9fe2-5330375dfc65-image.png

        c2946e1b-1818-409a-99c2-ab2eb5a4b846-image.png

        M dennypageD 2 Replies Last reply Reply Quote 0
        • M Offline
          MoonKnight @terryzb
          last edited by

          @terryzb

          Hi,
          This is how I got my printer working across VLANs.
          https://forum.netgate.com/post/1224001

          --- 25.07.1 ---
          Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
          Kingston DDR4 2666MHz 16GB ECC
          2 x HyperX Fury SSD 120GB (ZFS-mirror)
          2 x Intel i210 (ports)
          4 x Intel i350 (ports)

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

            @terryzb said in 25.07 and Avahi?:

            I deleted the printer from the LAN Mac's printer list and attempted to re-add it. It showed up as a Bonjour printer, but trying to add it failed with an error that there was no communication.

            First and foremost, that the printer shows up via as a Bonjour printer tells you that the mDNS information is being forwarded by Avahi.

            Even after printing to the Bonjour added printer, I don't see any ARP Table entries for the printer.

            The host and printer are in different network segments, yes? As such, you would not expect to see a ARP entry. ARP is only used for addresses in the local network segment.

            Have you checked the firewall log? Do you have default logging enabled?

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              terryzb @dennypage
              last edited by terryzb

              @dennypage
              The system Logging Preferences are all enabled except for default blocks and default passes. I don't see anything unusual in the firewall logs related to the printer.

              I ran another test of deleting the printer, then adding it again with Bonjour and it found it and successfully connected. I then noticed on its front panel that it had lost its IP and was using a self-assigned. I don't know when this happened. I power-cycled it and forced it to renew its lease and it did. As I stated above, pfSense has a static DHCP IP set for the printer, and that's the IP the printer got, but pfSense says the lease is down as shown in the last pic above. Could this be Kea related? I've been running Kea since 24.11 and haven't noticed this issue. It's not that new of a printer.

              dennypageD GertjanG 2 Replies Last reply Reply Quote 0
              • dennypageD Offline
                dennypage @terryzb
                last edited by dennypage

                @terryzb said in 25.07 and Avahi?:

                I then noticed on its front panel that it had lost its IP and was using a self-assigned. I don't know when this happened.

                Self assigned addresses are link local, not accessible from other network segments. That would explain why you can see it but not connect to it.

                I power-cycled it and forced it to renew its lease and it did. As I stated above, pfSense has a static DHCP IP set for the printer, and that's the IP the printer got, but pfSense says the lease is down as shown in the last pic above. Could this be Kea related?

                Edit: [DHCP addresses are handed out by dhcpd, so probably not an issue with Kea. An issue with dhcpd perhaps]. My bad.

                Either way, outside of Avahi. Please explore the potential dhcpd issue in a new thread. Thanks.

                T 1 Reply Last reply Reply Quote 1
                • T Offline
                  terryzb @dennypage
                  last edited by

                  @dennypage
                  Thank you very much for your help.

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

                    Kea is the dhcp server if you've enabled it so I'd expect to see the printer there. The status of the IP/device is reliant on the arp table though so it could have just timed out if nothing has accessed it for a while.

                    But, yes, unrelated to Avahi.

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

                      @stephenw10 said in 25.07 and Avahi?:

                      Kea is the dhcp server if you've enabled it so I'd expect to see the printer there.

                      Ah yes, quite correct. My bad.

                      1 Reply Last reply Reply Quote 0
                      • GertjanG Offline
                        Gertjan @terryzb
                        last edited by

                        @terryzb said in 25.07 and Avahi?:

                        As I stated above, pfSense has a static DHCP IP set for the printer, and that's the IP the printer got, but pfSense says the lease is down as shown in the last pic above

                        The printer uses DHCP - and get an MAC Static lease from pfSense (using kea, or ISC).
                        As soon as the lease was granted, the pfSense ARP cache will 'know' about the relation MAC-printer and it's IP 172.16.10.201 address. This ARP cache will auto empty - after some 20 minutes or so (I don't recall).
                        If pfSense (itself) re connect to this printer, the pfSense ARP cache will contain the IP of the printer again.
                        But : does pfSense print ? Normally, a router firewall doesn't use a printer. So no big deal it loses the ARP cache info.
                        Ping from pfSense your printer, and you'll see the DHCP lease shows a green up arrow again (for a while).

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          terryzb @Gertjan
                          last edited by

                          @Gertjan @stephenw10
                          Thank you for the explanations. I will start a new thread.

                          1 Reply Last reply Reply Quote 0
                          • T terryzb referenced this topic
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.