Mac OS X virtual IP configuration

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.

 

This entry was posted in Systems. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.