Open Vswitch

Aus xinux.net
Zur Navigation springen Zur Suche springen

Install

  • sudo apt-get install openvswitch-switch

Ubuntu 16.04 Problem

Debian und Ubuntu Integration

Switch erstellen

  • ovs-vsctl add-br lan-switch

Ports hinzufügen

  • ovs-vsctl add-port lan-switch dummy0
  • ovs-vsctl add-port lan-switch enp3s0

Ports anzeigen

  • ovs-vsctl list-ports lan-switch
dummy0
enp3s0

Brigde status

  • ovs-vsctl show
09e72964-f823-4fc7-aa16-079e4264d236
    Bridge "vmbr0"
        Port "vlan2"
            tag: 2
            Interface "vlan2"
                type: internal
        Port "ens5"
            tag: 1
            Interface "ens5"
        Port "vlan252"
            tag: 252
            Interface "vlan252"
                type: internal
        Port "vlan1"
            tag: 1
            Interface "vlan1"
                type: internal
        Port "vmbr0"
            Interface "vmbr0"
                type: internal
        Port "vnet0"
            Interface "vnet0"
    ovs_version: "2.5.2"

Links