Fortinet Document Library

Version:


Table of Contents

FortiGate-VM on OpenStack

Use Case: Automatically Updating Dynamic Addresses Using Fabric Connector

Resources

Upgrade Path Tool
  • Select version:
  • 6.0
6.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 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 be used for 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

Verifying 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.

Resources

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 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 be used for 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

Verifying 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.