set network

 

Options

[ip address options]

 

Set IP address-related options for the Digi device, including:

 

ip=device ip address

 

Sets the device IP address when DHCP is off. This option is only

 

applicable if the “static” option is set to “on.”

 

gateway=gateway ip

 

Sets the network gateway IP address.

 

submask=device submask

 

Sets the device submask address when DHCP is off. This option is

 

only applicable if the “static” option is set to “on.”

 

The following three IP address options have a precedence. That is, if all

 

three options are turned on, the order of precedence is: “static,” “dhcp,”

 

“autoip.”

 

static={onoff}

 

When enabled, the device uses the specified IP address, gateway

 

address, and submask. The default is off.

 

dhcp={onoff}

 

When enabled, the device attempts to use the DHCP protocol to find

 

an IP address, gateway address, and submask. The default is “on.”

 

The "dhcp" option is enabled by default in almost all Digi Connect

 

devices, except "static" is enabled by default for these: All Digi

 

Connect WAN products except Digi Connect WAN IA (which is DHCP

 

default) and ConnectPort WAN VPN.

 

autoip={onoff}

 

When enabled, the device attempts to use the Auto IP protocol to find

 

an IP address, gateway address, and submask. The default is “on.”

 

dns1=primary dns server ip address

 

dns2=secondary dns server ip address

 

For DNS, these options specify the DNS nameservers to use. Name

 

lookups will be performed using the nameserver specified on “dns1”

 

first, and if that fails, the nameserver specified on “dns2” will be used.

150

Chapter 2 Command Descriptions

Page 150
Image 150
Digi 90000566_H manual Ip address options, Ip=device ip address, Gateway=gateway ip, Submask=device submask