API
Update the WAN connection settings, most of option will update only when the information is provided.
Available in 8.1.1 or later
Input Parameters
Type | Notation | Mandatory | Description | |
action | String | {update} | required | Action of the API, now only support update. |
list | Array | list of <WAN_Config_Obj> | required | List of the WAN connection objects which are going to be updated. |
<WAN_Config_Obj>
Return Parameters
Type | Notation | Mandatory | Description | ||
id | Number | <conn_id> | optional | WAN connection ID | |
name | String | <string> | optional | WAN connection name | |
enable | Boolean | <Boolean> | optional | Enable the WAN connection | |
schedule | Number Null | <Number> <Null> | optional | Schedule ID for the WAN; To disable schedule, give the JSON null | |
connection | Object | <Connection_Obj> | optional | Connection Information | |
modem | Object | <Modem_Obj> | optional | Modem information Only supported when the WAN is modem type | |
cellular | Object | <Cellular_Obj> | optional | Cellular information Only support when the WAN is cellular | |
wifi | Object | <Wifi_Obj> | optional | Wi-Fi WAN information Only support when the WAN is Wi-Fi | |
wifiProfile | – | – | optional | Wi-Fi Profile which is used by the Wi-Fi WAN Only support when the WAN is Wi-Fi NOTE: This field is not confirmed yet. If you want to manage the Wi-Fi profile, try the A below: POST cmd.wifi.connect POST cmd.wifi.disconnect POST cmd.wifi.forget Please make sure the SSID is nearby | |
physical | Object | <Physical_Obj> | optional | Physical information | |
healthcheck | Object | <HealthCheck_Obj> | optional | Healthcheck information | |
bandwidthAllowanceMonitor | Object | <BW_Allowance_Monitor_Obj> | optional | Bandwidth allowance monitor | |
multipleIP | Array | list of <ipv4> | optional | Additional IP | |
ddns | Object | <DDNS_Obj> | optional | Dynamic DNS service |
<Connection_Obj>
Type | Notation | Mandatory | Description | |
cellularModule | Object | <Cellular_Module_Obj> | Optional | Cellular Module |
routingMode | String | { IP Forwarding, NAT } | Optional | Routing Mode |
pepvpnNat | Boolean | <boolean> | Optional | PepVPN traffic via this WAN connection be in bridge (IP forwarding), with no NAT involved |
useLanIp | Boolean | <boolean> | Optional | Local out to IP forwarding WAN traffic will SNAT to defau trunk LAN IP instead of WAN IP |
method | Object | <Connection_Method_Obj> | Optional | Connection method information This field only for Static IP, DHCP, PPPoE, L2TP, GRE and OpenVPN |
dns | Object | <DNS_Obj> | Optional | DNS information |
priority | Number | <integer> | Optional | WAN Priority |
groupSet | Number | <integer> | Optional | Group number if support multiple groups of WAN |
ignoreDefaultGateway | Boolean | <boolean> | Optional | ignore default gateway |
hotStandBy | Boolean | <boolean> | Optional | Hot Stand by state |
idleTimeout | Number Null | <integer> <Null> | Optional | Idle timeout To disable idle timeout, give the JSON null |
icmpPing | Boolean | <boolean> | Optional | ICMP Piing |
bandwidth | Object | <Bandwidth_Map_Obj> | Optional | Bandwidth information |
<Cellular_Module_Obj>
Type | Notation | Mandatory | Description | ||
networkMode | String | <string> | optional | Network Mode |
<Connection_Method_Obj>>
Type | Notation | Mandatory | Description | ||
type | String | { staticIp, dhcp, pppoe, l2tp, gre, openvpn } | optional | Network Mode | |
detail | Object | <DHCP_Obj> <Static_IP_Obj> <PPPoE_Obj> <L2TP_obj> <GRE_Obj> <OpenVPN_Obj> | optional | Detail of connection method To update the connection method, ‘type’ cannot be absent |
<DHCP_Obj>
Type | Notation | Mandatory | Description | ||
hostname | String | <string> | optional | Hostname | |
ipPassthrough | Boolean | <boolean> | optional | IP passthrough Only valid when that is not in drop in mode and port type is cellular or ethernet | |
staticRoute | Array | list of <Network_Obj> | optional | Static Route for IP passthroughOnly valid when that is not in drop in mode and port type is cellular or ethernet and ‘ipPassthrough’ is true |
<Static_IP_Obj>
Type | Notation | Mandatory | Description | ||
ip | String | <ipv4> | required | IP address | |
mask | Number | [ 0,32 ] | required | Subnet Mask | |
gateway | String | <ipv4> | required | Default gateway | |
ipPassthrough | Boolean | <boolean> | optional | IP passthrough Only valid when that is not in drop in mode and port type is cellular or ethernet | |
staticRoute | Array | list of <Network_Obj> | optional | Static Route for IP passthroughOnly valid when that is not in drop in mode and port type is cellular or ethernet and ‘ipPassthrough’ is true |
<PPPoE_Obj>
Type | Notation | Mandatory | Description | ||
username | String | <string> | required | PPPoE Username | |
password | String | <string> | required | PPPoE Password | |
service | String | <string> | optional | Service Information which is provide by Internet Service Provider(ISP) To clear the setting, give the JSON null | |
ip | String | <ipv4> | optional | IP address Information which is provide by Internet Service Provider(ISP) To clear the setting, give the JSON null | |
modemAccess | Object | <Network_Obj> | optional | Management IP Address Information which is provide by Internet Service Provider(ISP) To clear the setting, give the JSON null | |
keepaliveInterval | Number Null | <integer> <null> | optional | Keep alive interval To clear the setting, give the JSON null | |
keepaliveRetry | Number Null | <integer> <null> | optional | Keep alive retry To clear the setting, give the JSON null |
<L2TP_Obj>
Type | Notation | Mandatory | Description | ||
username | String | <string> | required | L2TPUsername | |
password | String | <string> | required | L2TP Password | |
host | String | <string> | required | host IP address | |
staticIp | String | <string> | optional | Static IP To clear the setting, give the JSON null |
<GRE_Obj>
Type | Notation | Mandatory | Description | ||
staticIp | Object | <Static_IP_Common_Obj> | optional | Static IP Object This field is mandatory when the WAN port type is ethernet only | |
host | String | <string> | required | Remote GRE host | |
local | String | <string> | required | Tunnel Local IP address | |
remote | String | <string> | required | Tunnel Remote IP address | |
nat | String | <string> | optional | Outgoing NAT IP address |
OpenVPN_Obj>
Type | Notation | Mandatory | Description | ||
username | Srting | <string> | optional | Username | |
password | String | <string> | required | Password |
<Static_IP_Common_Obj>
Type | Notation | Mandatory | Description | ||
ip | String | <ipv4> | required | IP address | |
mask | Number | [ 0, 32 ] | required | Subnet Mask | |
gateway | String | <ipv4> | required | Gateway |
<Network_Obj>
Type | Notation | Mandatory | Description | ||
ip | String | <ipv4> | required | IP address | |
mask | Number | [ 0, 32 ] | required | Subnet Mask |
<DNS_Obj>
Type | Notation | Mandatory | Description | ||
auto | Boolean | <boolean> | optional | auto DNS | |
host | Array | list of <ipv4> | optional | Host IP addresses |
<Bandwidth_Map_Obj>
Type | Notation | Mandatory | Description | ||
upload | Object | <Bandwidth_Obj> | optional | Bandwidth upload information | |
download | Object | <Bandwidth_Obj> | optional | Bandwidth upload information |
<Bandwidth_Obj>
Type | Notation | Mandatory | Description | ||
value | Number | <number> | required | Upload / Download value Mininum – 1 kbps Maxinum – 10 Gbps | |
unit | String | { kbps } | required | Units |
<Modem_Obj>
Type | Notation | Mandatory | Description | ||
operator | Object Null | <Operator_Obj> <null> | optional | Operator information To clear the setting, give the JSON null | |
simPin | String Null | <string> <null> | optional | SIM Pin | |
mobileType | String | { 4G, 3G, 2G } | optional | Mobile Type | |
huaweiBand | Array | list of { GSM1900, GSM900/GSM1800/WCDMA2100 } | optional | The Band for Huawei Modem |
<Cellular_Obj>
Type | Notation | Mandatory | Description | ||
useExternalAntenna | Boolean | <boolean> | optional | Use external antenna | |
simCardScheme | String | { , 1, 2, alternate, remote_sim } | optional | SIM card scheme – Default (Internal / Both SIMs) 1 – SIM A only 2 – SIM B only alternate – Alternate periodically between SIM A only and SIM B only remote_sim – Remote SIM (The API error if the device not support remote SIM) | |
preferredSim | Number | {1, 2} | optional | Preferred SIM | |
idleTimeout | Number Null | <integer> <null> | optional | Idle timeout To disable idle timeout, give the JSON null | |
failbackTimeout | Number Null | <integer> <null> | optional | Failback timeout To disable failback timeout, give the JSON null | |
remoteSim | Array Null | list of <string> <null> | optional | Remote SIM information | |
alternateSim | Object | <Alternate_SIM_Obj> | optional | Alternate SIM information Only suport when simCardScheme is alternate | |
sim | Array | list of <SIM_Obj> | optional | SIM information | |
signalThreshold | Object | <Signal_Threshold_Obj> | optional | Signal threshold |
<Alternate_SIM_Obj>
Type | Notation | Mandatory | Description | ||
day | Number | <integer> | required | Alternate SIM day | |
hour | Number | <integer> | required | Alternate SIM hour |
<SIM_Obj>
Type | Notation | Mandatory | Description | ||
id | Number | <integer> | required | SIM ID | |
carrierSelection | Array Null | list of <Carrier_Selection_Obj> <null> | required | Carrier selection | |
mobileType | String | { LTE, 3G, 2G } | optional | Mobile type | |
optimalNetwork | Object Null | <Optimal_Network_Obj> <null> | optional | Optimal Network To clear the setting, give the JSON null | |
bandSelection | Array Null | list of <string> <null> | optional | Band Selection To disable band selection, give the JSON null NOTE: The string format to be confirm | |
roaming | Object | <Roaming_Obj> | optional | Roaming | |
operator | Object Null | <Operator_Obj> <null> | optional | Opertaor Information | |
simPin | String null | <string> <null> | optional | Sim Pin | |
bandwidthAllowanceMonitor | Object | <BW_Allowance_Monitor_Obj> | optional | Bandwidth allowance monitor Only valid when the device support bandwidth allowance of cellular |
<Carrier_Selection_Obj>
Type | Notation | Mandatory | Description | ||
mcc | String | <string> | optional | MCC | |
mnc | String | <string> | optional | MNC | |
pcs | Number | <integer> | optional | PCS | |
name | String | <string> | optional | Name | |
plmn | String | <string> | optional | PLMN |
<Signal_Threshold_Obj>
Type | Notation | Mandatory | Description | ||
signalLevel | Array Null | list of [0, 5] <null> | optional | Signal Level | |
rsrp | Array Null | list of [-140, -44] <null> | optional | RSRP | |
sinr | Array Null | list of [-100, 100] <null> | optional | SINR | |
rssi | Array Array Null | list of [-125, -10] list of [-192, 63] <null> | optional | RSSI For Cellular WAN – [-125, -10] For Wi-Fi WAN – [-192, 63] To remove rssi, give the JSON null |
<Optimal_Network_Obj>
Type | Notation | Mandatory | Description | ||
discovery | Number | [ 5, 480 ] | optional | Optimal network discovery | |
period | Array | list of <integer> | optional | Optimal network period |
<Roaming_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | optional | Roaming enable | |
accessControlList | Array Null | list of <integer> <Null> | optional | Access control list- No effect at this moment | |
mode | String Null | {whitelist, blacklist} | optional | Roaming Mode | |
name | String | <string> | optional | Name | |
plmn | String | <string> | optional | PLMN |
<Operator_Obj>
Type | Notation | Mandatory | Description | ||
apn | String | <string> | optional | APN | |
username | String | <string> | optional | Username for the APN | |
password | String | <string> | optional | Password for the APN | |
dialNumber | String | <1234567890*#> | optional | Dial Number Only support in modem type |
<Wifi_Obj>
Type | Notation | Mandatory | Description | ||
country | Number | <string> | optional | Country ID Only for beta, make sure you know the ID is representing the country you wanted. | |
channelWidth | String | { 20 MHz, 20/40 MHz, 40MHz, 80 MHz, 20/40/80 MHz, auto } | optional | Channel width | |
channel | Array | list of <integer> | optional | Channel Only for beta, make sure all channels in the array are correct | |
power | String | { custom, auto, manual, high, medium, low, max } | optional | Power | |
powerBoost | Boolean | <boolean> | optional | Power Boost | |
dataRate | String | MCS{[0,9]} | optional | Data RateOnly for beta, make sure data string is correct and match the channel width | |
roaming | Object | <Wifi_Roaming_Obj> | optional | Roaming information | |
autoConnect | Boolean | <boolean> | optional | Auto Connect | |
beaconMissCounter | Number | [ 2, 100] | optional | Beacon miss counter | |
channelScanInterval | Number | [5, 1000] | optional | Channel scan interval | |
signalTreshold | Object | <Signal_trehold_Obj> | optional | Signal Treshold |
<Wifi_Roaming_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | optional | Enable | |
algorithm | Object | <Wifi_Roaming_Algo_Obj> | optional | Roaming Algorithm |
<Wifi_Roaming_Algo_Obj>
Type | Notation | Mandatory | Description | ||
type | String | { normal, advanced, express } | optional | Algorithm type | |
detail | Object | <Wifi_Roaming_Algo_Detail_Obj> | optional | Algorithm detail |
<Wifi_Roaming_Algo_Detail_Obj>
Type | Notation | Mandatory | Description | ||
signalLevel | Object | <Wifi_Roaming_Algo_Signal_Level_Obj> | optional | Signal level | |
checkInterval | Number | [ 5, 3600 ] | optional | Check interval | |
intensiveScan | Object | <Wifi_Roaming_Algo_Adv_Intensive_Scan_Obj> | optional | Intensive scan This field only for advanced | |
diagnosticLevel | String | { minimum, basic, detail } | optional | Diagnostic level This field only for express | |
signalMode | Object | <Wifi_Roaming_Algo_Exp_Signal_Mode_Obj> | optional | Signal mode This field only for express | |
forceRoam | Object | <Wifi_Roaming_Algo_Exp_Force_Roam_Obj> | optional | Intensive scan This field only for express | |
confirmPeriod | Number | <integer> | optional | Confirm period This field only for express | |
backupDisconnect | Object | <Wifi_Roaming_Algo_Exp_Backkup_Disconnect_Obj> | optional | Backup disconnect This field only for express |
<Wifi_Roaming_Algo_Detail_Obj>
Type | Notation | Mandatory | Description | ||
authenticationTimeout | Number | <integer> | optional | Authentication timeout This field only for express |
<Wifi_Roaming_Algo_Signal_Level_Obj>
Type | Notation | Mandatory | Description | ||
treshold | Number | [ -95, -40 ] | optional | Signal level threshold | |
gain | Number | [ 5, 55 ] | optional | Signal level gain |
<Wifi_Roaming_Algo_Adv_Intensive_Scan_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | optional | Enable intensive scan | |
signalLevel | Number | [ -95, -40 ] | optional | Signal level for intensive scan | |
scanInterval | Number | [ 1, 3600 ] | optional | Scan interval for intensive scan |
<Wifi_Roaming_Algo_Exp_Signal_Mode_Obj>
Type | Notation | Mandatory | Description | ||
type | String | { relative, absolute } | optional | Signal mode type | |
details | Object | <Wifi_Roaming_Algo_Exp_Signal_Mode_Detail_Obj> | optional | Signal mode detail |
<Wifi_Roaming_Algo_Exp_Signal_Mode_Detail_Obj>
Type | Notation | Mandatory | Description | ||
minimumSignalDifference | Number | [ 0, 94 ] | optional | Minimum signal difference Only valid for type is relative | |
signalThreshold | Object | <Wifi_Roaming_Algo_Exp_Signal_Threshold_Obj> | optional | Signal threshold Only valid for type is absolute | |
dynamicZone | Object | <Wifi_Roaming_Algo_Exp_Dynamic_Zone_Obj> | optional | Signal mode detail |
<Wifi_Roaming_Algo_Exp_Signal_Threshold_Obj>
Type | Notation | Mandatory | Description | ||
upper | Number | [ 0, 95 ] | optional | Upper limit | |
lower | Number | [ 0, 95 ] | optional | Lower limit |
<Wifi_Roaming_Algo_Exp_Dynamic_Zone_Obj>
Type | Notation | Mandatory | Description | ||
inner | Number | [ 0, 95 ] | optional | Inner limit | |
outer | Number | [ 0, 95 ] | optional | Outer limit |
<Wifi_Roaming_Algo_Exp_Force_Roam_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | optional | Force roam enable | |
threshold | Number | [ -95, -1 ] | optional | Force roam threshold |
<Wifi_Roaming_Algo_Exp_Backkup_Disconnect_Obj>
Type | Notation | Mandatory | Description | ||
mode | String | { no, immediate, delay } | optional | Backup disconnect mode | |
delay | Number | <integer> | optional | Delay value Only valid for mode is delay |
<Signal_Threshold_Obj>
Type | Notation | Mandatory | Description | ||
signalLevel | Array Null | list of [0, 5] <null> | optional | Signal Level | |
rsrp | Array Null | list of [-140, -44] <null> | optional | RSRP | |
sinr | Array Null | list of [-100, 100] <null> | optional | SINR | |
rssi | Array Null | list of [-125, -10] list of [-192, -63] <null> | optional | RSSI For Cellular WAN – [-125, -10] For Wi-Fi WAN – [-192, -63] To remove rssi, give the JSON null |
<Physical_Obj>
Type | Notation | Mandatory | Description | ||
speed | String | {Auto, 1000baseTx-FD, 100baseTx-FD, 100baseTx-HD, 10baseT- FD, 10baseT-HD} | optional | Speed The field only validate when the port is ethernet NOTE: 1000baseTx-FD only support Giga Ethernet port | |
advertise | Boolean | <boolean> | optional | Advertise The field only validate when the port is ethernet | |
mtu | Number Null | [ 576, 1492 ] [ 576, 1476 ] [ 576, 9000 ] [ 576, 1500 ] <null> | optional | MTU value For PPPoE, the max value is 1492 For GRE, the max value is 1476 For Jumbo frame, the max value is 9000 Otherwise, the max value is 1500 To clear the setting, give the JSON null | |
mss | Number Null | [ 536,<mtu>, -40] <null> | optional | MSS value To clear the setting, give the JSON null | |
ttl | Number Null | [ 1,255 ] <null> | optional | TTL value To clear the setting, give the JSON null | |
mac | String Null | <mac> <null>? | optional | MAC address The field only available when the connectionType is ethernetTo clear the setting, give the JSON null | |
vlan | Number Null | [ 1, 4094 ] [ 1, 10 ] <null> | optional | VLAN ID The field only available when the port is ethernet or VDSLFor ethernet, the max value is 4094 For VDSL, the max value is 10 To clear the setting, give the JSON null | |
vpi | Number | [ 1, 255 ] | optional | VPI value The field only available when the port is ADSL or VDSL | |
vci | Number | [ 32, 65535 ] | optional | VCI value The field only available when the port is ADSL or VDSL | |
greUplink | Number | <conn_id> | optional | GRE uplink The field only available when the port is GRE | |
openvpn | Object | <Physical_OpenVPN_Obj> | optional | OpenVPN information |
<Physical_OpenVPN_Obj>
Type | Notation | Mandatory | Description | ||
uplink | Array | list of <OpenVPN_Uplink_Priority_Obj> | optional | OpenVPN Uplink | |
failback | Boolean | <boolean> | optional | OpenVPN connection failback |
<OpenVPN_Uplink_Priority_Obj>
Type | Notation | Mandatory | Description | ||
id | Number | <conn_id> | required | WAN Connection ID | |
priority | Number | <integer> | required | Priority |
<Healthcheck_Obj>
<Healthcheck_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | required | Healthcheck enable | |
method | Object | <Healthcheck_Method_Obj> | optional | Healthcheck method | |
timeout | Number | [ 200, 10000 ] | optional | Healthcheck timeout Normally, the range is 801-10000 200-800 is for ping only | |
interval | Number | [ 5, 3600 ] | optional | Healthcheck interval | |
retry | Number | [ 1, 20 ] | optional | Healthcheck retry | |
recovery | Number | [ 1, 20 ] | optional | Healthcheck recovery |
<Healthcheck_Method_Obj>
Type | Notation | Mandatory | Description | ||
type | String | { ping, nslookup, http, smartcheck, openvpn} | required | Healthcheck enable | |
detail | Object | <Healthcheck_Method_Host_Obj> | required | Healthcheck detail The field has no effect for type is openvpn |
<Healthcheck_Method_Host_Obj>
Type | Notation | Mandatory | Description | ||
includedPublic | Boolean | <boolean> | optional | Included public IP This field only for method type ‘nslookup’ | |
host | Array | list of <ipv4> list of <Healthcheck_Method_Host_Obj> | optional | Host IP address The maximum array size is 2 For method type ping, nslookup, smartcheck, list of <ipv4> For method type http, list of <Healthcheck_Method_HTTP_Obj> |
<Healthcheck_Method_HTTP_Obj>
Type | Notation | Mandatory | Description | ||
host | Array | list of <URL_Pattern_Obj> | optional | Host URL Pattern |
<URL_Pattern_Obj>
Type | Notation | Mandatory | Description | ||
url | String | <string> | required | URL | |
pattern | String | <string> | required | Pattern |
<BW_Allowance_Monitor_Obj>
Type | Notation | Mandatory | Description | ||
enable | String | <boolean> | optional | Bandwidth allowance monitor enable | |
action | String | list of { email, disconnect, restrict } | optional | The actions which the allowance is reach | |
start | Number | [ 0, 28 ] | optional | Bandwidth allowance monitor start day | |
monthlyAllowance | Object | <BW_Allowance_Monitor_Monthly_Obj> | optional | Bandwidth monthly allowance |
<BW_Allowance_Monitor_Monthly_Obj>
Type | Notation | Mandatory | Description | ||
value | Number | <integer> | required | Bandwidth allowance monitor monthly allowance value | |
unit | String | { MB, GB, TB } | required | Bandwidth allowance monitor monthly allowance unit for value |
<DDNS_Obj>
Type | Notation | Mandatory | Description | ||
enable | Boolean | <boolean> | optional | DDNS enable | |
provider | String | { changeip, dyndns, noip, tzo, dnsomatic, others } | optional | DDNS service provider | |
customUrl | String | <string> | optional | Custom URL This field is only valid when provider is “others” | |
useWanIp | Boolean | <boolean> | required | Use WAN IP | |
username | String | <string> | required | Username for the service | |
password | String | <string> | required | Password for the service | |
host | Array | list of <domain> | required | Host Allow empty array when the provider is dnsmatic |
Return Parameters
cURL Example
curl -b cookies.txt -H "Content-Type: application/json" -X POST -d '{"action":"update","list": [{"id":1,"enable":true}]}' http://192.168.1.1/api/config.wan.connection
{ "stat": "ok", "response": { "1": { "name": "WAN 1", "asLan": false, "enable": true, "active": true, "multipleIp": [], "connection": { "method": "dhcp", "mode": "NAT", "icmpPing": true, "priority": 1, "dns": { "auto": true }, "ddns": { "username": "username", "password": "@~HiDdEn~@", "host": [ "kjkjkjkj.com" ], "provider": "noip", "enable": true }, "bandwidth": { "upload": { "bandwidth": 100000, "unit": "kbps" }, "download": { "bandwidth": 100000, "unit": "kbps" } }, "schedule": 4, "dhcp": { "hostname": "" } }, "healthcheck": { "method": "nslookup", "timeout": 5, "interval": 5, "retry": 3, "recovery": 3, "enable": true, "nslookup": { "includePublic": false, "host": [ "208.67.222.222", "208.67.220.220" ] } } }, "2": { "name": "WAN2", "asLan": false, "enable": true, "active": true, "connection": { "method": "dropIn", "mode": "IP Forwarding", "icmpPing": true, "priority": 0, "dns": { "auto": false, "host": [ "3.3.3.3" ] }, "ddns": { "enable": false }, "bandwidth": { "upload": { "bandwidth": 100000, "unit": "kbps" }, "download": { "bandwidth": 100000, "unit": "kbps" } }, "pepVpnNat": true, "dropIn": { "ip": "169.254.0.1", "mask": 24, "gateway": "22.2.2.2" } }, "healthcheck": { "method": "nslookup", "timeout": 5, "interval": 5, "retry": 3, "recovery": 3, "enable": true, "nslookup": { "includePublic": true } } }, "order": [ 1, 2 ] } }