Friday, March 6, 2020

2. Lab Configure OpenStack Network Routing





Configure Network Routing in OpenStack

Note: This blog is for you to make your life easier. 
Don't make your life complicated, just enjoy the blog. ^_^
This is my first time to create Blog. Please pardon my simplicity of my own blog and look for the content. Enjoy reading! ^_^

In this blog I will configure two networks and create a router to allow communication between the networks.

Required Software
OpenStack installed in VirtualBox
Click the link for your references: 
OpenStack installation in VirtualBox


OpenStack Networking allows you to create and manage network objects, such as networks, subnets, and ports, which other OpenStack services can use. Plug-ins can be implemented to accommodate different networking equipment and software, providing flexibility to OpenStack architecture and deployment.
references: https://docs.openstack.org/neutron/rocky/admin/intro-os-networking.html


The first step you need to do is to create networks.
Browse the network section you created in the web interface.
http://[your IP Address]/dashboard/project/networks/




This should be the IP address of the server on the host-only network.

Create a Network named GREEN






Create a GREEN_SN subnet with the network address 192.168.0.0/24






Create a BLUE network and BLUE_SN subnet with the network address 192.168.1.0/24





Now, create Instances
Browse to the instance section of the web interface
http://[your IP Address]/dashboard/project/instances/



Launch 2 instances with the name GREEN


Select the Source*
Select the source cirros-0.4.0-x86_64-disk
Set Create New Volume to No




Select the Flavor*
Select the flavour m1.nano


Select the GREEN network and launch the instances


Repeat with 1 instance in the BLUE network


Now, browse the GREEN_1 console and log-in.
Note: the console take some time.





Ping GREEN_2 you should get a response


Ping BLUE and you should not get no response


Browse the Network Topology section and view the Graph
copy & paste it to your URL for easy access: 
http://put your IP Address/dashboard/project/routers/



Create a Router
copy & paste it to your URL for easy access: 
http://put your IP Address/dashboard/project/routers/



Create ROUTER_1



Edit the ROUTER_1 and ADD both GREEN and BLUE 
network interfaces. 

Then repeat it to GREEN network interfaces.



Return to the GREEN_1 instance console


 and ping BLUE.
You should ping and connect.





Thanks for visiting my blog.
Email me at: aileen-pacia@live.nmit.ac.nz
“I can do all things through Christ who strengthens me.”
Philippians 4:13




No comments:

Post a Comment