Fortinet Document Library

Version:


Table of Contents

OpenStack Administration Guide

7.0.0
Download PDF
Copy Link

Setting up networks in OpenStack

From the OpenStack environment command line, enter the following commands to create network-r and network-l:

$ source overcloudrc_tenant01

$ openstack network create network-r

$ openstack subnet create subnet-r --network network-r --subnet-range 172.32.0.0/24 --dns-nameserver 208.91.112.53

$ openstack network create network-l

$ openstack subnet create subnet-l --network network-l --subnet-range 172.33.0.0/24 --dns-nameserver 208.91.112.53

Add the CirrOS instances to network-r and network-l:

$ openstack server create --flavor m1.tiny --image cirros035 --security-group web --nic net-id=network-r cirros-r

$ openstack server create --flavor m1.tiny --image cirros035 --security-group web --nic net-id=network-l cirros-l

Setting up networks in OpenStack

From the OpenStack environment command line, enter the following commands to create network-r and network-l:

$ source overcloudrc_tenant01

$ openstack network create network-r

$ openstack subnet create subnet-r --network network-r --subnet-range 172.32.0.0/24 --dns-nameserver 208.91.112.53

$ openstack network create network-l

$ openstack subnet create subnet-l --network network-l --subnet-range 172.33.0.0/24 --dns-nameserver 208.91.112.53

Add the CirrOS instances to network-r and network-l:

$ openstack server create --flavor m1.tiny --image cirros035 --security-group web --nic net-id=network-r cirros-r

$ openstack server create --flavor m1.tiny --image cirros035 --security-group web --nic net-id=network-l cirros-l