Skip to content

Commit c39d33a

Browse files
sebschradertomaszmrugalski
authored andcommitted
[5184] Add authoritative flag to sample configs
1 parent 121c30d commit c39d33a

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

doc/examples/kea4/advanced.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@
115115
// can be overridden on a subnet level.
116116
"match-client-id": true,
117117

118+
// By default, Kea ignores requests by clients for unknown IP addresses,
119+
// because other non-cooperating DHCP servers could reside on the same
120+
// network (RFC 2131). This parameter is defined globally, but can be
121+
// overriden on a subnet level
122+
"authoritative": false,
123+
118124
// The following list defines subnets. Each subnet consists of at
119125
// least subnet and pool entries. One extra feature that requires
120126
// some explanation is user-context. This is a structure that you can
@@ -157,6 +163,14 @@
157163
"relay": {
158164
"ip-address": "192.168.1.1"
159165
}
166+
},
167+
{
168+
// This particular subnet has the authoritative value changed.
169+
// This casuses Kea to reply to requests with unknown IP addresses
170+
// with a DHCPNAK message.
171+
"pools": [ { "pool": "192.0.5.100 - 192.0.5.200" } ],
172+
"subnet": "192.0.5.0/24",
173+
"authoritative": true
160174
}
161175
]
162176
},

doc/examples/kea4/several-subnets.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
// globally, but can be overridden on a subnet level.
4141
"match-client-id": true,
4242

43+
// By default, Kea ignores requests by clients for unknown IP addresses,
44+
// because other non-cooperating DHCP servers could reside on the same
45+
// network (RFC 2131). This parameter is defined globally, but can be
46+
// overriden on a subnet level
47+
"authoritative": false,
48+
4349
// The following list defines subnets. Each subnet consists of at
4450
// least subnet and pool entries.
4551
"subnet4": [

doc/examples/kea4/shared-network.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"match-client-id": false,
5151
"option-data": [ ],
5252
"rebind-timer": 150,
53+
"authoritative": true,
5354

5455
// If all the traffic coming from that shared network is reachable
5556
// via relay and that relay always use the same IP address, you

0 commit comments

Comments
 (0)