1
1
mirror of https://github.com/eblot/pybootd.git synced 2024-07-15 01:30:24 +03:00

Document MAC mask syntax

This commit is contained in:
Emmanuel Blot 2020-04-14 17:16:08 +02:00
parent 91f371b24a
commit 3eb8e2ed69
2 changed files with 10 additions and 1 deletions

View File

@ -265,6 +265,12 @@ block. The value for each entry is a boolean, *i.e.*::
Note that due to a limitation of the configuration parser, ':' byte separator
in MAC addresses is not allowed, please use '-' separator.
It is possible to use a mask syntax to specify a range of MACs addresses, for
example:
AA-BB-CC/24 = enable
Accepts all Ethernet addresses whose OUI is AA:BB:CC.
``[static_dhcp]`` section
.........................
@ -346,6 +352,8 @@ likely needed.
Each entry is a MAC address, using the ``-`` byte separator, with a boolean
value.
This section also accepts mask syntax, see ``[mac]`` section for details.
``[tftpd]`` section
...................

View File

@ -32,11 +32,12 @@ default = pxelinux.0
[buggy_clients]
; list of stupid clients (mostly Intel's) that ignores valid subnet broadcast
; and require global DHCP offer broadcast
1C-69-7A-00-6F-4C = yes
1C-69-7A/24 = yes
[mac]
; see doc: byte separator should be defined with dash, not column
00-AA-55-12-34-56 = enable
1C-69-7A/24 = enable
[uuid]
12345678-abcd-ef00-1111-abcdefabcdef = enable