User Tools

Site Tools


static_ip_linux

This is an old revision of the document!


Static IP Linux


This is for Debian

Edit /etc/network/interfaces so it looks like this:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.1.1.125
netmask 255.0.0.0
gateway 10.1.1.1


BACK

static_ip_linux.1507748172.txt.gz · Last modified: 2017/10/11 20:56 by chris