Site hosted by Angelfire.com: Build your free website today!
Chapter 28: Configuring Windows for a LAN

PreviousChapterContentsGlossaryNext

What Windows Components Are Needed for a Network?

No matter what kind of network you're attaching your Windows machine to, you must take some steps to configure it for the network (usually using a Wizard). Specifically, you must identify the client and the protocol the network uses. If you want to share your local resources (your hard drive or the printer attached to your computer, for instance), you also need to install a service. You work with these three types of network components:

What Is a Network Protocol?

Without a protocol, the computers on your network won't know how to talk to each other. The protocol is the language your computer uses on the network. More than one protocol may be installed on a single computer, because computers can speak more than one language. Networks that use Microsoft software (such as the peer-to-peer network described in this chapter) usually use one of these three protocols:

How Does TCP/IP Work?

When you use TCP/IP on a LAN, the network interface card in each computer on the LAN has an IP address on the LAN. IP addresses are in the format xxx.xxx.xxx.xxx, where each xxx is a number from 0 to 254. IP addresses are used on the Internet to identify Internet host computers and on LANs to identify the computers on the LAN. When you connect directly to the Internet, you also use TCP/IP, and your computer has an IP address to identify it to other computers on the Internet.

On a LAN that uses TCP/IP, computers usually use "private" IP addresses that are not used on the Internet. Several ranges of IP addresses have been set aside for private use. The most commonly used private IP addresses are in the format 192.168.0.xxx, where xxx is a number from 1 to 253. If one computer on the LAN connects to the Internet, that computer has the address 192.168.0.1, and the rest of the computers have addresses from 192.168.0.2 up to 192.168.0.253. Figure 28-1 shows a LAN with an IP address assigned to each computer.
[figure]
Figure 28-1: Assigning IP addresses to computers on a LAN

How are IP addresses assigned? You can use one of three methods:

When you connect directly to the Internet, you don't have a choice about your address; your ISP assigns it for you. In the early days of dial-up connections, ISPs issued a static IP address with each Internet account. Now, most ISPs run DHCP-like servers that issue your computer an IP address each time you connect.

When setting up a LAN that uses TCP/IP, you must choose among these IP addressing methods. Use static addressing only for very small LANs (with fewer than 10 computers) that don't use ICS. If your network includes servers running Windows XP, 2000, NT, Linux, or Unix, it probably already uses DHCP. If you plan to share an Internet connection using ICS, it includes a DHCP server.

note If your computer has more than one TCP/IP connection, it needs more than one IP address. For example, your computer might have a network interface card that connects it to the LAN and another card that connects to a DSL modem that connects to the Internet. Each network interface card has one TCP/IP address.

The section "Configuring the TCP/IP Protocol" later in this chapter describes how to configure Windows to communicate using TCP/IP.

Identifying the Computer

For your computer to communicate with the other computers in your workgroup, you need to give the computer a unique name, identify the workgroup, and, optionally, provide a description:

For example, a small network of five computers may all belong to the same workgroup called WORKGROUP. Within the workgroup, the computers might be named Pluto, Neptune, Jupiter, Saturn, and Mars or Accounting, Sales, Marketing, Administration, and Shipping.

note Larger networks use domains to centralize network administration, and require a computer running Windows .NET Server, Windows 2000 Server, or Windows NT Server.

When you configure your LAN using the Network Setup Wizard (described in the next section), the Wizard asks you for the computer name, workgroup, and computer description. You can also change them later.

Windows XP Home Edition and Domain-based LANs

You can use the Network Setup Wizard to connect to a domain-based LAN if you are running Windows XP Professional, but Windows XP Home Edition cannot log onto a domain. Either version can, however, dial into a company's domain-based network using a dial-up connection and your company's Remote Access Server (RAS). Or, if your office uses the Microsoft Exchange Server for e-mail, you can use Exchange's Web interface to read your mail. Check with your company's LAN administrator for instructions. Windows XP Home Edition can also connect to an Exchange server by using Outlook to send and receive mail without logging in to the domain.

If you need to access files on a shared folder on your company's domain-based LAN, and if the folder is stored on a computer that has a static IP address (unlikely--ask your LAN administrator), you can map that shared folder to a drive letter on your computer and then access your files. Connect to the Internet. Then choose Start | All Programs | Accessories | Command Prompt to open a Command Prompt window . Type net use t: \\xxx.xxx.xxx.xxx\sharename and press ENTER. Replace t: with any drive letter you aren't currently using. Replace xxx.xxx.xxx.xxx with the IP address of the computer on which the shared folder is stored, and sharename with the share name of the folder. For example, you might type net use t: \\215.26.128.137\helpdesk to map your drive T: to the shared Helpdesk folder at work. When you see a prompt for your user name and password, type your user name and password on the domain. After a pause, during which the domain server authenticates your password, you connect. Now, drive T: (or whatever letter you used) on your computer is the shared folder on the computer at your office.

PreviousChapterContentsGlossaryNext