network: Add br-lxc bridge for containers.
[matthijs/servers/tika.git] / etc / network / interfaces
index 04ee0fe32ad0c6c54b61c0a7542d88f60aa709e5..0f2f47d5c0fd74a91887b8fa306b3fde63c586b7 100644 (file)
@@ -8,3 +8,12 @@ iface lo inet loopback
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp
+
+auto br-lxc
+iface br-lxc inet static
+        # Set this up as a bridge, but don't add any ports yet. Ports
+        # will be added when lxc containers are created later on.
+        bridge_ports none
+        # Statically configure this bridge
+        address 10.42.0.1
+        netmask 255.255.255.0