Adding a network

By default all new Catalyst Cloud projects in the Porirua region (nz-por-1) are created with a router and network. If you have removed this, or simply wish to create additional networks, then the following guide will show you the steps required to achieve this.

Creating the required network elements

We need to create a router and network/subnet.

Navigate to the “Routers” section and click “Create Router”:

../_images/fi-router-create.png

Name the router “border-router”, select admin state “UP” and select “public-net” as the external network:

../_images/fi-router-name.png

Navigate to the “Networks” section and click “Create Network”:

../_images/fi-network-create.png

Name your network “private-net”, select create subnet and click “Next”:

../_images/fi-network-create-name.png

Name your subnet “private-subnet”, choose an address for your subnet in CIDR notation and click “Next”:

../_images/fi-network-address.png

The Subnet Details page is normally, by default, empty. However you can define the different fields however you’d like. Specifications like:

  • enabling DHCP
    • Dynamic Host Configuration Protocol. Allows you to assign IPs dynamically to devices on your network.

  • defining a DHCP ip address allocation pool.
    • This is the range of IPs that you are going to be allocating. For example from 10.0.0.10 to 10.0.0.200

  • specifying the DNS Name Servers for the required region

At the moment if you leave the DNS field blank the dashboard will automatically allocate it to the catalyst cloud DNS. So it is entirely optional.

../_images/Create-network-subnetdetails.png

Click on the router name in the router list:

../_images/fi-router-detail.png

Select the “Interfaces” tab and click “+Add Interface”:

../_images/fi-router-interface-add.png

Select the correct subnet:

../_images/fi-router-interface-subnet.png

You should now have a network topology that looks like this:

../_images/fi-network-topology.png

Using the CLI

You are also able to create a network using the CLI. If you look through this section of the documentation. While it talks about setting up your first instance there are steps at the beginning showing you how to create routers and networks using the CLI.