The change of OvS Bridge in OpenStack New virtual machine, network and route

Source: Internet
Author: User

[[email protected] ~]# [[email protected] ~]# [[email protected] ~]# [[email protected] ~]# [[ Email protected] ~]# [[email protected] ~]# [[email protected] ~]# [[email protected] ~]# [[email&] Nbsp;protected] ~]# [[email protected] ~]# [[email protected] ~]# [[email protected] ~]# [[email  protected] ~]# [[email protected] ~]# ovs-vsctl show ========================= original ====================== bf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge Br-tun fail_mode:secure Port patch-int Interface Patch-int type:patch options: {Peer=patch-tun} Port Br-tun Interface br-t Un type:internal Bridge br-ex Port br-ex Interface br-ex Type:interna            L Port "ens256" Interface "ens256" 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 ovs_ Version: "2.3.0" [[email protected] ~]# Create admin-int===================== add br-int of a tap port============== ===========-bash:create:command not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge Br-tun fail_mode:secure Port patch-int interf Ace Patch-int Type:patch options: {Peer=patch-tun} Port Br-tun Interface Br-tun type:internal Bridge br-ex Port br-ex Interface br-ex type:int            Ernal Port "ens256" Interface "ens256" 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 "tapb3284d90-04 "-----------------------------------------------------------------tag:1 Interface" tapb3284 d90-04 "type:internal ovs_version:" 2.3.0 "[[email protected] ~]# add admin-router================= ============ no change ================-bash:add:command not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge Br-tun fail_mode:secure Port patch-int interf Ace Patch-int Type:patch options: {Peer=patch-tun} Port Br-tun Interface Br-tun type:internal Bridge br-ex Port br-ex Interface br-ex type:int            Ernal Port "ens256" Interface "ens256" 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 "tapb3284d90-04" tag:1 Interface "tapb3284d90-04" type:internal Ovs_version: "2.3.0" [[email protected] ~]# add ext-net====================================== no change =========- Bash:add:command not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge br-tu                n fail_mode:secure Port patch-int Interface patch-int type:patch        Options: {Peer=patch-tun} Port br-tun Interface br-tun type:internal Bridge Br-ex     Port Br-ex Interface br-ex type:internal port "ens256" Interface "ens256"                 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 "tapb3284d90-04"    Tag:1 Interface "tapb3284d90-04" type:internal ovs_version: "2.3.0" [[Email protect Ed] ~]# Add ext-subnet 101~105 108~110===================== add br-int of a tap Port====================-bash:add:command  Not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge br-tun fail_mode: Secure Port patch-int Interface patch-int type:patch options: {PEER=PATC            H-tun} port Br-tun Interface br-tun type:internal Bridge br-ex Port Br-ex        Interface br-ex type:internal Port "ens256" Interface "ens256" Bridge br-int Fail_mode:secure Port "tap7d3cee3e-2b" Tag:2 Interface "tap7d3cee3e-2b"-------------- --------------------------------------------------------type:internal Port Patch-tun in          Terface Patch-tun      Type:patch options: {peer=patch-int} Port br-int Interface br-int t Ype:internal Port "tapb3284d90-04" tag:1 Interface "tapb3284d90-04" type:in Ternal ovs_version: "2.3.0" [[email protected] ~]# add interface to extnet in admin-router========================= = no change ========-bash:add:command not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge Br-tun fail_mode:secure Port patch-int interf Ace Patch-int Type:patch options: {Peer=patch-tun} Port Br-tun Interface Br-tun type:internal Bridge br-ex Port br-ex Interface br-ex type:int Ernal Port "ens256" Interface "ens256" Bridge br-int fail_mode:secure Port "tap7d3cee3     e-2b "Tag:2 Interface" tap7d3cee3e-2b "           Type:internal Port patch-tun Interface patch-tun type:patch o Ptions: {peer=patch-int} port br-int Interface br-int type:internal Port "tapb328 4d90-04 "Tag:1 Interface" tapb3284d90-04 "type:internal ovs_version:" 2.3.0 "[[Em Ail protected] ~]# add interface to Admin-int in admin-router=========================== no change ==================- Bash:add:command not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge br-tu                n fail_mode:secure Port patch-int Interface patch-int type:patch        Options: {Peer=patch-tun} Port br-tun Interface br-tun type:internal Bridge Br-ex     Port Br-ex Interface br-ex type:internal port "ens256" Interface "ens256" Bridge Br-int Fail_Mode:secure Port "tap7d3cee3e-2b" Tag:2 Interface "tap7d3cee3e-2b" Type:int Ernal Port patch-tun Interface patch-tun type:patch options: {peer=patch-            int} port Br-int Interface br-int type:internal port "tapb3284d90-04" Tag:1 Interface "tapb3284d90-04" type:internal ovs_version: "2.3.0" [[email protected] ~]# Add a VM 192.168.1.6===================================== adds br-int to a qvo port=======-bash:add:command not found[        [email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge Br-tun fail_mode:secure        Port patch-int Interface patch-int type:patch options: {Peer=patch-tun} Port Br-tun Interface br-tun type:internal Bridge br-ex Port br-ex Int                Erface Br-exType:internal Port "ens256" Interface "ens256" Bridge br-int fail_mode:secure Port "t ap7d3cee3e-2b "Tag:2 Interface" tap7d3cee3e-2b "type:internal Port" QVO1A7BC Ce3-c9 "-------------------------------------------------------------tag:1 Interface" qvo1a7bcce3-c 9 "Port Patch-tun Interface patch-tun type:patch options: {peer=patch-int } Port Br-int Interface br-int type:internal port "tapb3284d90-04" tag  : 1 Interface "tapb3284d90-04" type:internal ovs_version: "2.3.0" [[email protected] ~]# Add a vm2 192.168.1.7========================================= adds a qvo port=============-bash:add:command for Br-int  Not found[[email protected] ~]# ovs-vsctl showbf9e88f0-f9f7-4878-81df-6faa332ab037 Bridge br-tun fail_mode: Secure Port Patch-int           Interface patch-int type:patch options: {Peer=patch-tun} Port Br-tun                Interface Br-tun type:internal Bridge br-ex Port br-ex Interface Br-ex        Type:internal Port "ens256" Interface "ens256" Bridge br-int fail_mode:secure Port "tap7d3cee3e-2b" Tag:2 Interface "tap7d3cee3e-2b" type:internal port " Qvo1a7bcce3-c9 "Tag:1 Interface" qvo1a7bcce3-c9 "Port Patch-tun Interface patch-t Un type:patch options: {peer=patch-int} Port "Qvo824b8f9d-c5"-----------------------             -----------------------------------------------tag:1 Interface "Qvo824b8f9d-c5" Port br-int Interface br-int type:internal Port "tapb3284d90-04" Tag:1 Inter   Face "tapb3284d90-04"             Type:internal ovs_version: "2.3.0" [[email protected] ~]#  

  

Summarize:

In addition to the virtual machine and subnet network will be in the Br-int this bridge to add a port (virtual machine is QVO, network is tap)

The change of OvS Bridge in OpenStack New virtual machine, network and route

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.