Get started with ConnectPort LTS products
Configuring IP addresses
Digi ConnectPort LTS User Guide
22
Method
Description
Access via
the console
port
Use the port, labeled
console
port on ConnectPort LTS device to configure device
settings. This port allows for a login with serial settings of 9600 baud, 8 data bits,
and 1 stop bit. The standard serial ports do not provide a login by default and do not
provide access to configuration settings. Only the console port allows access to
configuration settings.
Command-
line interface
Use the command-line interface to configure device settings. See
address from the command-line interface
.
Assign an IP address using DHCP
You can assign an IP address using Dynamic Host Configuration Protocol (DHCP). DHCP is an Internet
protocol for automating the configuration of computers that use IP. You can use DHCP to
automatically assign IP addresses and deliver IP stack configuration parameters.
The following procedure assumes that you configured the Digi device as a DHCP client. The Digi
devices discussed in this document are configured as a DHCP client by default.
To configure an IP address using DHCP:
1. Verify the Digi device is not powered on.
2. If desired, set up a permanent entry for the Digi device on a DHCP server. While this is not
necessary to obtain an IP address via DHCP, setting up a permanent entry saves the IP
address after the device is rebooted.
3. Connect the Digi device to the network and power it on. DHCP assigns the IP address
configured in step 2 automatically.
Assign an IP address using Auto-IP
The standard Automatic Private IP Addressing (APIPA or Auto-IP) protocol automatically assigns the
IP address from a group of reserved IP addresses to the device on which Auto-IP is installed. Use Digi
Device Discovery or ADDP to find the Digi device and assign it a new IP address that is compatible with
your network. When you plug in the device, Auto-IP automatically assigns the IP address. Auto-IP
addresses are typically in the 169.254.x.x address range. See
Use Digi Device Discovery utility to sign in
for instructions on using Digi Device Discovery.
Assign an IP address from the command-line interface
Use the
set network
command to configure an IP address from the command line. The
set network
command includes the following parameters:
n
index=(1-4)
: The Ethernet interface index number.
n
ip_v4=
device ip
: The IP address for the device.
n
gateway_v4=
gateway
: The network gateway IP v4 address.
n
garp=
seconds
: The frequency of Gratuitous ARP (GARP) announcements, in seconds, which are
a broadcast announcement to the network of a device’s MAC address and the IP address.
n
submask_v4=
device submask
: The device subnet mask for the IP v4 address.
n
mode_v4=(none|static|dhcp)
: The configuration mode of the IP v4 address.