|
|
Routing Capabilities in Windows 2000 |
![]() |
|---|
| 1. General |
|---|
|
As you probably know, whenever you connect to the Internet, using any kind of computer, be it a "client" or a "server", you get assigned a more or less temporary IP-address by the server you connect to. This IP-address is taken from a pool of available IP-addresses that this other server has at its disposal. Now, as long as you have a single computer at your end, this should not be a problem. But what if you have two or more computers at your premises, configured in one or more local LANs which uses the IP-protocol for communication? Can all of these computers be configured to have free access to Internet through this connected computer? How would it work? How do you control this access? This page will look a bit closer at how Microsoft Windows 2000 handle this, i.e. we will examine Windows 2000´s capabilities as a router, how it must be configured and how it behaves. This webpage grew out of a need to understand how this scenario is supposed to function, because it does not always behave as a reasonably optimistic person might expect. You follow the Microsoft instructions that apply to your specific situation, and it just doesn´t work! |
Your LAN can be configured in various ways, and there are numerous combinations of parameters to consider, depending on each individual setup. We cannot let this page grow too big, nor is that necessary, since Microsft provides ample instructions for each configuration case. Let us here just make these assumptions about your LAN:
| ![]() Figure 1
|
| 2. Connecting options to Internet |
|---|
The alternative connections to the outside world that are most common are illustrated in figure 2 to the right. They are:
|
![]() Figure 2 |
|---|
| 3. Windows IP-addressing |
|---|
Let us here (for simplicity´s sake) refer to the Internet-connected computer as the "server", and make these assumptions:
|
![]() Figure 4 |
|---|
| Windows 2000 and XP localize the network adapters at startup. In our case there are two in the server, each leading to a LAN with TCP/IP-enabled computers. The server finds that in LAN 1, the computers already have addresses. Let us assume that they cover 192.168.1.1 and up. The address mask is thus 255.255.255.0. | In the case of the other LAN (LAN 2), all or some of the attached computers have no assigned addresses. In that situation, the Automatic Private IP Addressing (APIPA) feature Windows 2000 and Windows XP provides default automatic configuration of the IP address in the reserved range from 169.254.0.1 through 169.254.255.254, and thus uses a subnet mask of 255.255.0.0. |
There is no automatic configuration of a default gateway, DNS server, or WINS server. APIPA is designed for networks that consist of a single network segment that are not connected to the Internet. Therefore, you do not need to configure the default gateway, DNS server, and WINS server.
For manual configuration of LANs with permanent addresses (i.e. when not using DHCP), IP-addresses in the range |
| 4. How TCP/IP routers function |
|---|
More text will be forthcoming, when I get the time! |
![]() Figure 6 |
|---|
| 5. Windows 2000 as Router |
|---|
|
Microsoft Windows 2000 Server routing provides multiprotocol LAN-to-LAN, LAN-to-WAN, virtual private network (VPN), and network address translation (NAT) routing services. Windows 2000 Server routing is intended for use by system administrators who are already familiar with routing protocols and services, and routable protocols such as TCP/IP, IPX, and AppleTalk. Let´s get started, after all this talk! We will not go into all the details, since there are ample instructions in the Microsoft WindowsHELP files that come with the operating systems, and also in Microsoft TechNet.
|
The first step is to enable the Routing and Remote Access service on the server which serves as Domain Controler. If this server is a member of a Windows 2000 Active Directory domain, you have to add the computer account of this server to the RAS and IAS Servers security group in the domain of which this server is a member. If not, you can open "Routing and Remote Access" directly, in the server. In the console tree, right-click the server you want to enable, and then click Configure and Enable Routing and Remote Access. Follow the instructions in the Routing and Remote Access wizard. |
More text will be forthcoming, when I get the time! |
|
Last Updated: 2007-01-02
| Author: Ove Johnsson |
|---|