Once you get a confirmation from the UpCloud Support that a floating IP has been added, you can find it attached to one of the servers at your UpCloud Control Panel, but using the added IP will require some manual setup. Follow the steps below to find out how to get this done on Windows servers.

Set up static IP addresses

For this example, the server 1 ( and the server 2 ( have a common floating IP, netmask and gateway

Next, you need to configure the servers at the OS level, so start up your systems and log in.

Windows servers need to set the network interface with the public IPv4 to static either through the network settings properties or by using netsh on command prompt. First, check the network connection name, open the Windows Command Prompt as administrator (cmd on run) and enter the following command

netsh interface ip show config

Find the network adapter with your public IPv4 address, it is usually called just “Ethernet” like in the example output below.

Configuration for interface "Ethernet"
   DHCP enabled:                         Yes
   IP Address:                 
   Subnet Prefix:               (mask
   Default Gateway:            
   Gateway Metric:                       0
   InterfaceMetric:                      5
   DNS servers configured through DHCP:
   Register with which suffix:           Primary only
   WINS servers configured through DHCP: None

Then use the following command by giving the adapter name, IP address, netmask and gateway. This will set the interface to static configuration.

netsh interface ip set address "<network adapter>" static <public IP> <subnet mask> <gateway>

For this example setup, the command would be the following

netsh interface ip set address "Ethernet" static

The remote desktop connection might get interrupted for few seconds while changes are being applied, but should reconnect shortly. In case you do loose connection and are unable to reconnect, you can always use the web Console at UpCloud Control Panel under your Server settings to go through the setup again to make sure everything is entered correctly.

After setting the IP address to static you will need to add at least one domain name server. Use the command below to add the DNS addresses shown in the interface configuration output to the same network adapter as you set the static IP.

netsh interface ip add dns "Ethernet"
netsh interface ip add dns "Ethernet" index=2

Repeat the steps on your other server to configure it with static IP address as well.

Configure the floating IP

To enable the floating IP, you need to add it as an alias to the NIC with your public static IP. You should first do this on the server the floating IP is attached to.

Windows has the option to add an alias IP address to your primary network connection through the advanced properties, but the simplest way is to use netsh on command prompt. If you have multiple Windows systems you wish to use the floating IP on, for now only add it to the server with the floating IP attached to at your UpCloud Control Panel.

Open the Command Prompt again and use the command below while replacing the <network adapter>, <floating IP> and <netmask> with the information specific to your server.

netsh -c interface ip add address name="<network adapter>" addr=<floating IP> mask=<netmask>

In this example, the command would be the following

netsh -c interface ip add address name="Ethernet" addr= mask=

This also automatically enables the new alias IP allowing direct traffic to the server over your floating IP. You’ll only need to do this on the server that has your floating IP attached to it.

Now attempt to connect to your server through the floating IP with Remote Desktop Connection, or if you have a web server configured open the floating IP on your web browser.

If you get a reply, the floating IP works on that server and you can continue forward. If it didn’t work, make sure you entered the IP address and netmask correctly, that your firewall isn’t blocking your connections, or try another method to connect.

Test the configuration

Your configuration should now be complete, you can test that it works by transferring the floating IP from one server to another.

To do this, delete the floating IP on the currently attached server by entering the command below on Command Prompt.

netsh -c interface ip delete address name="<network adapter>" addr=<floating IP>

Then create the alias again using the same command as when adding it previously on the first server.

netsh -c interface ip add address name="<network adapter>" addr=<floating IP> mask=<netmask>

Test the floating IP again with any method you prefer. When you get a connection you have successfully transferred your floating IP.

Using your new floating IP

Moving the floating IP between Windows servers can be done by entering the netsh command to delete the alias on the currently connected server, and then adding alias again on the new target machine with the same netsh command as before.

Depending on your intended use case for the floating IP you may wish to continue by setting up automated load balancing, but if you wish to manually transfer the traffic between your servers, it might be useful to create scripts of the required commands.