Guide: Routers and Floating IPs: Difference between revisions

From bwCloud-OS
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:




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


# Allocate a ''Floating IP'' to the project
# Allocate a ''Floating IP'' to the project
Line 12: Line 12:
## ''Network'' -> ''Networks''
## ''Network'' -> ''Networks''
## ''Create Network''  
## ''Create Network''  
##* ''Network Name'' vergeben
##* ''Set Network Name''
## ''Next'' and the slider ''Subnet'' is presented
## ''Next'' and the slider ''Subnet'' is presented
##* Set ''Subnetz Name''
##* Set ''Subnet Name''
##* Set ''Network Addresse'' (z. B. 10.10.1.0/24)
##* Set ''Network Address'' (e.g. 10.10.1.0/24)
##* Set ''Gateway IP'' (z. B. 10.10.1.254)
##* Set ''Gateway IP'' (e.g. 10.10.1.254)
## ''Next'' and the slider ''Subnetz Details'' is presented
## ''Next'' and the slider ''Subnet Details'' is presented
##* ''Enable DHCP'' must be checked
##* ''Enable DHCP'' must be checked
## ''Create''
## ''Create''
Line 24: Line 24:
## ''Create Router''
## ''Create Router''
##* ''Set Router Name''
##* ''Set Router Name''
##* Set Gateway/ ''External Network'' to  ''public'' setzen
##* Set Gateway/ ''External Network'' to  ''public''  
## Choose router in the view -> ''Interfaces'' -> ''Add Interface''
## Choose router in the view -> ''Interfaces'' -> ''Add Interface''
##* Set ''Subnet'' to the network from step 2
##* Set ''Subnet'' to the network from step 2
Line 31: Line 31:


# ''Compute'' -> ''Instances'' -> ''Launch Instance''
# ''Compute'' -> ''Instances'' -> ''Launch Instance''
## Under ''Networks'' choose the virtual netzwork from step 2
## Under ''Networks'' choose the virtual network from step 2
## Launch Instance
## Launch Instance
# In the view of the instance -> ''Associate Floating IP''
# In the view of the instance -> ''Associate Floating IP''
## Set ''IP Address'' from step 1
## Set ''IP Address'' from step 1
## ''Associate''
## ''Associate''
[[File:Network floatingip graph.png|left|frame|Virtual network configuration for ''Floating IP'':   


 
User defined network (blue), external network (globe), router between the nets.]]
 
 
 
 
 
 
 
For assigning a Floating IP a configuration as illustrated below (or something similar) is required:
 
# '''Allocate a Floating IP to the project'''
## ''Network'' -> ''Floating IPs''
## Allocate IP to Project
### Choose the public network/pool
# '''Virtual network creating'''
## ''Network'' -> ''Networks''
## ''Create Network''
### add network name
## ''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)
## ''Next'' and the slider ''Subnet Details'' is presented
### ''DHCP enable'' must be checked
## ''Create''
# '''Virtual router creating'''
## ''Network''-> ''Routers''
## ''create Router''
### set ''Routername''
### set ''Gateway/External Network'' to  ''public''
## Choose ''router'' in the ''view'' -> ''Interfaces'' -> ''Add Interface''
### Set ''Subnet'' to the network from step 2
## ''Submit''
 
'''Afterward, create a VM as follows:'''
 
# ''Compute''➞-> ''Instances''➞-> ''Launch Instance''
## Under Networks choose the virtual network from step 2
## Launch Instance
# In the view of the ''instance'' -> ''Associate Floating IP''
## Set IP Address from step 1
# ''Associate''

Latest revision as of 22:19, 25 October 2025

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.