summaryrefslogtreecommitdiff
path: root/cdr2.sunet.se/overlay/etc/network/interfaces
blob: fac1c77506a97e361a00eb0911e566e98b25f02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
#
# ###################################################
# # This file is maintained in
# #
# #    ####    ####    ####   #    #   ####    ####
# #   #    #  #    #  #       ##  ##  #    #  #
# #   #       #    #   ####   # ## #  #    #   ####
# #   #       #    #       #  #    #  #    #       #
# #   #    #  #    #  #    #  #    #  #    #  #    #
# #    ####    ####    ####   #    #   ####    ####
# #
# # ... so you can't just change it locally.
# #
# ###################################################

# 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

auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0

auto eth1
iface eth1 inet manual
bond-master bond0

# bond0 is the bonding NIC and can be used like any other normal NIC.
auto bond0
iface bond0 inet static
	address 130.242.125.134
	netmask 255.255.255.192
	network 130.242.125.128
	broadcast 130.242.125.191
	gateway 130.242.125.129
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 130.242.80.14 130.242.80.99
	dns-search sunet.se
	bond-mode active-backup
	bond-miimon 100
	bond-slaves none

iface eth0 inet6 static
      address 2001:6b0:8:5::134
      netmask 64
      gateway 2001:6b0:8:5::1