CHAPTER 4

Networking for the Internet or an Intranet

General Networking Issues
Publishing on an Intranet

The Internet is a network of networks. An intranet is a smaller, contained network, such as that found within a corporation.

This chapter explains:

- Routers and security devices.

- Typical network configurations.

- Issues involved in publishing on a private intranet.

- Internet Explorer for network users.

- Using Simple Network Management Protocol (SNMP) monitoring.

# General Networking Issues

This section explains the basic Transport Control Protocol/Internet Protocol (TCP/IP) networking requirements for nearly all Web sites, especially those with multiple Web servers. For issues specific to the Internet or to intranet publishing, see those sections later in this chapter.

## Routers and Security Devices

TCP/IP is a routeable protocol, meaning that each piece of information (packet) has a specific address that it is routed to. Dedicated routers connect two networks and route packets between them. The routers check the destination for each packet on one network, and if the destination is on the router’s other network, it routes the packet to its destination.

Routers can be configured to allow only certain packets between networks, a process called packet filtering. Packet filtering can be used to prevent users from seeing or connecting to internal computers and resources.

If you have a TCP/IP network you probably have routers in your network already. Often an Internet Service Provider (ISP) will install a router between the Internet and your Web server. You can often use this router to filter the incoming and outgoing packets. See your ISP or router documentation for more information about configuring routers or similar security devices.

## Typical Network Configurations

This section describes typical network configurations for an intranet site.

### Intranet Sites

If you are publishing only to your own intranet, Peer Web Services can be integrated into any TCP/IP network. If Dynamic Host Configuration Protocol (DHCP) and Windows Internet Name Service (WINS) are enabled on your network, clients can use the Web server’s computer name to connect with the server. If Domain Name System (DNS) is enabled on your network, you will use host names.

### Internet Sites

If you will have only one computer running Peer Web Services at your site, your Internet Service Provider (ISP) can help you with many details, such as router configuration and the IP address of the default gateway that your Web server will use.

If you have multiple computers running Peer Web Services on your network, you must configure their TCP/IP settings to operate correctly through your Internet connection configuration, including any routers used between your servers and the default gateway.

Typically, sites with more than one computer running Peer Web Services will add another router. With the addition of another router, the servers can be grouped into a single subnet isolated from your private network.

To create a subnet you will need:

- One computer with two network adapter cards and Windows NT TCP/IP routing enabled, or a dedicated router for your subnet.

See Help in Windows NT for the procedure to create a simple router on a computer running Windows NT and for the procedure to set routing tables by using the route command.

- Valid IP addresses for every network adapter card in your subnet and the correct subnet mask.

- Correct default gateway IP address configurations.

Your ISP will provide you with the Internet IP addresses, subnet mask (if any), and your default gateway configuration.

## Administering Servers with Internet Service Manager

You can install Internet Service Manager on Windows NT–based computers from which you will administer computers running Internet Information Server or Peer Web Services on your network. For over-the-network installation, use File Manager or Windows NT Explorer to create a network share containing the Admin folder on the compact disc. You can then install Internet Service Manager to administer the services from any computer on the network running version 4.0 or later of Windows NT Workstation or Windows NT Server ¤. You can also administer Internet servers over the network by using your Web browser. For more information, see Chapter 3, “Configuring and Managing Peer Web Services.”

# Publishing on an Intranet

Microsoft Peer Web Services can be used on any private TCP/IP network to provide files and applications to network users. This section explains how to plan for publishing on a private intranet. Issues to be considered include:

- Name resolution systems

- Using DHCP

- Using computer names in URLs

- SNMP monitoring (if used at your site)

## Name Resolution Systems

If you want intranet clients to be able to use friendly names with Internet Explorer when browsing Web servers, you must provide a name resolution system for clients.

Windows NT Workstation offers you the advantage of automatic IP address administration with the DHCP server and WINS server methods for name resolution offered by WINS servers.

### Using Computer Names with WINS Servers

A WINS server is a Windows NT Server–based computer running Microsoft TCP/IP and WINS server software. A WINS server maintains a database that maps TCP/IP addresses to Windows Networking NetBIOS computer names.

Microsoft Peer Web Services uses WINS server software to map TCP/IP addresses to computer names on the network. WINS uses Microsoft Networking computer names, which makes it much more flexible than DNS for name resolution. WINS also provides a dramatic reduction of IP broadcast traffic in internetworks, while allowing client computers to easily locate remote systems across local or wide area networks. If you use WINS servers on the Internet, your computers must be using valid Internet IP addresses.

### Using Computer Names and LMHOSTS

An LMHOSTS file is a simple text file resolving Windows computer names to IP addresses. If you have a small or infrequently changing network you can distribute an LMHOSTS file to each computer in the network. Each time a host changes you will have to manually change the LMHOSTS files.

### Using Domain Names with DNS Servers

You can maintain a DNS server on your intranet and use Internet TCP/IP domain names. A DNS server must be installed on a Windows NT Server-based computer in your network.

### Using Domain Names and HOSTS

A HOSTS file is a simple text file resolving DNS domain names to IP addresses. If you have a small or infrequently changing network, you can distribute a HOSTS file to each computer. Each time a host changes you will have to manually change the HOSTS files.

## Using DHCP in Your Intranet

You can take advantage of DHCP server automatic IP address administration.

A DHCP server is a Windows NT Server–based computer running Microsoft TCP/IP and the DHCP server software.

If you use DHCP servers, you must use WINS servers for clients to have automatic IP address name resolution in a Wide Area Network (WAN) environment. DHCP is defined in Requests for Comments (RFCs) 1533, 1534, 1541, and 1542. See Tcpip.hlp in Windows NT Workstation for more information about DHCP servers.

Refer to Windows NT Server documentation for more information.

## Using URLs and Creating HTML Links for Intranets

When you connect to a server or create HTML files and links on an intranet, you must name computers in accordance with the name resolution system implemented on your network. For example, if you use WINS servers on your network, your links will use Windows computer names, such as http://sales1/homepage.htm, where sales1 is the name of the computer running Peer Web Services.

© 1996 by Microsoft Corporation. All rights reserved.