Fortinet white logo
Fortinet white logo

OpenStack Administration Guide

Setting up networks in OpenStack

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

To set up the ha-sync network for the HA heartbeat:

From the OpenStack environment command line, enter the following commands to create the HA-sync network to use for high availability (HA) heartbeat communication.

$ openstack network create ha-sync

$ openstack subnet create subnet-ha --network ha-sync --subnet-range 169.254.0.0/24 --dns-nameserver 208.91.112.53

To verify the MTU assigned to the ha-sync network:

You can use the OpenStack Horizon Networks view to verify the MTU assigned to the ha-sync network.

Setting up networks in OpenStack

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

To set up the ha-sync network for the HA heartbeat:

From the OpenStack environment command line, enter the following commands to create the HA-sync network to use for high availability (HA) heartbeat communication.

$ openstack network create ha-sync

$ openstack subnet create subnet-ha --network ha-sync --subnet-range 169.254.0.0/24 --dns-nameserver 208.91.112.53

To verify the MTU assigned to the ha-sync network:

You can use the OpenStack Horizon Networks view to verify the MTU assigned to the ha-sync network.