Previous Page TOC Next Page


— 3 —

Preparing Your System for IIS

by Arthur Knowles

Few Windows NT components stand alone. They generally rely on one or more subcomponents to function properly. The Internet Information Server (IIS) is no different. It too requires additional components in order to function properly. Although it also is possible to just install IIS blindly (meaning without consideration of the consequences), you may wind up with a product that does not perform up to your expectations or that may be a target for a security breach. In either case, the consequences could be quite severe. A competitor could gain access to proprietary data through your Internet connection, and you could lose your job.


Note: Internet security is a topic of such importance that an entire chapter is devoted to it. Before you actually install IIS, I suggest that you read Chapter 6, "Windows NT and IIS Security Issues."

Although Internet security is outside the main focus of this chapter, performance considerations certainly are not. And where you plan to install IIS and the associated data you plan to publish certainly will impact the performance of IIS. So this is where the discussion starts. After you determine where to install IIS, you will learn about the preinstallation requirements. Depending on where you plan to install IIS and how you plan to use it, this can be a pretty hefty list. This should not cause you undue stress, however, because I will walk you through the actual mechanics of installing the various components, as well as describe why you might want to use each of these components so that you can make an informed decision about their use. After this is out of the way, you can install IIS and publish data on the Internet for all your customers to see, hear, and interact with. Chapter 4, "Installing and Using Microsoft Internet Information Server," gives you complete details of the installation and publishing processes.

Deciding Where to Install IIS

The first thing you should consider when planning your installation is where to install IIS and its related components. Do you have a very limited budget? Or do you have sufficient funds to carefully plan your installation to obtain maximum performance? Will you place all your data on a single server? Will you use an external database for dynamic publishing? Will you connect to your server to update the data using your local area network? Or will you use a dial-up connection? You need to consider all these items because it will make a difference as to how and where you will install IIS.

Installing IIS on a Limited Budget

If you are on a limited budget, you might not have a choice. You might have to install everything on a single server. Most publishers with a limited budget also have a low-speed Internet connection. A low-speed connection includes single ISDN BRI or modem connections. If this is the case, you also should consider publishing only static data. If your server is fast enough (a 75 MHz Pentium or higher), you might want to consider using an Access database if you plan to provide dynamic publishing capabilities.

With this configuration, you can use the Windows NT Server Remote Access Service (RAS) to provide your dial-up Internet connection. You also can use RAS for dial-in clients to create a publishing site without ever connecting to the Internet. You do not really have to connect to the Internet to publish data. You need an Internet connection only if you want to reach millions of Internet users or to allow your network users to reach the Internet. If you are providing local support, however, a non-Internet publishing service might be just what you need. You might be providing local technical support to your customers, for example. These users can dial up your server for information, software upgrades, and so on and use familiar Internet tools (like the Internet Explorer) to access these services. In most cases, this is less expensive and easier to maintain than a dedicated bulletin board system (BBS). As your client list grows, you can migrate to the Internet. This certainly is easier than converting a proprietary BBS and all your data.

If you do go this route, you should consider using Windows NT Server operating in Server mode instead of a domain controller. This provides more efficient use of local resources without the overhead required by a domain controller. The only time I recommend a domain controller instead of a server is if you also might need to migrate a user account list (for your dial-in clients, for example), because any time you upgrade a server to a domain controller, you lose your account database. It's much better to take the performance hit now than it is to have to reenter each user account, password, and home directory and then have to reconfigure any file or directory permissions later.

Installing IIS on an Unlimited Budget

Okay, I'll admit it: An unlimited budget is unrealistic. It is quite possible, however, that your budget is sufficient to build a very high-performance publishing site. This can include using frame relay, T1, T2, T3, SMDS, or ATM as your pipeline to the Internet. Your Internet connection is really the main consideration when creating a high-performance publishing site because, if your servers cannot pump your data fast enough over your Internet connection, it doesn't really matter how fast your servers are. If this is the case, the budget for your hardware should be proportionally higher as well. In most cases, your yearly Internet connection fees will far outweigh your hardware purchases.

You therefore should plan on having multiple Windows NT Server installations. You can use one or more domain controllers with one or more installations operating in Server mode (which are referred to as servers in the rest of this chapter). These servers should be used as your IIS and SQL Server platforms because these provide the best all-around performance. All your installations should be connected to each other via a 100 Mbps network segment for optimum network throughput and the fastest possible publishing site.

