User Tools

Site Tools


static_ip_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
static_ip_linux [2017/10/11 20:52] – created chrisstatic_ip_linux [2018/08/11 11:33] (current) admin
Line 1: Line 1:
-Stati IP Linux+====Static IP Linux==== 
 +\\ 
 +==This is for Debian==
  
-This is for Debian +Edit /etc/network/interfaces so it looks like this://\\ 
- +\\ 
-Edit /etc/network/interfaces so it looks like this:// +# The loopback network interface\\ 
- +auto lo\\ 
-# The loopback network interface +iface lo inet loopback\\ 
-auto lo +\\ 
-iface lo inet loopback +# The primary network interface\\ 
- +allow-hotplug eth0\\ 
-# The primary network interface +iface eth0 inet static\\ 
-allow-hotplug eth0 +      address 192.168.10.X\\ 
-iface eth0 inet static +      netmask 255.255.255.0\\ 
-      address 10.1.1.125 +      gateway 192.168.10.1\\ 
-      netmask 255.0.0.0 +      network 192.168.10.0\\ 
-      gateway 10.1.1.1+      broadcast 192.168.10.255\\ 
 +      dns-nameservers 192.168.10.1 192.168.10.11 192.168.10.13\\ 
 +      dns-search domain.artit.nl\\ 
 +\\ 
 +\\       
 +Enjoy,\\ 
 +\\ 
 +**Your ArtIT Team** 
 +\\ 
 +\\ 
 +**[[linux|BACK]]**
static_ip_linux.1507747934.txt.gz · Last modified: 2017/10/11 20:52 by chris