# vi /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
allow-hotplug eth0:1
auto eth0:1
iface eth0:1 inet static
address 192.168.2.10
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 192.168.2.1
...
allow-hotplug eth0:x
auto eth0:x
iface eth0:x inet static
address 192.168.x.10
netmask 255.255.255.0
network 192.168.x.0
broadcast 192.168.2.255
gateway 192.168.x.1
dns-nameservers 192.168.x.1