Choosing a Location for Your Data

If you are using one server or many servers, you should carefully consider when you will place the data you plan to publish. You really have two choices: You can place the data all on one drive, or you can distribute it among multiple drives. If you have a choice, use multiple drives. For best performance, consider using a stripe set or stripe set with parity. Both these increase your drive's capability to access your data, which decreases your client's access times. If you have sufficient funds, consider a hardware RAID alternative, which increases your throughput even more.

You also should consider dividing your data based on the service and potential number of clients. If you will be providing a WWW and FTP site that hundreds or thousands of users will access and a Gopher site that less than 100 clients will access, devote your resources appropriately. Put your WWW and FTP data on your fastest drive, and place your Gopher data on your slowest drive. Your drives also should be NTFS rather than FAT partitions, because NTFS provides less wasted space due to large cluster size, faster access times, and increased security.

Looking At IIS Preinstallation Requirements

Because IIS is based on providing Internet-related services that rely on the TCP/IP protocol as the network transport, your first requirement is that you install the TCP/IP protocol, which also installs the utilities (arp, finger, hostname, ipconfig, nbtstat, netstat, ping, rcp, rexec, route, rsh, telnet, tftp, and tracert). You should not install the FTP service, however, because it conflicts with the IIS FTP Publishing Service.

If you will be using IIS as the basis for providing full-time Internet connectivity to your network clients, you might want to install a few additional services. Specifically, you want to include the following services:


Note: Even with RIP installed, you must have Internet routable IP addresses in order to use Windows NT Server as a gateway to the Internet. You cannot just assign a random block of IP addresses for use by your LAN clients and expect them to work. These addresses probably are already in use on the Internet, which means that you will have an IP address conflict and the connection attempt will fail. In order to obtain routable IP addresses, you must request these addresses from your Internet service provider or the InterNIC.


Note: In order to install these services, you must be a member of the Administrators group on the computer on which you want to install the service.

Installing the TCP/IP Protocol and Utilities

If you did not install all the TCP/IP utilities during your initial Windows NT Server installation, you can add them by using the Control Panel Network applet. Just follow these steps:

  1. Click on the Protocols tab in the Network dialog box, as shown in Figure 3.1.

  2. Click the Add button to display the Select Network Protocol dialog box, as shown in Figure 3.2.


  3. Figure 3.1. Installing a network protocol.


    Figure 3.2. Installing the TCP/IP protocol.

  4. In the Network Protocol box, select TCP/IP Protocol and click the OK button. You are prompted by the TCP/IP Setup dialog box to use DHCP to allocate your IP address.


  5. Note: Your computer cannot be both a DHCP server and a DHCP client. It must be one or the other. If the computer also will be a DHCP server, you must manually configure the TCP/IP protocol as described in step 6.


  6. If you have a DHCP server accessible by this computer, click the Yes button; otherwise, click the No button. For this discussion, assume that no DHCP server is available. You then are prompted by the Windows NT Setup dialog box for the location of your Windows NT source files.

  7. Enter the drive and directory, and then click the Continue button. The source files for the TCP/IP protocol and utilities are copied to your computer.

  8. After the files are copied, you can click the Close button in the Network dialog box if you have no additional services to install. Otherwise, choose the Services tab and install the additional services (as described in the following sections).

    Once the Close button has been selected the Bindings Review and Configuration dialog box is displayed and an analysis of your network bindings is performed.

    After the analysis of your network bindings has occurred, the Microsoft TCP/IP Properties dialog box appears, as shown in Figure 3.3.

    Figure 3.3. Specifying your IP address.

  9. Specify your IP address, subnet mask, and default gateway. If you have more than one adapter (you have a multihomed system), enter this information for each adapter. If you want to assign multiple IP addresses to your adapter or have multiple gateways, click the Advanced button to display the Advanced IP Addressing dialog box, where you can enter this information.

  10. Choose the DNS tab, as shown in Figure 3.4. Enter your host name (the name of your computer), your Internet domain name, the IP addresses of your DNS servers, and—if you have multiple Internet domains—your domain suffix search order.

    Figure 3.4. Specifying the TCP/IP DNS configuration.

  11. Choose the WINS Address tab, as shown in Figure 3.5.

    Figure 3.5. Specifying the TCP/IP DNS configuration.

    Here, you can enter the following information for each adapter (if you have more than one network adapter installed) listed in the Adapter drop-down list box:


  12. Caution: If you will be installing a DNS server on the same computer that provides the WINS service, you should not enable the Enable DNS for Windows Resolution checkbox.

  13. If you have network clients on the other side of a router with no corresponding DHCP server that use DHCP to allocate IP addresses or BOOTTP for diskless workstations, choose the DHCP Relay tab. Here, you specify the IP addresses of your DHCP server, the number of seconds to wait before a retransmission, and the number of router hops over which to transmit the DHCP and BOOTTP requests.

  14. To enable forwarding of IP packets on your network, choose the Routing tab and enable the Enable IP Forwarding checkbox. If you install the RIP for Internet Protocol, as described later in this chapter, the routes are created dynamically. If not, you must create static routes using the route utility.

  15. Click the OK button. You are be prompted to restart your system. If you will not be adding any additional protocols or services, click the Yes button. Otherwise, click the No button and continue to add your additional protocols or services.

