Open Vswitch: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 15: | 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= | ||
| Zeile 20: | Zeile 47: | ||
*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 | *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"