To create a virtual IP on mac OS X, the command to be used is the following one, for example on the wifi interface :
sudo ifconfig en1 alias xx.xx.xx.xx/zz up when xx.xx.xx.xx is the expected IP address and zz the netmask
to remove the virtual interface replace alias by -alias option.