Setup Network Topology

This chapter describes the necessary steps to create a virtual router (VR) and private network and to make the most important firewall settings. It also describes how to deploy your first virtual server (VM) in the created network.

Create Router (VR)

To access the Internet from a virtual server, a VR is always required, which establishes the connection between the private and public network.

To do this, perform the following steps:

  • Click on “Network Topology” in the navigation bar on the left
  • Then click on the button “+Create Router” in the upper right corner
  • In the input mask, enter a
    • Router Name and
    • select the external network “public”, then
    • select the Availability Zone (e.g. “ch-zh1-az1”) and click “OK”
../_images/create-router1.png

If you now click on “Network Topology” in the navigation after the VR has been created, you will see the following picture:

../_images/create-router2.png

Create Network (Private / Public)

Next we create a private network (Private /24), in which we deploy the VM’s later.

  • Click on “Network Topology” in the navigation bar on the left
  • Then click on the button “+Create Network” in the upper right corner
../_images/create-network0.png
  • Now enter the following in the first input mask “Network”:
    • click on the desired Network Name, then click on “Next
    • Leave the two boxes “Enable Admin State” and “Create Subnet” checked.
../_images/create-network1.png
  • Now enter the following in the “Subnet” input mask:
    • enter the desired “Subnet Name”
    • Valid Private network address enter for subnet
    • select the IP version (IPv4 in our example)
    • If you leave the “Gateway IP” field empty, the default GW of the subnet will be used (in our example 192.168.50.1). Click “Next” to continue.
../_images/create-network2.png
  • Enter the following last in the “Subnet Details” input mask:
    • Activate the checkbox “Enable DHCP”, so that your servers will automatically receive an IP address from the address range of the private network.
    • In the field “Allocation Pools” you can optionally define or restrict the IP range used by DHCP. For further explanations please click on the question mark of the respective input field.
    • Im Feld “DNS Name Servers” können sie optional die IP Adressen eines bevorzugten DNS Server eingeben.
    • Optionally you could enter specific routes in the last field “Host Routes”, but for our example we leave it empty.
  • Now click on “Create “ to finish the process.
../_images/create-network3.png

Now the Network is created and the Network Topology looks like this:

../_images/create-network4.png

Connect Router to Network (Add Interface)

To establish the connection between the network and the router, move the mouse over the router symbol and click on “+Add Interface”.

../_images/create-network5.png
  • Then select your network (Subnet) and confirm with Submit.
../_images/create-network6.png

Now the network is connected to the router.

../_images/create-network7.png

Now go to the next chapter with “next”: or click on this link Launch Instance to install a VM (deploy).