how to configure external network openstack

asked 2018-06-26 18:47:15 -0500

johnpham gravatar image

Hi all,

I am new to openstack and trying to deploy a 2 nodes openstack queens architecture. The document, I'm following (

My current setup consists of 2 VMs running Ubuntu 16.04 each with 3 NICS ens160, ens192 adn ens224.

I configured static IP addresses for ens160 NICs on both VM and this is the management interface

      ** Controller: ens160 - CIDR: and gateway:
      ** Compute:  ens160 -  CIDR: and gateway:

The default gateway provide internet access for the VMs to install packages.

Now, I am trying to setup a "provider network" for Openstack so that VM instances within the Openstack cloud can have internet access. I am using the ens192 NIC to achieve this.

My understanding is that, the provider network should be mapped to a different subnet to the management network. Hence, I intend to configure the provider network as followed:

              ** Provider network: CIDR:, 
                                   Pool: ->
                                   Default Gateway:

Now if I want openstack instances to have internet access I need to configure the default gateway for this provider network which is But the problem is I can only have 1 default gateway configure across all network cards (at least this is what I read).


1.Does this mean I need to remove the default gateway from the first NIC ens160?

2.If so will the openstack nodes still have internet access from the "provider network"?

Thanks in advance, your time is much appreciated. J

edit retag flag offensive close merge delete