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 VSI's; for example upgrading from a VSI to a dedicated system without having your IP tied to a particular server or VLAN.
To order Global IP's please follow the steps below:
- Through the portal (control.softlayer.com) navigate to Network, IP Management, Subnets, and then click on "Order IP Addresses".
- From the drop down choose Global IPv4 or Global IPv6 as needed and click Continue"
- Confirm the order, and the IP(s) will be added within a few minutes
- To manage the IPs once they are ordered navigate to Network, IP Management, Subnets, and then in the drop down choose "Global IPv4(or 6)". This will filter the IP list to only the Global IPs.
- Next click the Subnet you wish to manage
- 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.
Before your server will accept traffic for the Global IP, 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:
IPADDR=[Global IP address]
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 VSI 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.