# how to configure external network openstack

Hi all,

I am new to openstack and trying to deploy a 2 nodes openstack queens architecture. The document, I'm following https://docs.openstack.org/install-guide/environment-networking.html (https://docs.openstack.org/install-gu...).

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: 10.204.16.150/24 and gateway: 10.204.16.1
** Compute:  ens160 -  CIDR: 10.204.16.151/24 and gateway: 10.204.16.1


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: 10.204.35.0/24,
Pool: 10.204.35.50 -> 10.204.35.60
Default Gateway: 10.204.35.1
DNS: 8.8.8.8


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

QUESTIONS:

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"?