Ubuntu 16.04 關於Openvswitch OVSBridge,OVSPort等的網卡配置說明

Ubuntu 16.04  可以在/etc/network/interfaces 配置文件中配置OVS  Bridge  ,OVS port等設備。規則如下:

 

配置OVS橋的節應該以“allow-ovs”開頭,然後是橋的名字
allow-ovs br0

配置OVS端口的節應該以“allow-${bridge-name}”後面跟端口名。這裏有一個例子。
allow-br0 eth0

 

網卡配置文件支持以下配置:

- ovs_type: This can either be OVSBridge, OVSPort, OVSIntPort, OVSBond,
      OVSPatchPort or OVSTunnel depending on whether you configure a bridge,
      port, an internal port, a bond, a patch port or a tunnel. This is a
      required option.

    - ovs_ports: This option specifies all the ports that belong to a bridge.

    - ovs_bridge: This options specifies a bridge to which a port belongs.
      This is a required option for a port.

    - ovs_bonds: This option specifies the list of physical interfaces to be
      bonded together.

    - ovs_patch_peer: For "OVSPatchPort" interfaces, this field specifies
      the patch's peer on the other bridge.

    - ovs_tunnel_type: For "OVSTunnel" interfaces, t
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章