JSON Communication
G13
61
2CMC489001M0201
User Manual
Revision: A
Request
POST /configuration/ip HTTP/1.1
Authorization: Basic XXXXXXXXXXXXXXX=
Content-Type:application/json
Content-Length: 179
{
"ip":"192.168.1.12",
"dhcp":false,
"dns":false,
"gateway":"192.168.1.1",
"subnet":"255.255.255.0",
"pdns":"192.168.1.2"
"sdns":"192.168.1.2"
}
Description
• dhcp [bool] : Value of
false
means static ip setting and value of
true
means
dynamic ip from dhcp server
• dns [bool] : Value of
false
means pdns is the name server and value of
true
means dynamic dns from dhcp server.
• ip[string] : IP Address.
• gateway[string] : Gateway Address.
• subnet[string] : Subnet Mask Address.
• pdns[string] : Primary DNS Address.
•
sdns[string] : Secondary DNS Address.
Notes
With static IP settings DNS cannot be auto and must be set statically.
Current implementation supports static DNS settings only.
Example
• https://192.168.1.12/configuration/ip