Using a Hardware DHCP Server to Share an Internet Account


One of the best ways to share an Internet account is to use a hub device that provides DHCP services to the network. These devices have the DHCP software built in and handle the administration of IP addresses for the network automatically.

In addition to basic DHCP services, some of these devices also include special features, such as built-in firewall protection for your network.

The general steps for installing and using such a device are the following:

1.

Choose and obtain the device.

2.

Install the device on your network.

3.

Configure the device to connect to the Internet.

4.

Attach the computers and other devices to the network and configure each device to use the DHCP server you configured in step 3.

ISPs and Sharing a Connection

Not all ISPs support sharing a single Internet connection. Check the agreement you have with your provider to ensure that sharing an account is within your rights under that account. Some configurations can actually block access to your account by a hub or other sharing device, thus preventing you from sharing the account using a hardware device. Before you purchase a hub, make sure that it is acceptable under the terms of your Internet account; otherwise, you might end up wasting your money. Fortunately, most providers allow you to share the account on a reasonable number of machines.

Some providers use sort of a "don't ask, don't tell" policy. They provide support for one machine per account and make it clear that they don't support networks, in which case you are on your own if you have problems connecting through your own network. However, because using a sharing hub is so straightforward, this isn't really much of a drawback.


Choosing and Installing a DHCP Hub

Choosing a DHCP hub is similar to choosing an Ethernet hub. For example, these hubs offer different numbers of ports, different speeds, and so on. In addition to the DHCP services they provide, the major difference between standard Ethernet hubs and DHCP hubs is that DHCP hubs also offer a variety of other special features.

For help choosing and installing an Ethernet hub, p. 922.


For help installing and configuring a network, p. 935.


For help with protecting your Mac from Net attacks, p. 1032.


NOTE

AirPort base stations (including the AirPort Express base stations) are DHCP hubs; their most special feature is that they can communicate with other devices wirelessly.


One of the most important of these special features is a firewall. Installing a DHCP hub that includes a firewall protects the devices on your network from being attacked by hackers coming to your network from the Internet.

One form of firewall is the NAT standard. Using NAT, there is one IP address used by the hub that connects your local network to the Internet. By providing NAT services, the hub shields the devices on your network by using a set of internal IP addresses for those devices. Thus, hackers trying to attack the only IP address that they can see get the hub device, which is typically immune to such attacks. Thus, your network is protected from external attack.

Many such devices are available, such as the Asante DSL/Cable Router (see Figure 34.3).

Figure 34.3. This Asante hub enables you to share an Internet account with multiple computers.


Some of my favorite sharing and networking hubs are produced by Linksys (see Figure 34.4). Linksys hubs provide excellent features and are easy to install and configure. These hubs enable you to share an Internet account and provide NAT protection for your network.

Figure 34.4. Linksys produces excellent sharing hubs that are easy to install and configure.


Many sharing hubs also offer wireless services and so are similar to an AirPort base station. Because AirPort is based on standard wireless protocols, AirPort services are compatible with any wireless device that meets these same standards. However, because AirPort technology is integral to the Mac, I recommend that you stick with an AirPort base station if you want to obtain and use a wireless sharing hub. However, AirPort hardware is also considerably more expensive than similar devices from other companies. So, if you can't afford to purchase an AirPort base station, check out the offerings from other companies, such as Linksys, that you might be able to afford.

NOTE

You can learn more about Linksys products by visiting www.linksys.com.



Clumps of Data

When data is communicated across a network, it is done so in clumps of data. These clumps of data are more properly called packets. Each packet contains information that identifies its origin and destination (this is used to assemble all the packets together into a useful string of data). When a firewall filters IP packets, it examines each packet that comes into the network to ensure that it originated from the expected place. It rejects any packets that do not meet its requirements, thus protecting the network from unexpected traffic, which is likely to have been generated by hacking activity. Packet filtering adds an additional layer of protection for a network.


The XRouter Pro is another example of a sharing hub that is simple to install and configure. For most homes or home offices, the XRouter is an excellent choice.

NOTE

You can learn more about the XRouter Pro by visiting www.macsense.com.



Because of space limitations, I will be focusing on XRouter Pro in the remainder of this section. However, other devices, such as the Linksys hubs, can be installed and configured in a fashion similar to the XRouter Pro.

