To connect another computer on your network to your MacBook using an application like VNC, or to stream media from the MacBook, you need to know the internal IP address for your machine. Find the internal IP address in the Network section of the MacBook System Preferences. You can also find the internal IP by executing the “ifconfig” command from a command prompt. Use an IP finder Web site such as WhatsMyIP to find the external IP address for your network.

Internal IP - Method 1

Step 1

Click the “Apple” icon in the top left corner of the MacBook desktop, and then click the “System Preferences” option. The System Preferences screen displays.

Step 2

Click the “Network” icon in the Internet & Wireless section to view the available networks.

Step 3

Click the “Airport” option in the left navigation menu to view the IP address of a wireless connection, or click the “Ethernet” option to view the IP address of a wired connection.

Step 4

Click the tab labeled “TCP/IP.” View the IP address of the MacBook in the TCP/IP screen.

Internal IP - Method 2

Step 1

Open a Terminal window on the MacBook.

Step 2

Type the following command at the command prompt.

ifconfig | grep "inet " | grep -v 127.0.0.1

This command strips unnecessary information and shows only the "inet" entry, which is the internal IP address for the MacBook.

Step 3

Press the “Enter” key to execute the command. The IP address of the MacBook displays next to the “inet” label on the screen.

External IP

Step 1

Open a Web browser on the MacBook.

Step 2

Navigate to an IP detection Web site such as WhatsMyIP (link in Resources).

Step 3

View your external IP address displayed prominently on the Web page in the browser.