Installing the DHCP Server Service

The DHCP server service also is installed through the Control Panel Network applet. You can use this service to automate the IP address allocations to your local and remote network clients. I generally recommend that the DHCP server be installed for even very small networks because this makes administration easier and provides a means for expansion without a lot of grunt work. Before you install the service on your current server, however, check for the existence of other DHCP servers on the network. These could be other Windows NT Servers, a UNIX server, or possibly even a server provided by your Internet service provider. You want to avoid at all costs any conflicts with existing scope. Creating and managing scopes is covered in Chapter 5, "Using DHCP, WINS, and DNS."

To install the DHCP server service, just follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page, as shown in Figure 3.6.

    Figure 3.6. Installing a network service.

  2. Click the Add button to display the Select Network Service dialog box, as shown in Figure 3.7.

    Figure 3.7. Installing the DHCP server service.

  3. Select Microsoft DHCP Server and click the OK button.


  4. Note: If you want to use SNMP to configure the DHCP server service remotely, be sure to install the SNMP service, as described later in this chapter in "Installing the SNMP Service."

  5. When prompted, enter the path to the distribution files and click the Continue button to copy the DHCP server files to your computer.

  6. Click the Close button if you will not be installing any additional services, or repeat steps 2 through 4 for each additional service.


  7. Tip: It is a good idea to install the additional services (such as WINS, DNS, RIP, SNMP, and RAS) at this point, because it will save you some additional time. This is not required, however, because you can install the services one at a time, as described in the following sections.

  8. When prompted, restart your system. After the system restarts, the DHCP server service should be activated. If not, check your system event log for any error messages.

Installing the WINS Server Service

Installing the WINS service is quite similar to installing the DHCP server service. Although you can use the DHCP server service and WINS service separately, they function much better when used together. Managing your WINS service is covered in Chapter 5.

To install the WINS Service, just follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select Windows Internet Name Service and click the OK button.


  4. Tip: If you want to use SNMP to configure the WINS service remotely, be sure to install the SNMP service, as described later in this chapter in " Installing the SNMP Service."

  5. When prompted, enter the path to the distribution files and click the Continue button to copy the WINS files to your computer.


  6. Note: Unlike the rest of the services you install, which are displayed on the Services tab, the WINS service is listed on the Protocols tab when installed.

  7. Click the Close button if you will not be installing any additional services. Or, repeat steps 2 through 4 for each additional service.

  8. When prompted, restart your system. After the system restarts, the WINS service should be activated. If not, check your system event log for any error messages.

Installing the RIP Service

If you are not very familiar with TCP/IP routing, it is a good idea to install the Routing Internet Protocol (RIP) even if you are not sure you will need it. This is because you can use RIP to build dynamic routing tables. This is preferred over building static routes with the route application because it lessens the administrative burden.

To install RIP, follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select RIP for Internet Protocol and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the RIP for Internet Protocol files to your computer.


  5. Note: Although you might expect the RIP for Internet Protocol to be displayed on the Protocols page like the WINS service was, it instead is displayed on the Services page. Don't let the name confuse you; RIP really is a service.

  6. Click the Close button if you will not be installing any additional services. Or, repeat steps 2 through 4 for each additional service.

  7. When prompted, restart your system. After the system restarts, the RIP for Internet Protocol service should be activated. If not, check your system event log for any error messages.

Installing the DNS Service