Installing a DHCP Server

Installing a DHCP hub is similar to installing a standard Ethernet hub. Follow these steps:

1.

Connect the output from the cable or DSL modem to the WAN port on the hub.

2.

Connect the Ethernet cable from each computer to a port on the XRouter.

3.

Connect the XRouter's power supply.

NOTE

You can attach the XRouter Pro to an existing Ethernet hub to provide its services to more than four devices at a time. To do so, connect one port on your current hub to the crossover port on the XRouter and use the crossover switch to select the crossover mode.

In the same way, you can also chain multiple hubs together to share an Internet account among more than four devices. For example, you can connect an AirPort base station to the hub to add AirPort-equipped devices to the network.


Configuring Mac OS X Macs for DHCP Services

After the physical connections are made, you need to configure each computer on the network to use DHCP for TCP/IP services.

NOTE

Consider creating a location for each TCP/IP configuration you use. This makes switching between configurations simple and fast.


To learn how to configure and use the Location Manager, p. 330.


To configure machines on a network to connect to a DHCP server, follow these steps:

1.

Open the Network pane of the System Preferences application.

2.

Select the location you want to configure from the Location pop-up menu.

3.

On the Show pop-up menu, select the connection you want to configure, such as Built-in Ethernet or AirPort.

4.

Click the TCP/IP tab.

5.

Select Using DHCP from the Configure IPv4 pop-up menu (see Figure 34.5).

Figure 34.5. Typically, configuring a Mac to use a DHCP server is simply a matter of selecting Using DHCP from the Configure IPv4 pop-up menu.


NOTE

Some DHCP servers require that you use a DHCP Client ID name. If so, enter that name in the DHCP Client ID field.

6.

Click Apply Now to save the configuration.

7.

Repeat these steps or use similar steps to configure the Macs on your network. For example, for Macs running Mac OS 9, use the TCP/IP control panel to select Using DHCP Server.

8.

Configure the other devices on your network so that they use DHCP, such as configuring a Windows computer to use the same DHCP server.

Configuring a DHCP Hub

After the hub is physically connected to your network and the other devices are installed and configured, you need to configure the hub to connect to the Internet using your cable or DSL modem. How this is accomplished varies among devices, but most devices enable you to use a standard Web browser to configure the hub.

To install a typical DHCP hub, do the following:

1.

Launch a Web browser.

2.

Move to the IP address for the hub (the XRouter's default IP address is 192.168.1.1).

3.

When prompted, enter the username and password, and then click OK (the XRouter's username is blank and the password is admin). You will see the administration screen for the device (see Figure 34.6).

Figure 34.6. This Web page is being served by the XRouter Pro and enables you to configure the hub.


4.

Configure the hub following the instructions provided by the hub manufacturer and your ISP. You configure the hub using the same settings as you would for a computer with which you were accessing the Internet account. For example, if your ISP provides manual IP addresses, use the Static or Manual option to configure the hub. If your account is configured using DHCP, choose the "Get an IP address automatically" option.

For help configuring an Internet account, p. 337.


5.

Save your changes and quit the Web browser.

Make sure you explore the configuration options your hub provides. For example, some hubs enable you to assign fixed IP addresses to certain devices. These addresses are provided in a range of addresses your hub provides (the first three sets of numbers in the IP address are the same for all the devices on the network, but you can choose the fourth set from a specific range of numbers). One use for this is to enable file sharing across those devices. Because you use IP addresses to share files under Mac OS X, having a fixed IP address enables you to connect to the same machine each time. If you allow the server to assign addresses, the address for each machine can change as machines connect to and disconnect from the network.

The machines on your network should be capable of accessing the Internet using a single account. If your hub provides NAT services, your network is relatively secure from outside attack because the internal IP addresses of devices are not exposed to the Internet.

NOTE

If your hub provides additional firewall protection, explore its configuration page to control how your network access is configured. Typically, you can limit the access to specific URLs or direct all traffic to a specific machine on your network.




Special Edition Using MAC OS X Tiger
Special Edition Using Mac OS X Tiger
ISBN: 0789733919
EAN: 2147483647
Year: 2003
Pages: 317
Authors: Brad Miser

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net