Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ovs-vsctl add-port br-ex2 enp3s4f1

ip tuntap add mode tap vport1

ip link set vport1 up

ovs-vsctl add-port br-ex2 vport1

ovs-vsctl set interface vport1 type=patch options:peer=qvo82837ec2-53

ovs-vsctl set interface qvo82837ec2-53 type=patch options:peer=vport1

[root@myhpserver ~]# ovs-vsctl show

0ed689ce-e2fe-4897-b457-f5e6a2342d3b

Bridge br-ex
    Port br-ex
        Interface br-ex
            type: internal
    Port "enp3s4f0"
        Interface "enp3s4f0"
Bridge br-tun
    fail_mode: secure
    Port br-tun
        Interface br-tun
            type: internal
    Port patch-int
        Interface patch-int
            type: patch
            options: {peer=patch-tun}
Bridge "br-ex2"
    Port "br-ex2"
        Interface "br-ex2"
            type: internal
    Port "vport1"
        Interface "vport1"
            type: patch
            options: {peer="qvo689dd8ce-a7"}
    Port "enp3s4f1"
        Interface "enp3s4f1"
Bridge br-int
    fail_mode: secure
    Port patch-tun
        Interface patch-tun
            type: patch
            options: {peer=patch-int}
    Port br-int
        Interface br-int
            type: internal
    Port "qvo689dd8ce-a7"   <- virtual port for VM
        tag: 1
        Interface "qvo689dd8ce-a7"
ovs_version: "2.1.3"

[root@myhpserver ~]#