The DNS service is based on the UNIX BIND service. It provides a means to map computer names to IP addresses, or IP addresses to computer names, much as the WINS service provides the same capability. The primary difference between WINS and DNS is that DNS uses a static mapping mechanism based on host files. Even if you plan on using WINS, you should install the DNS service because it can provide additional functionality when connecting to the Internet. Managing your DNS service is covered in Chapter 5.

To install the DNS service, follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select Microsoft DNS Server and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the DNS server files to your computer.

  5. Click the Close button if you will not be installing any additional services. Or, repeat steps 2 through 4 for each additional service.

  6. When prompted, do not restart your system. Instead, launch the Control Panel Services applet as shown in Figure 3.8 and select Microsoft DNS Server.

    Figure 3.8. Configuring the DNS service to start automatically.

  7. Click the Startup button to display the Service dialog box to configure the Startup Type from Manual to Automatic. This starts the DNS service when the server starts instead of requiring you to manually start the service each time you power up the server.

  8. Click the OK button to close the Service dialog box. You then can click the Close button to exit the Services dialog box.

  9. At this point, you should modify your host files (located in the SystemRoot\System32\DNS subdirectory), as described in Chapter 5. You then can restart your system. After the system restarts, the DNS service should be activated. Even if the service is running, you should check the system event log for any error messages produced by the DNS service. Sometimes this is the only indication that you have incorrectly configured a record in one of your host files.

Installing the SNMP Service

Installing the SNMP service is quite similar to installing the other services described in the preceding sections. You may not need to install this service, however, if you do not have an SNMP monitoring and configuration tool. This service only provides a means to monitor or configure your Windows NT services remotely from an SNMP console, such as HP OvenView or a similar product. Although the resource kit provides a simple command-line SNMP console, you probably will find it easier, as I do, to use the Administration tools provided with Windows NT Server for remote administration.

Just in case you really need the SNMP service, you can install it by following these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select SNMP Service and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the SNMP Service files to your computer. Next, you are prompted to configure the SNMP service in the Microsoft SNMP Properties dialog box, as shown in Figure 3.9.

    Figure 3.9. Configuring the SNMP Contact and Service properties.

  5. In the Contact field, enter the name of the person to contact in case of problems. You can use the Location field to specify where the problem has occurred (in building A, for example) or a phone or beeper number. The Service section specifies the types of problems to monitor. You should ask your SNMP manager about these, because not every manager will want to see traps for each of these items.

  6. Before your SNMP Service will provide any useful purpose, you must specify where to send the information. You can do this on the Traps page, where you can specify the type of SNMP items you are concerned with as well as their destination (see Figure 3.10). If you are unsure of the type of SNMP information, just enter public in the Community Name field and click the Add button. The Add button then is grayed out, and the Add button below the Trap Destinations box is enabled. At this point, click the Add button and enter the IP or IPX address of the computer with the SNMP monitoring console.

    Figure 3.10. Configuring the SNMP Traps properties.

  7. If you want to limit the SNMP traps you will submit or receive, you can do so by choosing the Security tab. Once more, you should discuss this with your SNMP console manager to determine his requirements.

  8. When you finish configuring the SNMP Service, click the OK button to close the Microsoft SNMP Properties dialog box.

  9. Click the Close button if you will not be installing any additional services to close the Network dialog box. Or, repeat steps 2 through 4 for each additional service.

  10. When prompted, restart your system. After the system restarts, the SNMP Service should be activated. If not, check your system event log for any error messages.

Installing the Simple TCP/IP Services

Installing the Simple TCP/IP services is very straightforward. Just follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select Simple TCP/IP Services and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the DHCP server files to your computer.

  5. Click the Close button if you will not be installing any additional services. Or, repeat steps 2 through 4 for each additional service.

  6. If you actually plan to use these services (and I hope you do because you have installed them), you need to configure the Quotes file located in the SystemRoot\Drivers\Etc subdirectory.

  7. At this point, you can restart your system. After the system restarts, the Simple TCP/IP services should be activated. If not, check your system event log for any error messages.

Installing the Microsoft TCP/IP Printing Services

