Set/display IP address
Although normally done from within the the Manager program, you can also display or change the IP adresss of either LAN port via the RS232 (DTE) Maintenance port on the back of the IP Office. This may occasionally be useful, eg, when the IP address is not known.
DTE Port Settings:
- The DTE port requires a (straight) serial cable between your PC/Laptop and the IP Office
- Configure PuTTY, HyperTerminal, etc, for serial as follows: 38,400/8/N/1/VT100
Procedure:
Enter the following commands (in bold) when the IPOffice is up and running:
at OK at-debug <IPOffice Manager Version 0.2> Wed 26/2/2014 10:27:58, Hello>updatelan commands are lowercase Current LAN1: ipaddr: 192.168.42.1 mask: 255.255.255.0 LAN port Current LAN2: ipaddr: 128.75.0.100 mask: 255.255.255.0 WAN port Enter which lan interface (lan1 or lan2): lan1 or <enter> to leave unchanged Enter IP address (a.b.c.d): 10.10.10.1 Enter IP mask (a.b.c.d): 255.255.255.0 Add default gateway (yes or no)? 10.10.10.254 Start WriteConfig at f7e0969c, savemode SaveNormal, writetype ToFlash Start WriteConfig at f7e0969c, savemode SaveNormal, writetype ToFile : : Configuration has been saved. Reboot now (yes or no)? no enter to 'yes' to reboot system immediately a reboot is required to apply new IP settings Issue the 'reboot' command later. Wed 26/2/2014 10:28:51, Hello>
Check LAN port status with the following command:
Wed 26/2/2014 10:33:23, Hello>lanstatus LAN1 is connected (negotiated) at 100Mb full duplex LAN2 is not connected
Alternate method:
You can also discover the IP addresses with the system
command, they're displayed in Hexadecimal.
Convert the values to a dotted-decimal IP address with the following (javascript) calculator.
Hex IP-address converter:
Example:
at OK at-debug <IPOffice Manager Version 0.2> Wed 26/2/2014 10:35:25, Hello>system SystemRecord Ipaddr = c0a82a01 ffffff00 2 200 LAN port address and subnet-mask in HEX Ipaddr2 = 804b0064 ffffff00 2 1 WAN port address and subnet-mask in HEX S/W Build = IP 500 V2 8.1(63) Mon 3/3/2014 07:38:48, Hello>
Enter the HEX values into the Hex IP-address converter above to find the dotted decimal values.
In this example, Ipaddr (LAN) is 192.168.42.1, Ipaddr2 (WAN) is 128.75.0.100, and the subnet-mask is 255.255.255.0