Open Vswitch: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
=Install=
 
=Install=
 
*sudo apt-get install openvswitch-switch
 
*sudo apt-get install openvswitch-switch
 +
=Ubuntu 16.04 Problem=
 +
*[[Open Vswitch Ubuntu 16.04 Problem]]
 +
=Debian und Ubuntu Integration=
 +
*[[Debian und Ubuntu Integration]]
 +
 
=Switch erstellen=
 
=Switch erstellen=
 
*ovs-vsctl add-br lan-switch
 
*ovs-vsctl add-br lan-switch
Zeile 10: Zeile 15:
 
  dummy0
 
  dummy0
 
  enp3s0
 
  enp3s0
 +
=Brigde status=
 +
*ovs-vsctl show
 +
<pre>
 +
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"
 +
</pre>
  
 
=Links=
 
=Links=
 +
*http://docs.openvswitch.org/en/latest/tutorials/ovs-advanced/
 
*http://www.linux-magazin.de/Ausgaben/2013/02/Open-Vswitch
 
*http://www.linux-magazin.de/Ausgaben/2013/02/Open-Vswitch
 +
*http://www.opencloudblog.com/?p=240
 +
*https://blog.scottlowe.org/2012/11/07/using-vlans-with-ovs-and-libvirt/

Aktuelle Version vom 12. Oktober 2017, 16:15 Uhr

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