Karow: /etc/network/interfaces

From
Revision as of 08:26, 26 September 2011 by Rbert (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. This file describes the network interfaces available on your system
  2. and how to activate them. For more information, see interfaces(5).
  1. The loopback network interface

auto lo iface lo inet loopback

  1. The primary network interface

allow-hotplug eth0 iface eth0 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 127.0.0.1 dns-search chaos.local

iface eth0 inet6 static address fc00::1:2c0:6cff:fe00:f001 netmask 64 #gateway fc00::1:1:2c0:6cff:fe00:f001 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers ::1 dns-search chaos.local

auto 6in4 iface 6in4 inet6 v4tunnel

       address fc00::1:1:2c0:6cff:fe00:f001
       netmask 64
       endpoint 172.16.1.2
       local 172.16.1.1
       ttl 255
       gateway fc00::1:1:2c0:6cff:fe00:f002

allow-hotplug eth1 iface eth1 inet static address 172.16.1.1 netmask 255.255.0.0 network 172.16.0.0 broadcast 172.16.255.255 gateway 172.16.1.2 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 127.0.0.1 dns-search chaos.local up ip -6 addr flush dev $IFACE || true