Create router connect subnet-5 minutes a day play with OpenStack (100)

Source: Internet
Author: User

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577551230092277.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578052505025058.jpg "style=" float:none; "/>

in the previous section we configured the L3 agent for the Neutron virtual router, today the virtual router will be created “router_100_101”, vlan100 and vlan101.

Open the Action menu Project, Network, routers.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550311056766.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578052955033552.jpg "/>

Click “ Create router” Button

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550166083727.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053023045541.jpg "/>

Router named “router_100_101”, click “ Create router” Button confirmation.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550402071931.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053115015448.jpg "/>

Router_100_101 created successfully.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550433081571.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053203036905.jpg "/>

Next you need to connect the vlan100 and vlan101 to the router_100_101. Click “router_100_101” Link into the Router configuration page, “Interfaces” tab, click “ ADD interface” Button.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550516045287.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053268033358.jpg "/>

Select Vlan101 's Subnet_172_16_101_0, click “ ADD interface” Confirm.

650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577996989096287.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053361042296.jpg "alt=" Image627.png "/>

Add the vlan100 subnet_172_16_100_0 in the same way.

650) this.width=650; "style=" color: #333333; font-family: ' Microsoft Yahei '; Font-size:15px;white-space:normal;float: none; "title=" Http://7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20161016-1476577550980082018.png "src=" Http://7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20161016-1476578053505020541.jpg "/>

When finished, you can see that the router_100_101 has two interface, the IP is exactly subnet's Gateway IP 172.16.100.1 and 172.16.101.1.

Here, we can foresee: 1. The router_100_101 has been connected to Subnet_172_16_100_0 and SUBNET_172_16_101_0. 2. Two subnet Gateway IPs have been set up on the router_100_101. 3. CIRROS-VM1 and CIRROS-VM3 should be able to communicate.

Test it with a PING.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550715053187.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578053656021480.jpg "/>

Judging correctly, CIRROS-VM1 and cirros-vm3 can communicate.

View the routing table for CIRROS-VM1, which has a default gateway of 172.16.100.1. At the same time Traceroute tells us that CIRROS-VM1 is indeed through router_100_101 access to CIRROS-VM3.

650) this.width=650; "style=" White-space:normal;float:none; "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476577550846060751.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20161016-1476578052440074100.jpg "/>

In the next section we will explore how router_100_101 works.

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-20161016-1476578053768048577.jpg "alt=" Blob.png "/>

Create router connect subnet-5 minutes a day play with OpenStack (100)

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.