% sudo ifconfig en0 alias
  • Go to Control Panel → Network and sharing center
  • Click "change adapter settings" on the left
  • Right click on your local network connection and go to properties
  • Select your TCP/IP v4 protocol and click properties
  • TCP must be set to static addressing, so set it to "Use the following address" and set up your default IP config for the network. Then click advanced.
  • Under IP Address in Advanced TCP/IP settings, click Add
  • Add extra IP addresses as needed