Global IP Addresses
Global IP's provide IP flexibility by allowing users to shift workloads between servers (even in different datacenters). Global IP's also provide IP persistence by allowing for transitions between servers and CCI's; for example upgrading from a CCI to a dedicated system without having your IP tied to a particular server or VLAN.
To begin using Global IP's please follow the steps below:
- Through the portal (manage.softlayer.com) click on Public Network -> Global IP and select "Order IP Addresses".
- From this page you can also manage your global IP's by clicking on the subnet, in this example 126.96.36.199/32.
- Once on the management page, input the IP address of your server or CCI to which you want your global IP address routed to, in this example 188.8.131.52.
- Please note: A global IP is a static IP address that can be routed to any server within the SoftLayer network. The current static IP address offering can only be routed to an IP within the same datacenter, but global IP's do not share this restriction.
- Add any applicable notes and select update.
- Add the global IP to your server.
Before your server (184.108.40.206) will accept traffic for the Global IP 220.127.116.11, the IP must be properly added to the system.
To configure the Global IP on your linux server, please complete the following steps:
- Edit (vim or nano) /etc/sysconfig/network-scripts/ifcfg-eth1:1
- Add the lines:
NETWORK=[Network of the Primary IP Block]
For Ubuntu you will want to do the following:
- Edit /etc/network/interfaces
- Add the following lines:
post-up ip addr add <global IP>/32 dev eth1
post-down ip addr del <global IP>/32 dev eth1
To configure a global IP to your windows server, please complete the following steps:
Start >> Control Panel >> Network Connections >> Local Area Connection (Public) (properties).
Select "Internet Protocol (TCP/IP)" and click Properties >> Advanced.
From here you will need to select "Add" in the IP addresses section and enter in the IP address and Subnet mask
Once this is complete, simply "OK" back to the desktop.
To verify that your settings have taken effect, open a dos prompt by browsing to Start >> Run >> "cmd" and run the command
> ipconfig /all
- If you already have an eth1:1 file on your server in the example above, just increment the last digit to the next available integer
- Modification of a global IP address to a new server or CCI can take up to five minutes to take effect. Within the SoftLayer network, the route change will take less than 1 minute to update.
- Global IP's will not work for local load balancers
- Global IP's are distributed from a unique subnet; existing customer IP's cannot be converted or used as Global IP's.
- By itself, Global IP's are not an automatic failover solution due to the lack of health checks; however, it may be used as a component for a failover environment to circumvent DNS propagation.