Status -> DHCP leases only shows one static mapping when multiple mappings map to the same IP address?
-
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?
-
@tzalmaves Just use 2 different IPs and your troubles will be over.
-
@provels I want the device to be at the same address regardless of physical connection type.
-
@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 ^^