Site hosted by Angelfire.com: Build your free website today!
Chapter 30: Connecting Your LAN to the Internet

PreviousChapterContentsGlossaryNext

How Can You Connect a LAN to the Internet?

When a computer communicates with other computers on the Internet, it sends messages in the TCP/IP protocol addressed to the other computers using their numeric IP (Internet Protocol) addresses. To share an Internet connection, the computers on your LAN must be able to communicate with TCP/IP. The computers can also communicate on the LAN with another protocol (for example, a LAN might use NetBEUI for file and printer sharing on the LAN and TCP/IP for Internet Connection Sharing).

The device or program that connects your LAN to the Internet acts as a gateway, passing messages between the computers on the LAN and computers on the Internet, and possibly controlling what types of information can pass.

What Does a Gateway Do?

An Internet gateway can perform the following tasks:

Some gateway software (like ICS) provides only address translation. Other gateway programs, called proxy servers, provide address translation, caching, and logging. If the proxy server also provides security, controlling what information can pass between the LAN and the Internet, it's called a firewall.

Devices That Can Act as Gateways

Three kinds of devices are commonly used as gateways, connecting LANs to the Internet:

Software and Hardware for a Windows-Based Gateway

If you use a Windows system running NAT (Network Address Translation), proxy server, or firewall software, the system has two connections: one to the LAN (using a network interface card) and the other to the Internet (using a modem for dial-up or another network interface card or USB port for DSL or cable Internet connection).

caution Even though DSL and cable Internet connections use the same cabling as a LAN (RJ45 Category-5 cable), don't plug the DSL or cable Internet cable into your LAN's hub or switch. The DSL or cable Internet must connect to a PC or router so that you have a gateway between the Internet and the LAN. (Connecting the modem to the hub is possible, but tricky and prone to error.)

Windows XP comes with Internet Connection Sharing, which is easy to install and set up. Several Windows-based proxy server programs have been available for years, including SyGate (at http://www.sygate.com), WinGate (at http://wingate.deerfield.com), and WinProxy (at http://www.winproxy.com). All three of these programs have downloadable versions that you can try before buying. You install the proxy server program on the computer that is connected to the Internet and a matching client program on each of the other computers on the LAN. When the user of any computer on the LAN wants to check e-mail or browse the Web, the computer running the proxy server program connects to the Internet (if it's not already connected) and passes data from the user's computer to and from the Internet.

tip Test the security of your LAN's Internet connection by going to the Gibson Research Corporation's Web site at http://grc.com. Follow the links to their Shields UP! service, which can check how vulnerable your computer is to attack or data theft from the Internet.

PreviousChapterContentsGlossaryNext