]> git.proxmox.com Git - ovs.git/blame - debian/README.Debian
initial import
[ovs.git] / debian / README.Debian
CommitLineData
9a25910a
TL
1Here's an example configuration for your /etc/network/interfaces
2using a simple ovsbr0 bridge for eth0, with dhcp for ipv4 and ipv6.
3This was taken from https://bugs.debian.org/860786.
4
5allow-ovs ovsbr0
6iface ovsbr0 inet dhcp
7 ovs_type OVSBridge
8 ovs_ports eth0
9
10allow-ovs ovsbr0
11iface ovsbr0 inet6 dhcp
12 ovs_type OVSBridge
13 ovs_ports eth0
14
15allow-ovsbr0 eth0
16iface eth0 inet manual
17 ovs_bridge ovsbr0
18 ovs_type OVSPort
19
20However, this didn't work for me. Instead, this worked:
21
22allow-ovs br0
23iface br0 inet dhcp
24 ovs_type OVSBridge
25 ovs_port enp0s3
26
27auto enp0s3
28iface enp0s3 inet manual
29 ovs_bridge br0
30 ovs_type OVSPort
31 up ip address add 0/0 dev enp0s3
32 up ip link set enp0s3 up
33 up dhclient br0
34 down ip link set enp0s3 down
35
36 -- Thomas Goirand <zigo@debian.org> Mon, 29 Jan 2018 11:33:40 +0100