Installing the Microsoft TCP/IP printing services is also very straightforward and requires little user intervention. Just follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select Microsoft TCP/IP Printing and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the DHCP server files to your computer.

  5. When prompted, do not restart your system. Instead, launch the Control Panel Services applet and select TCP/IP Print Server.

  6. Click the Startup button to display the Service dialog box. Here, you can configure the startup type from manual to automatic. This will start the TCP/IP Print Server service when the server starts instead of requiring you to manually start the service each time you power up the server.

  7. Click the OK button to close the Service dialog box. You then can click the Close button to exit the Services dialog box.

  8. All your services now should be installed and configured, so you can restart your system. After the system restarts, the TCP/IP Print Server service should be activated. If not, check your system event log for any error messages.

Using the Remote Access Service

The Remote Access Service (RAS) is a powerful tool that you can use to support your dial-in clients and provide complete network access to your network. You also can use RAS to create a wide area network, or you can use it as an Internet gateway. Before you can use the software, however, you must install it. After installing the software, you have to grant access to your remote clients with the Remote Access Administrator. Otherwise, these clients will be able to connect, but they will be denied access to the network and forcibly disconnected. The Remote Access Administrator also is useful for managing your remote access clients, as you will see later in this section.

One of the most interesting and powerful aspects of the Windows NT Server RAS is that it can use any of the installed network transports (NetBEUI, IPX/SPX, or TCP/IP) for your connection. And it can support up to 256 simultaneous client connections on a single server, provided your server has the horsepower and memory for it. This can provide the means to create a serious communications server to support your entire sales force. It even works quite well with client/server applications because these applications do not send great amounts of data over the wire. If you are trying to provide application sharing over the wire, although it is possible, I do not recommend it. RAS should be used to provide limited connectivity. By this, I mean that you should share only data files, not applications. Instead of sharing Microsoft Word for Windows, for example, you should install the application directly on the remote user's computer where it will execute quickly. The data files he accesses may be on the server, however. This still provides adequate user performance.


Note: The Windows NT Workstation and Windows 95 RAS can support the NetBEUI, IPX/SPX, and TCP/IP protocols. MS-DOS and Windows 3.x RAS client software is limited to the NetBEUI protocol. If you want to use the IPX/SPX or TCP/IP transports, you will need additional third-party software, such as an Internet SLIP or PPP application, to give your client a TCP/IP connection to your Windows NT Server.

Installing RAS

Installing RAS is a multipart process if you want to get the most out of it. This is because Microsoft has configured the default settings to provide more reliable data communications on slower UARTs. To obtain a minimum connection of 38400 bps, you must have a 16450 or better UART. And, in reality, a 16450 sometimes will drop data, so a 19200 connection is a better selection. You need a 16550 UART that contains a 16 byte First In First Out (FIFO) buffer to obtain a speed of 57600. You need a proprietary UART from DigiBoard, Hayes, Equinox, or another manufacturer to obtain a 115200 connection rate.

Obtaining these higher data rates requires modifications to the serial.ini file (a temporary modification) or to the modem.inf (a permanent modification). These files are installed or created during your remote access installation. I will point out the modifications that are needed at the appropriate time during the installation discussion. Before you install RAS, you should install your multiport adapter, X.25 adapter, or ISDN adapter. After the hardware is added to the system, you need to install the adapter device driver.

To install the adapter device driver, follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Adapters tab to display the Adapters page, as shown in Figure 3.11.

    Figure 3.11. Adding a network adapter.

  2. Click the Add button to display the Select Network Adapter dialog box, as shown in Figure 3.12.

    Figure 3.12. Adding an adapter for use by RAS.

  3. Scroll down through the list to find your adapter. If it is not listed, click the Have Disk button and insert the OEM disk into your drive A. Then choose the correct adapter from the list.

  4. After installing the device driver and configuring it if required, click the OK button on the Select Network Adapter dialog box. When prompted to restart your computer by the Network Settings Change dialog box, click the Restart Now button and restart the server.

