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

PreviousChapterContentsGlossaryNext

Installing and Configuring Network Components

Running the Network Setup Wizard is usually all you need to do to set up a workgroup network or attach your PC to an existing workgroup. However, if you are connecting to a domain-based or other type of network, you may need to install, configure, or uninstall network components yourself. Talk to your LAN administrator before making any changes to your configuration.

For each networking connection listed in the Network Connections window, you can see its properties by right-clicking the connection and choosing Properties from the menu that appears. Figure 28-5 shows the properties of a LAN connection.
[figure]
Figure 28-5: Properties of a LAN connection

The Local Area Connection Properties dialog box lists the network interface card that connects your computer to the LAN. It also lists the clients, protocols, and services used for this network connection. The network interface card appears at the top, in the Connect Using box. The clients, protocols, and services are listed in the This Connection Uses the Following Items box, with icons that identify the different types of components:
[image]

For a standard TCP/IP LAN, these four components should be installed (they should appear in your Local Area Connection Properties dialog box) and enabled (each check box contains a check mark):

If you have these four components and your LAN uses TCP/IP, you probably don't need to install any network components. Skip down to the section "Checking Your Network Connection" later in this chapter.

Installing and Configuring an Adapter

Chapter 13 described how to install a network interface adapter if your computer doesn't already have one. The adapter is the software driver that allows your PC to communicate with the network interface card in your PC. (Network interface cards are also called network adapters.) Every model of network interface card has its own driver, which must be installed so the client software knows how to package information and send it to the network interface card.

Your network adapter appears in the Connect Using box of the Local Area Connection Properties dialog box (Figure 28-5). Click the Configure button to see the Properties dialog box for the network interface card.

Installing a Client

The next step is to install the client component, which identifies the type of network on which your computer will be. When you configure your network connection (or when Windows finds your Plug and Play network interface card), Windows also installs the Client For Microsoft Networks. If a client is installed, it appears in the This Connection Uses The Following Items dialog box in the Local Area Connection Properties dialog box (Figure 28-5).

