Thursday, September 30, 2010

Mac OSX IP Aliasing

In some trickier network situations, you may be assigned an IP but need an entirely different IP address to access certain network resources, Create an IP Alias!

It’s easy to do with the Mac OS X command line utility ifconfig.

Type the following at the command line prompt to alias the new IP of 192.168.0.101 to your existing subnet mask:

sudo ifconfig en0 alias 192.168.0.101 255.255.255.0

If you wish to get rid of the alias, just type:

sudo ifconfig en0 -alias 192.168.0.101

No comments:

Post a Comment