Multi IP

nano /etc/network/interfaces

auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
dns-nameservers 8.8.8.8 8.8.4.4
# Additional IP list
auto eth0:0
iface eth0:0 inet static
address 192.168.1.2
netmask 255.255.255.25
# Additional IP list
auto eth0:1
iface eth0:1 inet static
address 192.168.1.3
netmask 255.255.255.255

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
# Additioanl IP list
up ip addr add 192.168.1.2/24 dev eth0 label eth0:0
down ip addr del 192.168.1.2/24 dev eth0 label eth0:0
up ip addr add 192.168.1.3/24 dev eth0 label eth0:1
down ip addr del 192.168.1.3/24 dev eth0 label eth0:1