]> git.proxmox.com Git - openvswitch.git/blobdiff - debian/README.Debian
add debian sid (ovs 2.11) "debian" directory
[openvswitch.git] / debian / README.Debian
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..cf0b9f0
--- /dev/null
@@ -0,0 +1,36 @@
+Here's an example configuration for your /etc/network/interfaces
+using a simple ovsbr0 bridge for eth0, with dhcp for ipv4 and ipv6.
+This was taken from https://bugs.debian.org/860786.
+
+allow-ovs  ovsbr0
+iface ovsbr0 inet dhcp
+       ovs_type OVSBridge
+        ovs_ports eth0
+
+allow-ovs ovsbr0
+iface ovsbr0 inet6 dhcp
+        ovs_type OVSBridge
+        ovs_ports eth0
+
+allow-ovsbr0 eth0
+iface eth0 inet manual
+        ovs_bridge ovsbr0
+        ovs_type OVSPort
+
+However, this didn't work for me. Instead, this worked:
+
+allow-ovs br0
+iface br0 inet dhcp
+       ovs_type OVSBridge
+       ovs_port enp0s3
+
+auto enp0s3
+iface enp0s3 inet manual
+       ovs_bridge br0
+       ovs_type OVSPort
+       up ip address add 0/0 dev enp0s3
+       up ip link set enp0s3 up
+       up dhclient br0
+       down ip link set enp0s3 down
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 29 Jan 2018 11:33:40 +0100