summaryrefslogtreecommitdiff
path: root/cdr1.sunet.se/overlay/etc/network/interfaces
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-06-30 11:49:48 +0200
committerLeif Johansson <leifj@sunet.se>2014-06-30 11:49:48 +0200
commitdeff549e038885729868b30c68a12538883c9646 (patch)
tree26e7ff03a8baf9e3bfd2fff5edb90e23ba7a1dc5 /cdr1.sunet.se/overlay/etc/network/interfaces
parenta1bc104e5bd63ab896afc92781df6aac6efd90e3 (diff)
parentecb417e8ce9a1eca586e2169c615c2bd30c938f8 (diff)
Merge branch 'master' of git.nordu.net:sunet-opssunet-ops-2014-06-30-v02
Diffstat (limited to 'cdr1.sunet.se/overlay/etc/network/interfaces')
-rw-r--r--cdr1.sunet.se/overlay/etc/network/interfaces52
1 files changed, 27 insertions, 25 deletions
diff --git a/cdr1.sunet.se/overlay/etc/network/interfaces b/cdr1.sunet.se/overlay/etc/network/interfaces
index 7475c35..edcc8fd 100644
--- a/cdr1.sunet.se/overlay/etc/network/interfaces
+++ b/cdr1.sunet.se/overlay/etc/network/interfaces
@@ -22,40 +22,42 @@
auto lo
iface lo inet loopback
-auto eth0
-iface eth0 inet manual
-bond-master bond0
-bond-primary eth0
+auto em1
+iface em1 inet manual
+ bond-master bond0
+ bond-primary em1
-auto eth1
-iface eth1 inet manual
-bond-master bond0
+auto em2
+iface em2 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
+iface bond0 inet manual
+ bond-mode active-backup
+ bond-miimon 100
+ bond-slaves none
# Bridge interface for KVM guests
auto br0
-iface br0 inet dhcp
+iface br0 inet static
pre-up sleep 4 # must make br0 start _after_ bond0 is configured
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
+ #
+ 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
+
+iface br0 inet6 static
+ pre-up sleep 4 # must make br0 start _after_ bond0 is configured
+ address 2001:6b0:8:4::70
+ netmask 64
+ gateway 2001:6b0:8:4::1