Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
DHCP MAC Address Control
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCP MAC Address Control (Read 1440 times)
Winor
Newbie
Posts: 1
Karma: 0
DHCP MAC Address Control
«
on:
April 15, 2023, 11:50:12 pm »
Hi everyone! I just switched from pfSense (and so far everything went smoothly) and decided to also start better managing my devices. I was wondering if I can assign a pool for a specific MAC address, for example:
I want all mac address that start with 00:0c to be assigned an IP address from a specific pool and not other.
The reason for this is just for convenience, as I thought to use it as a way to more easily identify and control specific devices in my network.
I am aware of the MAC Address Control option that allows me to do something like that but if I understand correctly there is no way to prevent other device on the network to receive an IP from the same pool because there is no way (that I am aware of) to deny all mac address that don't fall on the allow list.
Thank you!
Logged
meyergru
Hero Member
Posts: 1700
Karma: 167
IT Aficionado
Re: DHCP MAC Address Control
«
Reply #1 on:
April 16, 2023, 12:48:36 am »
You can define additional IP pools for an interface. Within those, you can allow MAC prefixes, such that those pool addresses can only be used by a certain type of hardware.
However, unless you have very specific needs and lots of devices, you may be better of by just using static reservations for your devices, regardless of MAC OUI.
Matter-of-fact, nowadays, MAC OUI ranges are being assigned in smaller blocks than 24 bits prefix (MA-L), namely MA-M (28 bits) and MA-S (36 bits). Thus, such blocks may be non-consecutive.
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
DHCP MAC Address Control