Assign IPs based on sequence MAC address rather than whole MAC address

I am using a connectedIO device that has OpenWrt version CHAOS CALMER (v0.2.1, r21).

So is possible to using the config host line to lease out IPs based on OUI rather than the entire MAC address of the device?

https://openwrt.org/docs/guide-user/base-system/dhcp#classifying_clients_and_assigning_individual_options

First off thank you for the reply! So if I made something like this:

config host
	option ip '192.168.1.50'
	option mac '00:a1:ff:*:*:*'
	option name 'Name'

IT should assign based on that? That link is helpful just checking my syntax.

Looks fine, assuming that forum markup has eaten the asterisks. :slight_smile:

Yes it had. I corrected that now.

@bladevalant546
Please use "Preformatted text </>" for logs, scripts, configs and general console output.
grafik

1 Like