Skip to main content
Version: v4

How to Add Additional Provider IP Blocks

Introduction​

With OpenMetal Private Clouds, multiple provider IP blocks are supported. This guide explains how to add an additional provider IP block and add it to your cloud as a subnet.

What is a provider IP block?​

This is a public subnet that is associated with your cloud's External OpenStack network. Your cloud comes with a single provider subnet by default. Floating IPs are assigned from this network. This is the subnet you would typically use to route public internet traffic to VMs in your cloud.

Add the IP block​

To add a new provider IP block, first follow this Central guide: Adding new IP Blocks to a Cloud's External Provider Network

Create the subnet in OpenStack​

Once the order completes, add the block to the External network as a new subnet. Log in as a user with the administrator role, typically admin.

Use these values, shown for the example block 10.0.0.112/28. On a live cloud the block is a public range.

FieldValueExample
Subnet NameInternet_ followed by a numberInternet_2
Network Address / CIDRThe block10.0.0.112/28
IP VersionIPv4IPv4
Gateway IPFirst usable address10.0.0.113
DHCPEnabledEnabled
Allocation PoolsFourth usable address to the last usable address10.0.0.116,10.0.0.126
DNS Name ServersOne per line1.1.1.1 and 8.8.8.8

Step 1 -- Go to Project -> Network -> Networks, click the External network, choose the Subnets tab, and click Create Subnet.


Step 2 -- On the Subnet tab, enter the name, network address, IP version, and gateway IP. Click Next.

Subnet tab of the Create Subnet dialog in Horizon

Figure 1: Create Subnet


Step 3 -- On the Subnet Details tab, leave Enable DHCP checked and enter the allocation pool and DNS name servers. Click Create.

Subnet Details tab of the Create Subnet dialog in Horizon

Figure 2: Subnet Details


Step 4 -- Confirm the new subnet is listed.

External network subnets listing the new subnet in Horizon

Figure 3: Subnets of the External network

Reserved addresses​

Each provider block reserves its first three usable addresses for the OpenMetal routers upstream of your cloud. They must stay outside the allocation pool.

AddressExampleUse
Network address.112Not usable
First usable.113Gateway, a virtual IP shared by the two routers over VRRP
Second usable.114First router
Third usable.115Second router
Fourth usable to last usable.116 - .126Allocation pool
Broadcast address.127Not usable

A /28 leaves 11 addresses for your cloud. Neutron uses some of these for its own ports, such as DHCP and metadata, so a new subnet shows addresses in use before you assign any.

Using the new IPs​

When creating a resource that needs an IP from this block, such as a floating IP or a router gateway, select the new subnet.