Types of additional IP addresses
First of all it is important to understand the concept of „IP Routing“ from which arises different types of additional IP addresses that can be ordered from Cherry Servers.
Routing is the mechanism that allows a system (in this case a server) to find the network path to another system. A route is a defined pair of addresses which represent the “destination” and a “gateway”. The route indicates that when trying to get to the specified destination, send the packets through the specified gateway.
For illustrative purposes lets take „Dedicated IP address“ which is offered with each server at Cherry Servers and explore its routing principles.
We have a dedicated 198.51.100.10 IP address that came with the server. Dedicated IP addresses come with assigned „gateway“ address so that server’s operating system would know to whome it should send packets to by default. In this case the gateway IP is 198.51.100.1 address.
When your server needs to send packets to 18.104.22.168 it looks up its routing table and sees that its default route is to 198.51.100.1. So packet is sent to 198.51.100.1 gateway. At the other end there will be a router who owns this gateway address 198.51.100.1 and is able to send your packet for 22.214.171.124 to the internet to reach it’s requested destination.
We can also examine how configuring „Dedicated IP“ with gateway IP looks like on ubuntu 16 down below: