13a16cf87f
* dhcp_server add * add test dup gw nm
41 lines
972 B
JSON
41 lines
972 B
JSON
{
|
|
"FEATURE|dhcp_server": {
|
|
"state": "enabled"
|
|
},
|
|
"VLAN_INTERFACE|Vlan100": {
|
|
},
|
|
"VLAN_INTERFACE|Vlan100|100.1.1.1/24": {
|
|
},
|
|
"VLAN_INTERFACE|Vlan200": {
|
|
},
|
|
"VLAN_INTERFACE|Vlan200|100.1.1.2/24": {
|
|
},
|
|
"VLAN_INTERFACE|Vlan300": {
|
|
},
|
|
"DHCP_SERVER_IPV4|Vlan100": {
|
|
"gateway": "100.1.1.1",
|
|
"lease_time": "3600",
|
|
"mode": "PORT",
|
|
"netmask": "255.255.255.0",
|
|
"customized_options": "option60",
|
|
"state": "enabled"
|
|
},
|
|
"DHCP_SERVER_IPV4_CUSTOMIZED_OPTIONS|option60": {
|
|
"id": "60",
|
|
"type": "string",
|
|
"value": "dummy_value"
|
|
},
|
|
"DHCP_SERVER_IPV4_RANGE|range1": {
|
|
"range": "100.1.1.3,100.1.1.5"
|
|
},
|
|
"DHCP_SERVER_IPV4_RANGE|range2": {
|
|
"range": "100.1.1.9,100.1.1.8"
|
|
},
|
|
"DHCP_SERVER_IPV4_RANGE|range3": {
|
|
"range": "100.1.1.10"
|
|
},
|
|
"DHCP_SERVER_IPV4_IP|eth0": {
|
|
"ip": "240.127.1.2"
|
|
}
|
|
}
|