How do I Setup a Static IP Address?


Answer

The following applies to a MultiTech Conduit running software loaded prior to June 2018.

If connecting your collection server to the Internet via Ethernet with static IP address edit/add the wired interface section in the /etc/network/interfaces file with vi as follows (replace address, netmask, gateway, and domain name servers with values supplied by customers IT):


1. Open the network configuration file.


vi /etc/network/interfaces


2. Edit the network configuration file.

    Press  i


3. Edit content of the network configuration file.  

# The loopback network interface
auto lo
iface lo inet loopback

# Static IP Configuration
auto eth0
iface eth0 inet static
 
# Specific to Location
address 10.0.25.1
netmask 255.255.255.0
gateway 10.0.25.254
 
# Domain Name Server Configuration
# Specific to Location
post-upecho"nameserver 10.39.104.3” > /etc/resolv.conf
post-upecho"nameserver 10.39.104.4" >> /etc/resolv.conf

4. Save and close the new file
     Press  Esc
     Press  :x
     Press  Enter