Description This command only works when DHCP is turned off. Equipment without a network interface does not support this command. Return value The query returns the IP address. For example SYSTem:LAN:IP 10,0,0,105 /* Set the IP address to 10.0.0.105 */ SYSTem:LAN:IP? /*Return 10.0.0.105*/ Network Subnet Mask : SYSTem:LAN:NETMask Command format SYSTem:LAN:NETMask SYSTem:LAN:NETMask? Function description Set or query the network subnet mask. Parameter addr1, addr2, addr3, addr4: 0~255. Description This command only works when DHCP is turned off. Devices without network ports do not support this command. Return value The query returns the subnet mask.
For example SYSTem:LAN:NETMask 255,0,0,0 /* Set the subnet mask to 255.0.0.0 */ SYSTem:LAN:NETMask? /*Return 255.0.0.0*/ Network Gateway : SYSTem:LAN:GATEway Command format SYSTem:LAN:GATEway SYSTem:LAN:GATEway? Function description Set or query network gateway. Parameter addr1, addr2, addr3, addr4: 0~255. Description This command only works when DHCP is turned off. Devices without network ports do not support this command. Return value The query returns to the gateway. For example SYSTem:LAN:GATEway 10,0,0,1 /* Set the subnet mask to 10.0.0.1*/ SYSTem:LAN:GATEway? /*Return 10.0.0.1*/ 3