Set/Show IP address for IP Office

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. They may be instances where this is useful.

DTE Port Settings:

  • Access to 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 – None – 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

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 hit 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)


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.

Example:

at
OK
at-debug

Wed 26/2/2014 10:35:25, Hello>system
SystemRecord
Ipaddr    = c0a82a01 ffffff00 2 200 (LAN address and subnet-mask in HEX)
Ipaddr2   = 804b0064 ffffff00 2 1   (WAN address and subnet-mask in HEX)
S/W Build = IP 500 V2 8.1(63)
Mon 3/3/2014 07:38:48, Hello>

Ipaddr (LAN) is 192.168.42.1, (c0a82a01) Ipaddr2 (WAN) is 128.75.0.100 (804b0064), and the subnet-mask (for both) is 255.255.255.0

Print Friendly, PDF & Email