General: howto give multiple ip to server

open /etc/network/interfaces file, configure like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 96.xx.yy.67
netmask 255.255.255.0
gateway 96.xx.yy.1

auto eth0:1
iface eth0:1 inet static
address 96.xx.yy.68
netmask 255.255.255.0
gateway 96.xx.yy.1

auto eth0:2
iface eth0:2 inet static
address 96.xx.yy.69
netmask 255.255.255.0
gateway 96.xx.yy.1

auto eth0:3
iface eth0:3 inet static
address 96.xx.yy.70
netmask 255.255.255.0
gateway 96.xx.yy.1

auto eth0:4
iface eth0:4 inet static
address 96.xx.yy.71
netmask 255.255.255.0
gateway 96.xx.yy.1

auto eth0:5
iface eth0:5 inet static
address 96.xx.yy.72
netmask 255.255.255.0
gateway 96.xx.yy.1

Forums: