Connect the second insance to First_local_net-5 minutes a day to play with OpenStack (83)

Source: Internet
Author: User

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473115257894051500.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473115257894051500.png "alt=" Image544.5.png "style=" BORDER:0PX;FONT-SIZE:14PX; line-height:1.5; "/>

In the previous section, CIRROS-VM1 was deployed in First_local_net, and a instance is deployed today, and the connectivity of two instance is verified.

In the same way launch instance "CIRROS-VM2"

The assigned IP is 172.16.1.4

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114737938058850.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114915854003301.jpg "style=" border:0px;white-space:normal;float:none; "/>

CIRROS-VM2 is also schedule to the control node, Virsh list and Brctl show output as follows cirros-vm2 for the tap device tapa5bd3746-3f.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114738006006885.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114915946020428.jpg "style=" border:0px;white-space:normal;float:none; "/>

Running Ifconfig,instance on CIRROS-VM2 's console has got the DCHP IP address.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114738253093540.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114916036035243.jpg "style=" border:0px;white-space:normal;float:none; "/>

Can Ping the IP address of the CIRROS-VM1 172.16.1.3.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114738342017806.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114916207090812.jpg "style=" border:0px;white-space:normal;float:none; "/>

The network structure of the current host is as follows.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114738815000583.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114916303044651.jpg "style=" border:0px;white-space:normal;float:none; "/>

Two instance VIF are hung on the same Linux bridge and can communicate with each other.

Here's a question for you to think about:

If CIRROS-VM2 launch is schedule to a compute node instead of a control node, does it get DHCP IP?

Answer:

I can't . Because the DHCP agent is running on the control node, CIRROS-VM2 is located on the local network of the compute nodes, and the two are in different physical nodes. Because the local network traffic can only be confined within this node, the DHCP request sent cannot reach the control node.

Now that we have first_local_net and two instance, the next section will create a second seconde_local_net.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160822-1471817895244049415.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160906-1473114916477074619.jpg "alt=" Blob.png "style=" border:0px; "/>

Connect the second insance to First_local_net-5 minutes a day to play with OpenStack (83)

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.