{ # DHCPv4 two subnets in shared-network declaration config # shared-network declaration "Dhcp4": { "interfaces-config": { "interfaces": [ "en0" ] }, /// Kea shared-networks are different, cf Kea #236 "shared-networks": [ { "name": "foobar", "subnet4": [ # subnet declaration { "id": 1, "subnet": "10.5.5.0/27", "valid-lifetime": 3600, "option-data": [ # another option { "space": "dhcp4", "name": "ip-forwarding", "code": 19, "data": "true" } ], "pools": [ # pool inside the subnet { "pool": "10.5.5.5 - 10.5.5.10" } ] }, # second subnet declaration { "id": 2, "subnet": "10.10.10.0/27", "pools": [ # pool inside the subnet { "pool": "10.10.10.5 - 10.10.10.10" } ] } ], "interface": "en0", "option-data": [ # interface # option { "space": "dhcp4", "name": "domain-search", "code": 119, // "original-data": "\"example.com\", \"example.org\"", "data": "example.com, example.org" } ], "valid-lifetime": 1800 } ] } }