/etc/networks/interfaces
auto eth0:0 iface eth0:0 inet static address 192.168.1.12 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 以上を /etc/network/interfaces に記述し /etc/init.d/networking restartを行う。
auto eth0 iface eth0 inet dhcp
auto eth0 iface eth0 inet static address 192.168.1.20 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1
/etc/init.d/networking restart