Raritan Computer EMX2-111 User Manual

Page of 379
 
Chapter 10: Using the Command Line Interface 
 
 
245
 
 
Setting the IPv4 Gateway 
After selecting the static IP configuration mode, you can use this 
command syntax to specify the gateway. 
config:# 
network ipv4 gateway <ip address> 
 
Variables: 
 
<ip address> is the IP address of the gateway. The value ranges 
from 0.0.0.0 to 255.255.255.255. 
 
 
Example 
The following command sets the IPv4 gateway to 255.255.255.0. 
config:# 
network ipv4 gateway 255.255.255.0 
 
 
Setting the IPv4 Primary DNS Server 
After selecting the static IP configuration mode, you can use this 
command syntax to specify the primary DNS server. 
config:# 
network ipv4 primaryDNSServer <ip address> 
 
Variables: 
 
<ip address> is the IP address of the primary DNS server. The value 
ranges from 0.0.0.0 to 255.255.255.255. 
 
 
Example 
The following command determines that the primary DNS server is 
192.168.84.30. 
config:# 
network ipv4 primaryDNSServer 192.168.84.30