mirror of
https://github.com/eblot/pybootd.git
synced 2024-09-11 22:17:44 +03:00
Document MAC mask syntax
This commit is contained in:
parent
91f371b24a
commit
3eb8e2ed69
@ -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
|
Note that due to a limitation of the configuration parser, ':' byte separator
|
||||||
in MAC addresses is not allowed, please use '-' 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
|
``[static_dhcp]`` section
|
||||||
.........................
|
.........................
|
||||||
@ -346,6 +352,8 @@ likely needed.
|
|||||||
Each entry is a MAC address, using the ``-`` byte separator, with a boolean
|
Each entry is a MAC address, using the ``-`` byte separator, with a boolean
|
||||||
value.
|
value.
|
||||||
|
|
||||||
|
This section also accepts mask syntax, see ``[mac]`` section for details.
|
||||||
|
|
||||||
|
|
||||||
``[tftpd]`` section
|
``[tftpd]`` section
|
||||||
...................
|
...................
|
||||||
|
@ -32,11 +32,12 @@ default = pxelinux.0
|
|||||||
[buggy_clients]
|
[buggy_clients]
|
||||||
; list of stupid clients (mostly Intel's) that ignores valid subnet broadcast
|
; list of stupid clients (mostly Intel's) that ignores valid subnet broadcast
|
||||||
; and require global DHCP offer broadcast
|
; and require global DHCP offer broadcast
|
||||||
1C-69-7A-00-6F-4C = yes
|
1C-69-7A/24 = yes
|
||||||
|
|
||||||
[mac]
|
[mac]
|
||||||
; see doc: byte separator should be defined with dash, not column
|
; see doc: byte separator should be defined with dash, not column
|
||||||
00-AA-55-12-34-56 = enable
|
00-AA-55-12-34-56 = enable
|
||||||
|
1C-69-7A/24 = enable
|
||||||
|
|
||||||
[uuid]
|
[uuid]
|
||||||
12345678-abcd-ef00-1111-abcdefabcdef = enable
|
12345678-abcd-ef00-1111-abcdefabcdef = enable
|
||||||
|
Loading…
Reference in New Issue
Block a user