Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
ISC DHCPV4 handing out static IPs as dynamic
« previous
next »
Print
Pages: [
1
]
Author
Topic: ISC DHCPV4 handing out static IPs as dynamic (Read 220 times)
buedi
Newbie
Posts: 4
Karma: 0
ISC DHCPV4 handing out static IPs as dynamic
«
on:
October 07, 2024, 08:46:39 pm »
Hi everyone,
I am pretty sure there is something I am doing wrong and you can point me in the right direction.
I run OPNsense 24.7.5_3-amd64 and utilizing ISC DHCPv4 to handle my LAN IP Pool.
It is set to hand out IPs in the range of 10.0.0.100 to 10.0.0.150. Within that range, I configured a static mapping to one of my devices MAC address, so it always will get the 10.0.0.149 address.
For whatever reason, every new system or VM I join to the network gets the 10.0.0.149 address. It feels like instead of picking one of the other 49 free addresses, it gives out the Static one on purpose and not by accident. But I can not wrap my head around why this is.
Attached is a Screenshot of the current situation. The Host "BOEXLE" is the one with the correct MAC and the static reservation. I spun up a Container on another system and it gets the .149. Yesterday I spun up a KVM VM on one of my other hosts and it got the .149 too. I do not understand why this is. I thought reserving a IP within the pool for a specific MAC should prevent from handing out this IP to another system.
Logged
Patrick M. Hausen
Hero Member
Posts: 6843
Karma: 574
Re: ISC DHCPV4 handing out static IPs as dynamic
«
Reply #1 on:
October 07, 2024, 08:47:57 pm »
Static mappings MUST lie outside the dynamic range.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
buedi
Newbie
Posts: 4
Karma: 0
Re: ISC DHCPV4 handing out static IPs as dynamic
«
Reply #2 on:
October 07, 2024, 09:27:44 pm »
Ooooh, now it dawns on me! So static mappings are not used to reserve specific IPs within the range for systems, but they are put on top (and outside) of the range. That's it. As I hoped... total User error on my side. Thank you very much for helping me! :-)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
ISC DHCPV4 handing out static IPs as dynamic