Because you are installing a peer-to-peer Windows network, the Client For Microsoft Networks is the one you need. (It is similar to the Workstation service that came with Windows NT 4.0 Workstation.) If you mistakenly deleted your Client For Microsoft Networks, or if you need the Client Service For NetWare (which also comes with Windows XP), follow these steps:

  1. Display the Local Area Connection Properties dialog box (by clicking Start, right-clicking My Network Places, choosing Properties, right-clicking Local Area Connection, and choosing Properties). Click the General tab (if it's not already selected).
  2. Click the Install button. You see the Select Network Component Type dialog box:

[image]
  1. Select Client as the type of network component you want to install and click the Add button. You see the Select Network Client dialog box.

[image]
  1. Choose the network client. If you have a floppy disk or CD with software for another type of client, insert it now and click Have Disk.
  2. Click OK. You return to the Local Area Connection Properties dialog box, with the client you just defined listed. You may be prompted to insert the Windows XP CD-ROM.
  3. Click OK to save your changes.

Installing a Protocol

When you install Windows, it automatically installs the TCP/IP protocol, in case you want to use TCP/IP for Internet communication. We recommend that you use TCP/IP if you are setting up a new network, since it's the standard.

caution You can delete protocols you don't use, but don't delete TCP/IP! We did so, and ended up needing to reinstall Windows in order to get it back.

Starting with Windows XP, Microsoft no longer supports NetBEUI. If you use NetBEUI for a small network, you have two choices: Install NetBEUI from the Windows XP CD-ROM, even though Microsoft no longer supports it, or upgrade all the computers on your LAN to TCP/IP. Windows XP also comes with support for NetWare's IPX/SPX protocol, which you can easily install as a network component.

Copying NetBEUI Files

Before you can install the NetBEUI protocol, you need to follow these steps to copy the files by hand from the Windows XP CD-ROM:

  1. Put the Windows XP CD-ROM in the drive. Choose Perform Additional Tasks, and then Browse This CD.
  2. In the Explorer window that appears, locate the Valueadd\msft\net\netbeui folder on the CD.
  3. Copy the Nbf.sys file into the C:\Windows\System32\Drivers folder (assuming that Windows is installed in C:\Windows).
  4. Copy Netnbf.inf into the C:\Windows\Inf folder.

After copying the files, you can install NetBEUI, as described in the next section.

Installing NetBEUI or IPX/SPX

Installing a protocol is similar to installing other network components. Follow these steps to install NetBEUI or IPX/SPX:

  1. Display the Local Area Connection Properties dialog box (by clicking Start, right-clicking My Network Places, choosing Properties, right-clicking Local Area Connection, and choosing Properties). Click the General tab (if it's not already selected).
  2. Click the Add button to display the Select Network Component Type dialog box.
  3. Select Protocol and click the Add button. You see the Select Network Protocol dialog box, shown in Figure 28-6.
[figure]
Figure 28-6: Choose the network protocol.
  1. Select NetBEUI or NWLink IPX/SPX/NetBIOS Compatible Transport Protocol and click OK.
  2. You return to the Local Area Connection Properties dialog box, with the protocol you just defined listed. You may be prompted to insert the Windows XP CD-ROM.
  3. Click OK to save your changes.

Setting the Order of Your Protocols

When you install a protocol, Windows "binds" the new protocol to all the clients and services you have available--usually File And Printer Sharing For Microsoft Networks and Client For Microsoft Networks. A binding tells Windows to use a specific protocol with a specific client or service.

You might not want to use all of your installed protocols to work with all your installed clients and services. You can control which protocols work with which clients and services, and which protocol Windows should try first, by opening the Network Connections window (choose Start | Control Panel, click Network And Internet Connections, and click Network Connections) and choosing Advanced | Advanced Settings. You see the Advanced Settings dialog box, shown in Figure 28-7. Click the Local Area Connection in the Connections box (if it's not already selected). The lower part of the Adapters And Bindings tab shows your client and services for that connection, with your installed protocols listed under each client or service.
[figure]
Figure 28-7: Choosing which protocols to use with each client or service

You can switch the order of the protocols, so that the one you plan to use most often appears first. Click the protocol and click the up- or down-pointing arrow button to move it. If you don't plan to use a protocol with a particular service, deselect the check box by the protocol.

tip If you connect to the Internet through a hub or router than doesn't provide a firewall between your computers and the Internet, don't use TCP/IP for your file and printer sharing. Instead, on each computer on your LAN, install the IPX/SPX protocol, as described in "Installing a Protocol" earlier in this chapter. Then use the Advanced Settings dialog box on each computer to disable Internet Protocol (TCP/IP) for File And Printer Sharing For Microsoft Networks. Leave IPX/SPX enabled, so that all the computers can use that protocol for file and printer sharing. Leave TCP/IP installed for use by your Internet connection.

Configuring the TCP/IP Protocol

If you use TCP/IP for communication on your LAN, you need to assign an IP address to your computer's network interface card, using static addressing or DHCP. For a laptop, you can also use an alternate configuration, for when the computer isn't connected to its regular network. Follow these steps:

  1. Display the Local Area Connection Properties dialog box (by clicking Start, right-clicking My Network Places, choosing Properties, right-clicking Local Area Connection, and choosing Properties). Click the General tab (if it's not already selected).
  2. On the list of network components that the connection uses, select Internet Protocol (TCP/IP).
  3. Click Properties. You see the Internet Protocol (TCP/IP) Properties dialog box:

[image]
  1. To assign a static IP address, click Use The Following IP Address. In the IP Address box, type the IP address you've chosen. Windows supplies the dots that separate the four parts of the address.
  2. In the Subnet Mask box, type 255.255.255.0.
  3. To use DHCP or APIPA (systems that assign an IP address to your computer when Windows starts up), select Obtain An IP Address Automatically. If your LAN has a DHCP server, Windows will get IP addresses from the server each time you start Windows. If not, Windows will assign itself an address.
  4. If you have a laptop that connects to a LAN in a different way when you are not at your desk, click the Alternate Configuration tab. Your IP addressing choices are Automatic Private IP Address (APIPA) or User Configured (a static address).
  5. Click OK in each dialog box.

Installing a Service

A service is the last network component you install. It also is the only optional component. Your network can work fine without a service, but no one on the network will be able to share resources, such as hard disks, CD-ROM drives, files, or printers. If you don't want to share resources, don't install any services.

note Even when a service has been defined, you can add some security measures to ensure that the resources on your computer are not abused.

If you are creating a peer-to-peer network of Windows computers, you need the File And Printer Sharing For Microsoft Networks service. This service is installed automatically by the Network Setup Wizard. If you need to install it (or another service) yourself, follow these steps:

  1. Display the Local Area Connection Properties dialog box (by clicking Start, right-clicking My Network Places, choosing Properties, right-clicking Local Area Connection, and choosing Properties). Click the General tab (if it's not already selected).
  2. Click the Add button to display the Select Network Component Type dialog box.
  3. Select Service and click the Add button. You see the Select Network Service dialog box:

[image]
  1. Select the service you want and click OK.
  2. You return to the Local Area Connection Properties dialog box, with the protocol you just defined listed. You may be prompted to insert the Windows XP CD-ROM.
  3. Click OK to save your changes.

Changing the Computer Name, Workgroup, or Domain

To see or change your computer's name and which workgroup or domain it is in, follow these steps:

  1. Click Start, right-click My Computer, and choose Properties from the menu that appears. You see the System Properties dialog box.
  2. Click the Computer Name tab, shown in Figure 28-8.
[figure]
Figure 28-8: Each computer needs a unique name and the name of a workgroup.
  1. Type a description of the computer in the Computer Description box. This description appears in the My Network Places window.
  2. To change the computer name or workgroup, click the Change button to display the Computer Name Changes dialog box:

[image]
  1. In the Computer Name box, type a unique name for the computer.
  2. If the computer is part of a workgroup, choose Workgroup in the Member Of section of the dialog box and type the workgroup name in the box. If the computer is part of a domain, choose Domain and type the domain name.
  3. Click OK. You may see a message telling you to restart Windows for your changes to take effect.

Setting Other Network Configuration Options

Here are a few other options that you can configure for your LAN connection:

caution Don't bridge anything to an Internet connection. Doing so would create a wide-open security hole into your LAN!

PreviousChapterContentsGlossaryNext