Guide: Routers and Floating IPs

From bwCloud-OS
Jump to navigation Jump to search

Allocating and Associating a Floating IP (Freiburg Region)

For assigning a Floating IP a configuration as illustrated below (or something similar) is required. Here is a summary:

  1. Allocate a Floating IP to the project
    1. Network -> Floating IPs
    2. Allocate IP to Project
      • Choose the public network/pool
  2. Virtual network creating
    1. Network -> Networks
    2. Create Network
      • Set Network Name
    3. Next and the slider Subnet is presented
      • Set Subnet Name
      • Set Network Address (e.g. 10.10.1.0/24)
      • Set Gateway IP (e.g. 10.10.1.254)
    4. Next and the slider Subnet Details is presented
      • Enable DHCP must be checked
    5. Create
  3. Virtual router creating
    1. Network -> Routers
    2. Create Router
      • Set Router Name
      • Set Gateway/ External Network to public
    3. Choose router in the view -> Interfaces -> Add Interface
      • Set Subnet to the network from step 2
    4. Submit

Afterward, create a VM as follows:

  1. Compute -> Instances -> Launch Instance
    1. Under Networks choose the virtual network from step 2
    2. Launch Instance
  2. In the view of the instance -> Associate Floating IP
    1. Set IP Address from step 1
    2. Associate
Virtual network configuration for Floating IP: User defined network (blue), external network (globe), router between the nets.