How to add Floating IP to VM from external3 pool on WEkEO

../_images/button_orange_cf21.png

To assign a Floating IP from a specific pool to a VM, a router that supports the private network of that VM must be connected to the same pool.

Go to ProjectNetworkRouters.

../_images/xnq_router01.png

Create a new router by clicking the Create Router button.

../_images/xnq_router02.png

Then complete field name of the router and choose external3 in the External Network field. Click on Create Router to confirm.

../_images/xnq_create_router_external3.png

After creating the router, go to ProjectNetwork* → **Networks and create a new network by clicking the Create Network button.

../_images/xnq_router04.png

Choose the name for the new network and click the Next button.

../_images/xnq_create_network.png

Choose Subnet name and set Network Address and Gateway IP according to the pattern - 192.168.X.X/24 (e.g. Network Address - 192.168.1.0/24, Gateway IP 192.168.1.1) and click the Next button.

../_images/xnq_create_subnet.png

Set a range of allocation pools (e.g. 2 - 254) and set DNS Name Servers:

  • 185.48.234.234

  • 185.48.234.238

and click the Create button.

../_images/xnq_router07.png

After the network is created, it will be visible in network menu.

../_images/xnq_network.png

After the network has been created go back to ProjectNetworkRouters and select new router.

../_images/xnq_router.png

Then choose Interface tab.

../_images/xnq_router-interfaces.png

Add a new interface by clicking on the Add Interface button.

../_images/xnq_router09.png

Select the newly created Subnet and click the Submit button.

../_images/xnq_interface.png

After adding Interface it will be visible in the Interface menu. After this step, you can proceed to create a new VM.

../_images/xnq_b.png

VM create

The only difference during creating a new VM is selecting network with external3 pool.

../_images/xnq_lunch_instance.png

Associate Floating IP

After creating the VM go to ProjectNetworkFloating IPs and select Allocate IP To Project.

../_images/xnq_router12.png

Choose external3 from Pool field and click Allocate IP.

../_images/xnq_allocate_floating_ip.png

Select IP Address you have just created and click Associate button.

../_images/xnq_router14.png

Notice the IP Adress should be associated with local address from 192.168.x.x subnet. If you have 10.x.x.x address change it to 192.168.x.x address.

After selecting IP Address and Port click the Associate button.

../_images/xnq_manage_fl_ip.png

You now have public IP assigned to your instance and visible in Instances menu.

../_images/xnq_instance.png