我要评分
获取效率
正确性
完整性
易理解

Configuring Network Data

The following networking operations apply to external switching, that is, VMs on the network are located on different physical machines. For internal switching, that is, VMs on the network are located on the same physical machine, delete the enp1s0f1.

  1. Set up the normal network.
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    ovs-vsctl add-br ovs-sriov
    ovs-vsctl add-port ovs-sriov enp1s0f1
    ovs-vsctl add-port ovs-sriov enp1s0f1_0
    ovs-vsctl add-port ovs-sriov enp1s0f1_1
    ovs-vsctl add-port ovs-sriov enp1s0f1_2
    ovs-vsctl add-port ovs-sriov enp1s0f1_3
    ovs-vsctl add-port ovs-sriov enp1s0f1_4
    ovs-vsctl add-port ovs-sriov enp1s0f1_5
    ovs-vsctl add-port ovs-sriov enp1s0f1_6
    ovs-vsctl add-port ovs-sriov enp1s0f1_7
    ip link set dev enp1s0f1 up
    ip link set dev enp1s0f1_0 up
    ip link set dev enp1s0f1_1 up
    ip link set dev enp1s0f1_2 up
    ip link set dev enp1s0f1_3 up
    ip link set dev enp1s0f1_4 up
    ip link set dev enp1s0f1_5 up
    ip link set dev enp1s0f1_6 up
    ip link set dev enp1s0f1_7 up
    

  2. View the OVS bridge information.
    1
    ovs-vsctl show