WAN_IP, WAN_NETMASK, WAN_GATEWAY

Description

Get or Set IP, Netmask or Gateway address of WAN port. These Settings are only valid if only of the WAN_TYPE is Static. If the WAN_TYPE is Dynamic, these settings will be applied if the device fails of getting the address from the DHCP server. The argument of these URL will be checked before apply them. The check mechanism is

Because these URLs are sent separately, the device is not able to check if the WAN_IP and WAN_GATEWAY are in the same subnet.

In EPL decoder, this URL is same as the WAN_IP, WAN_NETMASK and WAN_GATEWAY in the SYSTEM CGI but only Type1 URL command is supported.

Therefore, the WAN_IP, WAN_NETMASK and WAN_GATEWAY URLs in WPL decoders are only addressed in this page.

Input Argument

IPv4 Addressing (xxx.xxx.xxx.xxx)

Attribute

Return of Message

None

Applicability

Status

Valid

See Also

WAN, WAN_PPPOE_USERNAME, WAN_PPPOE_PASSWORD

Example

http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&WAN_IP=192.168.0.100
http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&WAN_NETMASK=255.255.255.0
http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&WAN_GATEWAY=192.168.0.254

Back to

HOME, URL CGI, SYSTEM CGI