Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP Reservations?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: DHCP Reservations? (Read 11845 times)
hunterjwizzard
Newbie
Posts: 17
Karma: 1
Re: DHCP Reservations?
«
Reply #15 on:
February 26, 2022, 11:13:57 am »
Maybe a picture will help.
On the left, see the camera IPs. Notice how two of those IPs are 192.168.1.2 & 192.168.1.73:
On the right, see the list of DHCP leases currently listed in numeric order. Notice how none of the IPs listed are 192.168.1.2 & 192.168.1.73. These IPs belong to IP cameras that are online and passing traffic. Also notice the absence of 192.168.1.60, the IP of my NVR, which is online and receiving information from the cameras.
In total there are 8 live devices on my network that don't have leases on the OPNsense DHCP. A few of these are even "smart plugs" which are going out through The Internet. The big question is why are these devices which have good valid IPs failing to appear on the OPNsense lease table?
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: DHCP Reservations?
«
Reply #16 on:
February 28, 2022, 10:56:01 pm »
OPN will register a lease only if it has issued it. I'm wondering if the picture shows that the IP has been given to camera via it's management interface. If so, OPN doesn't know about it and won't appear in the leases list.
To solve, you need to use that interface to set it to dhcp, so that it requests it from OPN.
Try the log:
Code:
[Select]
% sudo cat /var/log/dhcpd/latest.log | grep -i 'the-mac-address'
Look for a DHCPREQUEST line
Logged
hunterjwizzard
Newbie
Posts: 17
Karma: 1
Re: DHCP Reservations?
«
Reply #17 on:
March 01, 2022, 04:01:41 am »
In this case the lease was handed out by the previous router. The camera DOES have a management interface... in chinese. So I'm sure I never set it staticly. Unfortunately, neither camera has a reset switch. So, new plan: unplug camera, set computer on static IP on that address, plug camera back in thus forcing it to pick up a new IP. Will let you know.
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
DHCP Reservations?