Debian und Ubuntu Integration

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

!!!/etc/network/interface!!!

Define a bridge

auto vmbr-int
allow-ovs vmbr-int
iface vmbr-int inet manual
  ovs_type OVSBridge
  • auto is necessary to allow an automatic start (Ubuntu 16.04 using systemd)
  • allow-ovs is the marker for an Openvswitch bridge. The bridge name follows, here vmbr-int
  • iface is the well known /etc/network/interfaces identifier to start an interface configuration
  • ovs_type defines the interface type for ovs. OVSBridge identifies an Openvswitch bridge

Define a L2 port (untagged)

allow-vmbr-int l2port
iface l2port inet manual
  ovs_bridge vmbr-int
  ovs_type OVSPort
  ovs_options tag=444

Links