LAN_ADDRESS

LAN_IP, LAN_NETMASK

Description

> Get or Set IP or Netmask address of LAN port.

> In Multi-Channel device, this URL is read-only command and the Router's LAN port setting will be returned no matter the CHANNEL=n was set with this URL or not.

Input Argument

> IPv4 Addressing (xxx.xxx.xxx.xxx)

Attribute

- Readable and Writable
- Not On-Fly

Return of Message

- Read Operation

> LAN_IP='192.168.1.254'
> LAN_NETMASK='255.255.255.0'

- Write Operation

> OK: LAN_IP='192.168.1.254'
> OK: LAN_NETMASK='255.255.255.0'
> or
> ERROR: LAN_IP='192.168.1.254'
> ERROR: LAN_NETMASK='255.255.255.0'

Applicability

- WPL Platform : All Devices (Read/Write)
- Multi-Channel Encoder : All Devices (Read-Only)

Status

> Valid

See Also

> LAN, LAN_HOSTNAME

Example

- Read Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_IP
> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_NETMASK
> or
> http://ip:port/cgi-bin/cmd/system?LAN_IP
> http://ip:port/cgi-bin/cmd/system?LAN_NETMASK

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_IP=192.168.1.254
> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_NETMASK=255.255.255.0
> or
> http://ip:port/cgi-bin/cmd/system?LAN_IP=192.168.1.254
> http://ip:port/cgi-bin/cmd/system?LAN_NETMASK=255.255.255.0

Back to

> HOME, SYSTEM CGI