diff options
author | Stefan Wold <swold@sunet.se> | 2014-05-12 10:51:17 +0200 |
---|---|---|
committer | Stefan Wold <swold@sunet.se> | 2014-05-12 10:51:17 +0200 |
commit | bc58a8b82bc2b09c3b9f8ade3b288b0e21e3b192 (patch) | |
tree | 5a4a3d11fd9558fa77c2fb8841b3938d248032c8 | |
parent | d000b1adea71cc89f31d4509c135768ecc796ba3 (diff) |
Enable bridge interface for KVM usesunet-ops-2014-05-12-v01
-rw-r--r-- | cdr1.sunet.se/overlay/etc/network/interfaces | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cdr1.sunet.se/overlay/etc/network/interfaces b/cdr1.sunet.se/overlay/etc/network/interfaces index 9fc7e2a..7475c35 100644 --- a/cdr1.sunet.se/overlay/etc/network/interfaces +++ b/cdr1.sunet.se/overlay/etc/network/interfaces @@ -50,3 +50,12 @@ iface bond0 inet6 static address 2001:6b0:8:4::70 netmask 64 gateway 2001:6b0:8:4::1 + +# Bridge interface for KVM guests +auto br0 +iface br0 inet dhcp + pre-up sleep 4 # must make br0 start _after_ bond0 is configured + bridge_ports bond0 + bridge_stp off + bridge_fd 0 + bridge_maxwait 0 |