How to add Floating IP to VM from external2 pool on WEkEO Elasticity

../_images/button_orange_cf24.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/tya_router01.png

Create a new router by clicking the Create Router button.

../_images/tya_router02.png

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

../_images/tya_router03-1.png

After creating the router, go to ProjectNetworkNetworks and create a new network by clicking the Create Network button.

../_images/tya_router04.png

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

../_images/tya_router05-1.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/tya_router06.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/tya_router07.png

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

../_images/tya_6.png

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

../_images/tya_router07-1.png

Then choose “Interface” bookmark.

../_images/tya_router08.png

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

../_images/tya_router09.png

Select the newly created Subnet and click the Submit button.

../_images/tya_router10.png

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

../_images/tya_10.png

VM Create

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

../_images/tya_router11-1.png

Associate Floating IP

After creating the VM go to Project → Network → Floating IPs and select Allocate IP To Project.

../_images/tya_router12.png

Choose “external2” from Pool field and click Allocate IP.

../_images/tya_router13.png

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

../_images/tya_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/tya_router15.png

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

../_images/tya_router16.png