1 # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
3 # The loopback interface
4 # automatically added when upgrading
13 # iface eth1 inet static
15 # netmask 255.255.255.0
17 # broadcast 192.168.0.255
19 # dns-search foo.example
20 # dns-nameservers 192.168.0.10 192.168.0.20
24 # iface eth0.1 inet manual
25 # pre-up vconfig add eth0.1
26 # up ifconfig eth0 0.0.0.0 promisc up
27 # post-down vconfig rem eth0.1
29 # Ad-hoc WLAN Network:
31 # iface eth1 inet static
33 # netmask 255.255.255.0
34 # wireless_mode ad-hoc
35 # wireless_essid foobar
40 # iface eth1 inet dhcp
43 # wireless_key 11111111111111111111111111
44 # wireless_keymode restricted
45 # wireless_keymode open
46 # wireless_mode managed
50 # iface dsl inet manual
51 # up ip link set $IFACE up
52 # up ip -6 addr flush dev $IFACE || true
53 # down ip link set $IFACE down
55 # Mapping - bring up via e.g. 'ifup eth0=dhcp':
56 # iface dhcp inet dhcp
58 # Mapping - bring up via e.g. 'ifup -v eth0=home':
60 # iface home inet dhcp
63 # wireless_key 11111111111111111111111111
64 # wireless_keymode restricted
66 # More complex mapping-setup:
69 # script /etc/network/ping-places.sh
70 # map 192.168.0.90/24 192.168.0.42 home
71 # map 129.27.140.238/24 129.27.140.241 spsc
72 # map 192.168.0.90/24 192.168.0.100 sevian7
73 # map 192.168.0.90/24 192.168.0.1 annenhof
74 # map 195.177.251.50/255.255.255.224 195.177.251.33 kunstlabor
76 # iface home inet static
77 # address 192.168.0.90
78 # netmask 255.255.255.0
79 # gateway 192.168.0.42
82 # up cp /etc/apt/sources.list.home /etc/apt/sources.list
83 # up cp /etc/resolv.conf.home /etc/resolv.conf
86 # iface spsc inet static
87 # address 129.27.140.238
88 # netmask 255.255.255.0
89 # gateway 129.27.140.1
91 # up cp /etc/apt/sources.list.spsc /etc/apt/sources.list
92 # up cp /etc/resolv.conf.spsc /etc/resolv.conf
94 # iface annenhof inet static
95 # address 192.168.0.90
96 # netmask 255.255.255.0
99 # up cp /etc/resolv.conf.annenhof /etc/resolv.conf
101 # iface sevian7 inet dhcp
103 # iface kunstlabor inet dhcp
104 # up cp /etc/apt/sources.list.kunstlabor /etc/apt/sources.list