summaryrefslogtreecommitdiff
path: root/cdr1.sunet.se/overlay/etc/network/interfaces
blob: 9fc7e2afbb7284c8a9ca73d05df4c8b6349d30bb (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.70
	netmask 255.255.255.192
	network 130.242.125.64
	broadcast 130.242.125.127
	gateway 130.242.125.65
	# 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 bond0 inet6 static
      address 2001:6b0:8:4::70
      netmask 64
      gateway 2001:6b0:8:4::1