While I don't know Debian, this works on any relatively new Linux platform:
Code:
ip addr add 192.168.1.123/24 dev eth0
When you are tired of the IP address, you can remove it as well:
Code:
ip addr del 192.168.1.123/24 dev eth0
To list all your ip addresses:
or
I love the succinctness of these command.
Don't forget the CIDR prefix (why is it called prefix if it's at the end?)
/24 or whatever is correct in your environment. It will be used to build a matching routing table entry; if you leave it out, /32 is assumed.