User Tools

Site Tools


network:ubuntu_static_ip

Differences

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

Link to this comparison view

Next revision
Previous revision
network:ubuntu_static_ip [2013/03/15 12:55]
tschulz created
network:ubuntu_static_ip [2013/03/15 12:57] (current)
tschulz [/etc/network/interfaces]
Line 1: Line 1:
 ====== Ubuntu Static IP ====== ====== Ubuntu Static IP ======
 +===== /​etc/​network/​interfaces =====
 +<​file>​
 +# This file describes the network interfaces available on your system
 +# and how to activate them. For more information,​ see interfaces(5).
 +
 +# The loopback network interface
 +auto lo
 +iface lo inet loopback
 +
 +# The primary network interface
 +auto eth0
 +
 +iface eth0 inet static
 + address 10.1.0.x
 + netmask 255.255.252.0
 + gateway 10.1.0.x
 + # dns-* options are implemented by the resolvconf package, if installed
 + dns-nameservers 10.1.0.x
 + dns-search dns-prefix
 +
 +</​file>​
  
network/ubuntu_static_ip.1363370150.txt.gz · Last modified: 2013/03/15 12:55 by tschulz