| 1 |
{ |
| 2 |
# host name config |
| 3 |
# subnet4 declaration |
| 4 |
/// This configuration declares some subnets but has no interfaces-config |
| 5 |
/// Reference Kea #245 |
| 6 |
"Dhcp4": { |
| 7 |
"subnet4": [ |
| 8 |
{ |
| 9 |
"id": 1, |
| 10 |
"subnet": "10.5.5.0/27", |
| 11 |
"pools": [ |
| 12 |
{ |
| 13 |
"pool": "10.5.5.5 - 10.5.5.10" |
| 14 |
} |
| 15 |
] |
| 16 |
} |
| 17 |
], |
| 18 |
"host-reservation-identifiers": [ |
| 19 |
"hw-address" |
| 20 |
], |
| 21 |
"reservation-mode": "global", |
| 22 |
"reservations": [ |
| 23 |
# host declaration |
| 24 |
{ |
| 25 |
"hostname": "test1", |
| 26 |
"hw-address": "00:0b:fd:32:e6:fa", |
| 27 |
"ip-address": "10.5.5.1" |
| 28 |
}, |
| 29 |
# host declaration using a longer name |
| 30 |
{ |
| 31 |
"hostname": "test2.example.com", |
| 32 |
"hw-address": "00:07:0e:36:48:19", |
| 33 |
"ip-address": "10.5.5.2" |
| 34 |
} |
| 35 |
] |
| 36 |
} |
| 37 |
} |