Set a static IP

From Archivematica
Revision as of 09:43, 15 November 2011 by Austin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set a static IP on the server machine

open /etc/network/interfaces

sudo nano /etc/network/interfaces

then edit your interface entry (likely eth0) to look something like (you need to know your network details):

auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        gateway 192.168.0.1

reload network configuration:

/etc/init.d/networking restart