network: dhcp-server: introduce [DHCPServerStaticLease] section
This commit is contained in:
committed by
Yu Watanabe
parent
65a0ef2341
commit
c517a49bf7
@@ -0,0 +1,29 @@
|
||||
[Match]
|
||||
Name=veth-peer
|
||||
|
||||
[Network]
|
||||
Address=10.1.1.1/24
|
||||
DHCPServer=true
|
||||
IPMasquerade=true
|
||||
IPForward=true
|
||||
|
||||
[DHCPServer]
|
||||
PoolOffset=0
|
||||
PoolSize=20
|
||||
EmitDNS=yes
|
||||
DNS=9.9.9.9
|
||||
|
||||
[DHCPServerStaticLease]
|
||||
MACAddress=12:34:56:78:9a:bc
|
||||
Address=10.1.1.2
|
||||
|
||||
[DHCPServerStaticLease]
|
||||
MACAddress=12:34:56:78:9a:bc
|
||||
Address=10.1.1.3
|
||||
|
||||
[DHCPServerStaticLease]
|
||||
Address=10.1.1.4
|
||||
|
||||
[DHCPServerStaticLease]
|
||||
MACAddress=12:34:56:78:9a:bf
|
||||
Address=10.1.1.5
|
||||
@@ -366,6 +366,9 @@ RelayTarget=
|
||||
RelayAgentCircuitId=
|
||||
RelayAgentRemoteId=
|
||||
ServerAddress=
|
||||
[DHCPServerStaticLease]
|
||||
MACAddress=
|
||||
Address=
|
||||
[NextHop]
|
||||
Id=
|
||||
Gateway=
|
||||
|
||||
Reference in New Issue
Block a user