After the server restarts, you can install RAS software. You do this from the Control Panel Network applet. Just follow these steps:

  1. Launch the Control Panel Network applet to display the Network dialog box. Then click on the Services tab to display the Services page.

  2. Click the Add button to display the Select Network Service dialog box.

  3. Select Remote Access Service and click the OK button.

  4. When prompted, enter the path to the distribution files and click the Continue button to copy the DHCP server files to your computer.


  5. Note: At this point, you should interrupt your RAS software installation to modify the modem.inf file to permanently change the configuration for your installed modems. Execute Notepad and open the SystemRoot\System32\ras\modem.inf file. Then search for your modem. If you have a Supra v32 bis modem, for example, perform a search for Supra. When you find the entry [Supra Fax Modem V32bis], you have found the right entry. Then you should change the MAXCONNECTBPS parameter from its default of 38400 to 57600. If you have a 28800 modem, change this parameter from 57600 to 115200. Then save the file and continue your RAS configuration.

  6. After the Add Ports dialog box appears, select your first port to use for a remote connection. Then click the OK button to continue.

  7. The installation then offers to detect the modem. You should answer Yes to this if you do not know what type of modem you have or cannot find it listed in the Hardware Compatibility List, but it will take some time to try to detect your modem. Answering No quickly brings you to the Configure Port dialog box.

  8. In the Configure Port dialog box, you can select your modem, pad, or ISDN connection in the Attached Device field. You then need to choose a Port Usage entry. You can choose to support only dial in (Receive calls only), dial out (Dial out only), or both (Dial out and Receive Calls).


  9. Tip: You can click the Settings button to configure additional modem characteristics. You can enable or disable the modem speaker, hardware flow control, and error control. All these options are enabled by default. You also can choose to enable the hardware compression features (disabled by default) of the modem. You should use the software compression in most cases because it can outperform the hardware compression (particularly if you do not set the DTE rate to four times your carrier rate—57600 for a 14400 modem). If you have a slower CPU, however, enabling hardware compression sometimes can outperform software compression. You need to use the trial-and-error method to determine which compression option is better for you and your clients. For what it's worth, when I connect with my laptop, I find that hardware compression performs better than software compression.

  10. After configuring your modems, click the OK button to return to the Remote Access Setup dialog box. Then click the Network button to display the Network Configuration dialog box.

  11. Choose which protocols to support based on the protocols you have installed. You can choose to enable any protocol (NetBEUI, IPX/SPX, or TCP/IP) or only a single protocol for your dial-out and dial-in connections.

  12. For each dial in (Server Settings field), you can choose to allow the clients access to your entire network, or only the server to which they connect. You additionally can set a static range of IP addresses for your TCP/IP clients to use, or you can use DHCP to assign IP addresses. I prefer to use DHCP to assign IP addresses. For your IPX/SPX clients, you can choose to allocate individual network numbers for each client or assign each IPX client the same network number. If you are integrating your Windows NT Server with a Novell NetWare network and will be providing access to it from your remote connections, you should allocate network numbers. Just pick a number that currently is not in use, and enter this in the From field. The To field is entered automatically based on the number of remote access ports you have installed. For both your TCP/IP and IPX/SPX connections, you also can allow your dial-in clients to allocate a predetermined IP address or network address.


  13. Tip: You also can set encryption settings for your dial-in clients in the Network Configuration dialog box. The default is to require Microsoft encrypted authentication. This setting may prevent PPP and SLIP connections from being authenticated if you are not using the Microsoft remote access client. To prevent this from happening, enable the Allow any authentication including clear text option. This option still attempts to encrypt the password, but if all else fails, it supports a clear text password attempt. If you are really concerned about the security of your data when it is sent over the remote access connection, you can enable the Require data encryption setting. This encrypts all data transmitted over the connection.


    Tip: If you will be using more than one PPP connection to the Internet, check the Enable Multilink option to merge your separate datastreams into a single datastream and increase throughput.

  14. Click the OK button. You are returned to the Remote Access Setup dialog box. If you have additional ports to add, the quick and easy way is to click the Clone button. This copies your current configuration to the next available port. Repeat this step for each port you want to install. If you have a different modem on a port, just select it and click the Configure button. You then can choose the correct modem for it. Just remember to change the modem settings if you choose another modem in order to configure it properly.

  15. After all your modems are installed and configured, click the OK button in the Remote Access Setup dialog box. Then click the Close button to exit the Network dialog box. You then are prompted to restart your computer. At this point, be sure to click the Restart Now button.

  16. When the system restarts, be sure to check the system event log to check for any possible errors.

Configuring RAS

After you restart your computer, you can use the Remote Access application located in the Remote Access Service group on the Taskbar and connect to other RAS servers. If you did not perform the earlier modifications to the modem.inf file during the installation, you should modify the serial.ini file. This file is located in the SystemRoot\System32\ras directory. For each com port installed, change the MAXCONNECTBPS and IntialBps parameters to reflect your highest DTE rate (57600 for a 14400 modem).

