Add a temporary ip address to an existing interface

Add a temporary ip address to an existing interface

ximport ubuntu

ip addr add 192.168.1.6/24 dev eth0 label eth0:0

Old school version :

ifconfig eth0:0 192.168.1.6 up

~~~

Question, remark, bug? Don't hesitate to contact me or report a bug.