mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
* Update upstream OVS debian packaging to be on par with package source in Debian/Ubuntu: - Provide a openvswitch-switch-dpdk package that integrates with the dpdk package in the distributions so that end users can opt into a DPDK-enabled Open vSwitch binary. - Provide systemd service files. - Provide openvswitch-source package for reproducible integrated build of for example OVN. - Stop building shared library and subsequently remove libopenvswitch and libopenvswitch-dev binary packages. Co-authored-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Luca Boccassi <bluca@debian.org> Co-authored-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Co-authored-by: James Page <james.page@ubuntu.com> Signed-off-by: James Page <james.page@ubuntu.com> Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
37 lines
819 B
Plaintext
37 lines
819 B
Plaintext
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.
|
|
|
|
auto ovsbr0
|
|
iface ovsbr0 inet dhcp
|
|
ovs_type OVSBridge
|
|
ovs_ports eth0
|
|
|
|
auto ovsbr0
|
|
iface ovsbr0 inet6 dhcp
|
|
ovs_type OVSBridge
|
|
ovs_ports eth0
|
|
|
|
autobr0 eth0
|
|
iface eth0 inet manual
|
|
ovs_bridge ovsbr0
|
|
ovs_type OVSPort
|
|
|
|
However, this didn't work for me. Instead, this worked:
|
|
|
|
auto 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
|
|
|
|
-- Antoine Beaupré <anarcat@debian.org>, Wed, 22 Jun 2022 12:02:39 -0400
|