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

Status -> DHCP leases only shows one static mapping when multiple mappings map to the same IP address?

Scheduled Pinned Locked Moved DHCP and DNS
4 Posts 3 Posters 237 Views
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
    tzalmaves
    last edited by Jan 7, 2025, 4:41 PM

    Hello all,

    I have a network printer which is wireless-capable, so I've created 2 static mappings, one for the wired Mac address and one for the wireless Mac address, and they both map the same IP address. This should be fine, since the printer is either connected wirelessly or via wired cable, so Pfsense should never see both MAC addresses at the same time.

    What's odd is that the "DHCP leases" screen only seems to show one of the static mappings, and it's the mapping which is currently offline, so I'm not seeing the currently online static mapping. Is there a way to fix this problem?

    P G 2 Replies Last reply Jan 7, 2025, 4:44 PM Reply Quote 0
    • P
      provels @tzalmaves
      last edited by Jan 7, 2025, 4:44 PM

      @tzalmaves Just use 2 different IPs and your troubles will be over.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      T 1 Reply Last reply Jan 7, 2025, 4:52 PM Reply Quote 0
      • T
        tzalmaves @provels
        last edited by Jan 7, 2025, 4:52 PM

        @provels I want the device to be at the same address regardless of physical connection type.

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan @tzalmaves
          last edited by Jan 9, 2025, 12:49 PM

          @tzalmaves said in Status -> DHCP leases only shows one static mapping when multiple mappings map to the same IP address?:

          ... What's odd is that the "DHCP leases" screen only seems to show one of the static mappings

          Not odd, it's a feature, doing otherwise will break RFCs.
          As soon as it attributes an IP to a device with MAC 00:11:22:33:44:55 it will refuse to attribute the same IP to a device with MAC 55:44:33:22:11:00.

          Also, because you mentioned it : why is an IP marked as online on the leases page ? Because that page uses the ARP protocol, that broadcasts on the network with questions like : "Who has 192.168.1.10" (the IP) ? ARP is used to get one unique reply. It will get 2 .... dono what the reaction will be, but you probably just broke "the Ethernet".
          An answer was taken in account, and that MAC lease I is marked as online. The second, thanks for testing 👍 , was disregarded.

          If you have the choice between a wired and a wireless, shut down the wireless. Go for the cable. The less radio waves, the better ^^

          And take note : you're lucky. I've a printer here that, if wired and DHCP is active, will shut down the wireless interface.

          @tzalmaves said in Status -> DHCP leases only shows one static mapping when multiple mappings map to the same IP address?:

          Is there a way to fix this problem?

          You get it by now. The question was wrong, so no fix needed as nothing is broken ^^

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

          1 Reply Last reply Reply Quote 0
          2 out of 4
          • First post
            2/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received