After you make this change, you can run the remote access client. The first time you do, you are prompted to create a phone book entry. In the Edit Phone Book Entry dialog box, enter a name for your connection in the Entry Name field, a phone number to dial in the Phone Number field, and a comment for the entry in the Description field.

Using the Remote Access Administrator

The Remote Access Admin application is located in the Remote Access Service group on the Taskbar. You use this application to grant access to your dial-in users, to check the status of the communications port, to send messages to your remotely connected users, and to stop or start RAS on your computer or a remote computer.

Preparing for Client Connectivity

Before your dial-in clients can access your network through RAS, you must grant these users permissions to connect through a dial-in connection. Just choose Users | Permissions to access the Remote Access Permissions dialog box.

For each user for which you want to provide dial-in access, follow these steps:

  1. Select the user name in the Users field.

  2. Enable the Grant Dialin Permission to User checkbox.


  3. Tip: To quickly grant permission to all users to dial into your network, click the Grant All button. To delete all user permissions, click the Remove All button.

  4. Specify a callback option of No Call Back, Set By Caller, or Preset To. If you specify Preset To, be sure to enter a complete phone number, including any dial-out codes, calling card codes, and so on.

  5. Click the OK button. Your remote access callers now can dial into your network.

Monitoring Remote Access Connections

To determine who is using your remote access connections, just double-click the server entry or choose Server|Communications Ports to display the Communications Ports dialog box. If you have any connected users, the User field lists the connected user, and the Started field lists the time at which the user connected to your server.

If you have an active connection, the following buttons are enabled:

If you want to determine the compression ratios or errors that have occurred on the selected port, click the Port Status button.

Using Remote Access as a Gateway to the Internet

In order to use RAS to connect to the Internet, you need a Point to Point Protocol (PPP) or Serial Line Internet Protocol (SLIP) account from an Internet service provider. After you obtain an account, all you need to do is create a phone book entry with the remote access client.

Follow these steps:

  1. In the Edit Phone Book Entry dialog box, click the Advanced button to expand the dialog box. Click the Network button to display the Network Protocol Settings dialog box.

  2. Disable the NetBEUI and IPX protocols in the PPP entry if you will be using a PPP connection to connect to the Internet service provider. If you have a preassigned IP address or DNS IP address, from your Internet provider, click the TCP/IP Settings button to enter this information.

  3. If you will be using a SLIP connection to connect to your Internet provider, enable the SLIP radio button instead of the default PPP radio button.

  4. Click the OK button to return to the Edit Phone Book Entry dialog box.

  5. If your user account with your Internet service provider is different than the account you will use to log onto your server, be sure to disable the Authenticate Using Current User Name and Password checkbox. Then, when you dial up your Internet service provider, you are prompted to supply a user name and password.

  6. Click OK to return to the remote access client main window.

After you complete these steps, just double-click your new entry to dial out and connect to your Internet provider.

If you will be using your RAS connection as a gateway to the Internet so that your LAN clients can access the Internet through this same server, you have a bit of additional work to do. Specifically, you need to add the following values to the following keys in the registry:

Key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasArp\Parameters

Value:

DisableOtherSrcPackets

Key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\PPP\IPCP

Value:

PriorityBasedOnSubNetwork

Both of these values are regular double words (REG_DWORD). DisableOtherSrcPackets should be set to 0, and PriorityBasedOnSubNetwork should be set to 1. The first entry specifies that network packets should use the IP address of the LAN client sent over the RAS link instead of the computer providing the RAS connection. This will ensure that the data is routed to the proper client. The second entry specifies that the network packets should be sent to the appropriate destination, and adapter, based on the individual subnet. This is usually required, for example, when your LAN has a subnet like 206.170.127.x and your RAS connection (or your ISP's subnet) is 206.170.126.x. If the PriorityBasedOnSubNetwork is not set to 1 (the default is assumed to be 0), all network traffic would be routed thorough your network adapter. When you set this value, however, your LAN traffic will be passed over your network adapter, and your Internet traffic will be passed over your RAS connection.

Summary

In this chapter, you learned a bit about where you should install IIS, as well as the preinstallation requirements for a successful IIS installation. You also walked through the installation of the various components. Finally, you learned how to install and configure RAS.

In the next chapter, you will learn how to configure the IIS and begin publishing your content on the Internet.

Previous Page TOC Next Page