Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
DHCP service "Additional Pools" logic
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP service "Additional Pools" logic (Read 1835 times)
zbig
Newbie
Posts: 14
Karma: 3
DHCP service "Additional Pools" logic
«
on:
January 19, 2023, 12:04:05 am »
Hello
I have a case where a couple of clients from my network have to get assigned some non-default DNS servers but I don't want to setup a separate (V)LAN for them. Figured that would be a perfect use case for DHCP server's "Additional Pools" given how it allows me to carve out a separate pool from the network and configure pretty much everything the "main" pool allows. As there doesn't seem to be a separate "DHCP Static Mappings" section for additional pools, I reckoned I'll just make a regular ("top-level") DHCP mapping, assign an IP from my additional pool there, leave the "DNS servers" fields empty and this way it would fetch proper DNS IP's from the additional pool's configuration. This turned out not to be the case: the clients in question got assigned the default, system-wide DNS address.
Am I doing something wrong here? If the "main/additional" DHCP pool configurations are not being resolved hierarchically the way I was expecting them to and the additional pools don't offer their own DHCP reservation UI, what is the practical use case for having them in the first place?
Cheers,
Zbig
«
Last Edit: January 19, 2023, 12:06:10 am by zbig
»
Logged
va176thunderbolt
Newbie
Posts: 49
Karma: 4
Nothing is more permanent than a temp solution
Re: DHCP service "Additional Pools" logic
«
Reply #1 on:
January 22, 2023, 02:43:12 pm »
The "Additional Pools" are for pools within the subnet of the interface:
"If you need additional pools of addresses inside of this subnet outside the above Range"
I have some legacy subnets where the ip's were not managed well, and have statics all of the place. I setup one small subnet, then added a copy of other pools in between the statics.
I think you'll have to setup a vlan to service dhcp out of the new subnet
Logged
AMD Ryzen 3 1200
GA-A320M-S2H
8GB DDR4
Intel X550-T2 10GB
32GB Industrial SSD
Shuttle SZ270R8
Intel i5-6500
8gb ram
120gb ssd
Intel x540-t2 10gb nic
FurryFennec
Newbie
Posts: 3
Karma: 1
Re: DHCP service "Additional Pools" logic
«
Reply #2 on:
January 23, 2023, 08:20:48 pm »
As you've found, leaving DNS servers blank in a scope will just "push" the interface IP to the clients as their DNS server. I believe you could use the DHCP reservations feature for those couple clients and assign those non-standard DNS servers specifically to those reservations.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
DHCP service "Additional Pools" logic