# vi /etc/network/interfaces # static alias auto eth0:0 allow-hotplug eth0:0 iface eth0:0 inet static address 192.168.0.10 netmask 255.255.255.0
Restart network
# service networking restart
Check
# ifconfig eth0:0 Link encap:Ethernet HWaddr 02:09:04:c0:d4:d0 inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:117 Base address:0xc000
source:
https://wiki.debian.org/NetworkConfiguration