keama/tests/optdatagrouppool4.in4
raw| 1 | # embedded option-data in DHCPv4 pool config |
| 2 | |
| 3 | # empty configs are not accepted by Kea |
| 4 | default-lease-time 1800; |
| 5 | |
| 6 | # subnet declaration |
| 7 | subnet 10.5.5.0 netmask 255.255.255.224 { |
| 8 | # pool declaration |
| 9 | pool { |
| 10 | # avoid empty pool |
| 11 | range 10.5.5.5 10.5.5.10; |
| 12 | # for a silly reason option-data is not allowed in DHCPv4 pools |
| 13 | # try to fool this rule using a group |
| 14 | group fool { |
| 15 | option domain-search "example.com", "example.org"; |
| 16 | } |
| 17 | } |
| 18 | } |