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

猜你喜欢

转载自blog.csdn.net/zhongbeida_xue/article/details/105262405
今日推荐