AT-GAIN-120
16
Use the
IPStatic
and
IPDHCP
commands to switch between DHCP and static IP mode using Telnet. Refer to the
Application Programmers Interface documentation for more information. All commands and their arguments are
case-sensitive.
Using Commands
• Setting static IP mode
1. Connect to the AT-GAIN-120 using Telnet.
2. At the command line, execute the
IPDHCP
command using the
off
argument, as shown.
IPDHCP off
3.
Execute the IPStatic command. This command requires three arguments: the desired IP address of the
AT-GAIN-120, the subnet mask, and the gateway address. All arguments must be entered in dot-decimal
notation. The following is an example:
IPStatic 192.168.1.112 255.255.255.0 192.168.1.1
4.
Power-cycle the AT-GAIN-120.
5.
The unit is now set to static IP mode and ready for use.
Basic Operation
• Setting DHCP mode
1. Connect to the AT-GAIN-120 using Telnet.
2. At the command line, execute the
IPDHCP
command using the
on
argument, as shown. All characters are
case-sensitive.
IPDHCP on
3.
Power-cycle the AT-GAIN-120
4.
The unit is now set to DHCP mode and will be assigned an IP address by the DHCP server (if present).