configure bridge in /etc/network/interfaces (the Debian way)
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 14 May 2009 09:48:02 +0000 (09:48 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 14 May 2009 09:48:02 +0000 (09:48 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@68 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/lxc/2 [new symlink]
recepies/lxc/2.append [new file with mode: 0644]

diff --git a/recepies/lxc/2 b/recepies/lxc/2
new file mode 120000 (symlink)
index 0000000..1ed334e
--- /dev/null
@@ -0,0 +1 @@
+/etc/network/interfaces
\ No newline at end of file
diff --git a/recepies/lxc/2.append b/recepies/lxc/2.append
new file mode 100644 (file)
index 0000000..cd264f0
--- /dev/null
@@ -0,0 +1,11 @@
+
+#allow-hotplug eth0
+
+# man bridge-utils-interfaces
+auto br0
+iface br0 inet static
+       bridge_ports eth0
+       bridge_fd 0
+       address 10.60.0.92
+       netmask 255.255.254.0
+       gateway 10.60.0.1