Ethconfig (ascii) – NavCom Sapphire Rev.J User Manual
Page 100

Sapphire Technical Reference Manual Rev. J
100
1.50 ETHCONFIG (ASCII)
SF-3050
Sapphire
SF-3040
This command specifies the Ethernet port IP settings (Internet IP address, network mask,
default gateway, and DNS servers).The command can be received from any of the input ports.
Entering the command without parameters displays the current settings. This is especially
useful in dynamic IP mode (AUTO) to reveal the IP settings assigned by a DHCP server.
IP addresses and the network mask
are entered in the form of “a.b.c.d”, where
a,b,c, and d are decimal integers in the range of 0-255 (e.g., 192.168.0.2).
The local IP address is the destination address for any incoming connections (EVCOM,
HTTP, NTRIP, etc.) and must be unique for each unit on the same network.
Command:
[ETHCONFIG] IP mode, IP address, network mask, gateway address, DNS1, DNS2
Parameter
Definition
IP mode
This keyword may be either “MANUAL” for static IP configuration or “AUTO” for
dynamic IP configuration using a DHCP server.
When set to “AUTO”, other command parameters are not used.
IP address
Specifies the local IP address of the unit.
Network mask
Identifies the network part of the IP address, as a.b.c.d (range: 1-255 for each)
Gateway address
Identifies the IP address of the default Internet Gateway (or router). The gateway IP
(if any) must be on the local network. For example, if the unit IP address is
192.168.0.2, and the network mask is 255.255.255.0, then the first 3 bytes of the
gateway IP must be 192.168.0.x (i.e., 192.168.0.1). A special case (the default) is
0.0.0.0, meaning there is no gateway device.
DNS1
Specifies the IP address of a DNS server. If the server IP address is not on the same
network as the local IP address, the DNS queries will be sent through the default
gateway. (Absent a default gateway, the DNS query will fail.)
DNS2
Specifies the IP address of an alternate DNS server. If a DNS query to the first
(DNS1) server fails, an attempt is made to use the DNS2 server address.
Examples: [ETHCONFIG] MANUAL, 192.168.0.2, 255.255.255.0, 192.168.0.1, 204.54.87.20,
204.54.87.39
Sets local system IP address to 192.168.0.2, network mask to 255.255.255.0,
gateway IP address to 192.168.0.1, DNS server 1 IP address to 204.54.87.20, and
DNS server 2 IP address to 204.54.87.39
[ETHCONFIG] MANUAL, 0.0.0.0, 0.0.0.0, 0.0.0.0, 0.0.0.0, 0.0.0.0
Disables the Ethernet port
[ETHCONFIG] AUTO, 0.0.0.0, 0.0.0.0, 0.0.0.0, 0.0.0.0, 0.0.0.0
Configures the Ethernet port to query a DHCP server to obtain the IP settings
[ETHCONFIG]
[ETHCONFIG]AUTO, 192.168.0.101, 255.255.255.0, 192.168.0.1, 204.54.87.20,