将 br-ex 连接到 bond 时丢失连接 - openstack

将 br-ex 连接到 bond 时丢失连接 - openstack

我想在具有私有静态 IP 地址的绑定上配置 openstack,并且我也通过同一绑定连接到服务器。我意识到,一旦我将绑定连接到 br-ex,我就会与服务器断开连接(服务器无法 ping 其网关),并且当我通过以下命令将其连接到绑定时,br-ex 状态会关闭:

sudo ovs-vsctl 添加端口 br-ex bond0

当我尝试重新启动网桥 br-ex 时,绑定会自动从端口中删除。

这是添加绑定端口之前的网桥配置:

#ovs-vsctl show
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        datapath_type: system
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        datapath_type: system
        Port br-int
            Interface br-int
                type: internal
        Port "tapf556c-c7"
            tag: 1
            Interface "tapf556c-c7"
                type: internal
        Port "tapd2980-19"
            tag: 4095
            Interface "tapd2980-19"
                type: internal
        Port "qr-8ea26-da"
            tag: 4095
            Interface "qr-8ea26-da"
                type: internal
        Port "tap89cc3-c0"
            tag: 2
            Interface "tap89cc3-c0"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
    ovs_version: "2.12.0"

知道为什么会发生这种情况吗?解决办法是什么?

相关内容