Raritan Computer EMX2-111 User Manual

Page of 379
Chapter 10: Using the Command Line Interface 
 
244
 
 
 
Example 
The following command sets the IPv4 preferred host name to "my-
v4host." 
config:# 
network ipv4 preferredHostName my-v4host 
 
 
Setting the IPv4 Address 
After selecting the static IP configuration mode, you can use this 
command syntax to assign a permanent IP address to the EMX device. 
config:# 
network ipv4 ipAddress <ip address> 
 
Variables: 
 
<ip address> is the IP address being assigned to your EMX device. 
The value ranges from 0.0.0.0 to 255.255.255.255. 
 
 
Example 
The following command assigns the static IPv4 address 
"192.168.84.222" to the EMX device. 
config:# 
network ipv4 ipAddress 192.168.84.222 
 
 
Setting the IPv4 Subnet Mask 
After selecting the static IP configuration mode, you can use this 
command syntax to define the subnet mask. 
config:# 
network ipv4 subnetMask <netmask> 
 
Variables: 
 
<netmask> is the subnet mask address. The value ranges from 
0.0.0.0 to 255.255.255.255. 
 
 
Example 
The following command sets the subnet mask to 192.168.84.0. 
config:# 
network ipv4 subnetMask 192.168.84.0