I've just been trying to create a virtual address on the same interface.
I need one static address for the internet, and another (virtual) static IP for mysql server running on 22.214.171.124
Here is my /etc/network/interfaces configuration:
iface lo inet loopback
auto eth0 eth0:0
iface eth0 inet static
iface eth0:0 inet static
eth0 seems fine, but eth0:0 doesn't come up when the networking is restarted. I get "SIOCSIFFLAGS: Cannot assign requested address" and "Failed to bring up eth0:0"
Any ideas what's wrong here?