Linux: Configuring a Server for Static IP

This mini HOWTO explains the required configuration for a static IP.
Before proceed we must know the following configuration of our network:

The IP Address to be used for our server;
Netmask of our network;
Broadcast IP address; and
The gateway IP address.

First, we must open for edit the file /etc/network/interfaces:

$ sudo vim /etc/network/interfaces

Once there, we must find the network [...]