05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Apple includes a second utility for dealing with remote hard drives. AirPort Disk Utility,<br />

shown in Figure 20-9, is not for setting up shared hard drives, but for managing how your computer<br />

deals with them.<br />

Figure 20-9. Managing shared hard drives with AirPort Disk Utility<br />

AirPort Disk Utility has two simple options. You can elect to automatically discover AirPort<br />

Disks, instead of having to connect to them manually. You can also elect to show a menu bar<br />

item that gives you a list of available AirPort Disks in the area.<br />

AirPort Disk Utility also has a list of all known AirPort Disks, which base station they are<br />

on, and whether you want to mount them when they are in range, or ignore them.<br />

Port Forwarding<br />

CHAPTER 20 LEOPARD NETWORKING 361<br />

A typical home or small office network will have a single machine, usually a router, connected to<br />

the Internet by a public IP address. That machine, in turn, will share its Internet connection with<br />

other machines on the network. Rather than having public IP addresses, the machines on the<br />

local network use local addresses. Aside from saving the significant expense of having multiple<br />

IP addresses, this gives the network added security, since machines without reachable addresses<br />

are essentially invisible to anyone outside the network.<br />

Normally this is a good thing, but not always (for example, if you decide to use your computer<br />

to serve web pages, which is the topic of Chapter 22). Invisibility is not a good trait for a<br />

public web server. In order to receive requests and send out pages, your web server must be<br />

reachable by the outside world. The best way to deal with this problem is to set the router to forward<br />

any incoming packets on a certain port to the web server, which can then fulfill the requests<br />

and send out the necessary data. This process is known as port forwarding.<br />

Of course, the router can’t forward packets if it doesn’t know where to find the server, so the first<br />

step is to give your machine a static IP address. You can either use a hybrid method such as<br />

DHCP with a manual address, or you can just set the entire address manually.<br />

To set up a static IP address, open the Networking panel of System Preferences. Select the<br />

network interface your machine will use to connect to the Internet. Since servers need to stay in<br />

one place in order to effectively serve, this will probably be a desktop machine connected by<br />

Ethernet.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!