The other command line option is to use: ipconfig getifaddr en1 which reports back only your en1 (usually wireless) IP address.
Here's how to set a static IP address in OS X: If you own a MacBook, you may want to create a new network location.
Internet IP Address ) is listed there.
Search for a section named.Group: DoIT Help Desk, created: 18:00 CST, updated: 08:49 CST.In this example, I'm connected to a wireless network, so I'll select.From the sidebar, select an active network interface.Type the following command: ifconfig grep inet, you will see something that looks like this: inet6 :1 prefixlen 128 inet6 fe80:1lo0 prefixlen 64 scopeid 0x1 inet media player windows 7 codecs netmask 0xff000000 inet6 fe80:fa1e:dfff:feea:d544en1 prefixlen 64 scopeid 0x5 inet netmask 0xffffff00 broadcast.Click on the Network preference pane.We covered this command when finding your external IP address in the past.When your Mac doc martin series 6 episode 2 is connected to a private network in a home or office, it's probably assigned what's known as a dynamic IP address.Other devices connected to the local network will be able to access your Mac, and if you set up port forwarding, certain services running on your Mac will be accessible to the outside world.You have successfully set a static IP address for your Mac.Launch the Terminal located in /Applications/Utilities/.When troubleshooting network problems it is often useful to know the comptuer's IP address and MAC address.
In this example, my current dynamically-assigned IP address was, so I picked.
Mac OS X ; an easy way through the GUI and a more technical approach with the command line.