---
"Dhcp4": {
"interfaces-config": {
"interfaces": [ "em0" ],
"dhcp-socket-type": "raw"
},
...
"shared-networks": [ {
"name": "shared-test",
"subnet4": [
{
"subnet": "10.1.2.0/24",
"id": 1012,
"option-data": [
{ "name": "routers", "data": "10.1.2.254" },
{ "name": "broadcast-address", "data": "10.1.2.255" }
],
"reservations": [
{ "hw-address": "mac1", "ip-address": "10.1.2.22" }
]
},
{
"subnet": "10.1.3.0/24",
"id": 1013,
"option-data": [
{ "name": "routers", "data": "10.1.3.254" },
{ "name": "broadcast-address", "data": "10.1.3.255" }
],
"reservations": [
{ "hw-address": "mac2", "ip-address": "10.1.3.33" }
]
]
} ],
...
},
---
BUT, if we add the following section:
---
{
"subnet": "10.1.1.0/24",
"id": 1011,
"option-data": [
{ "name": "routers", "data": "10.1.1.254" },
{ "name": "broadcast-address", "data": "10.1.1.255" }
],
"reservations": [
{ "hw-address": "fake mac", "ip-address": "10.1.1.11" }
]
},
---
then the server works and give the two ip (10.1.2.22 and 10.1.3.33)
correctly, also if we don't use subnet 10.1.1.0/24 for dynamic dhcp.