Debian und Ubuntu Integration: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 11: | Zeile 11: | ||
*iface is the well known /etc/network/interfaces identifier to start an interface configuration | *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 | *ovs_type defines the interface type for ovs. OVSBridge identifies an Openvswitch bridge | ||
| + | =Define a L2 port (untagged)= | ||
| + | <pre> | ||
| + | allow-vmbr-int l2port | ||
| + | iface l2port inet manual | ||
| + | ovs_bridge vmbr-int | ||
| + | ovs_type OVSPort | ||
| + | ovs_options tag=444 | ||
| + | </pre> | ||
=Links= | =Links= | ||
*http://docs.openvswitch.org/en/latest/tutorials/ovs-advanced/ | *http://docs.openvswitch.org/en/latest/tutorials/ovs-advanced/ | ||
Version vom 12. Oktober 2017, 11:23 Uhr
!!!/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