Create an IP alias on Mac OS

Tested on High Sierra

Create an alias:

sudo ifconfig en0 alias 192.168.0.101 255.255.255.0

Remove the alias:

sudo ifconfig en0 -alias 192.168.0.101




Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!