


ROUTING AND REMOTE ACCESS SERVICES (RRAS)
RRAS runs only on NT 4.0 and 2000 Server. If you havent already done so, download the free software from http://www.microsoft.com/ntserver/. To make sure that the download proceeds smoothly, use Internet Explorer 4.01 or later. If you register with www.microsoft.com, you can use a download wizard that will alleviate some of the monotony of filling out forms repeatedly. If you are using 2000 Server, you dont have to download RRAS because it is included. Lets look at some of the features of this free software.
RRAS Features
(From here, we refer to the updated version, RRAS 2.0, as RRAS.) RRAS builds on the previous Multi-Protocol Routing (MPR-1) and RAS. With RRAS, you can have up to 16 network cards, 256 modems, and 48 interfaces for demand-dial.
RRAS supports the routing protocols RIP (Versions 1 and 2) and Open Shortest Path First (OSPF). The Point-to-Point Protocol (PPP) can be used to connect an NT Server to a different router or to another NT Server running RRAS. Once it is connected, RRAS can be turned on and the NT Server can act as a router. The demand-dial support for up to 48 interfaces allows your local network to automatically dial up to 48 networks if needed.
Objectives
Sounds great, you say. But how do you use just two network cards and an ISDN connection to connect your network to the Internet? How do you secure your network so that those friendly folks on the Internet arent accessing your internal network?
The ideal course is to make sure that you read the documentation, know NT well, understand routing concepts, know about the various security issues on the Internet, and have at least one good friend at your Internet Service Provider (ISP). In less than ideal circumstances, follow the procedures outlined below. These procedures will enable you to meet the following objectives:
- Use the free RRAS update to do routing.
- Eventually replace that trusted router that has worked very well so far.
- Separate the network into an internal network and an external network. The external network has resources like a Web server and an FTP server that can be accessed from the Internet.
- Allow outgoing connections to the Internet.
In the examples used to illustrate the procedures, weve listed our IP addresses so that the screen captures make sense. Please substitute your own addresses when you follow the steps. Dont use the addresses listed here.
Implementation
Its very important to make sure that you have details right: for example, you need the right IP network numbers for internal and external networks and network cards that are supported by NTs hardware compatibility list. Make a list of the following numbers, substituting your networks addresses for the ones from our example:
- Internal network 204.112.23.0, Subnet Mask: 255.255.255.0
- External network 204.112.22.0, Subnet Mask: 255.255.255.0
- NT routers IP address 204.112.22.11 for the external network, 204.112.23.11 for the internal network
- Internet routers address at ISP: 204.112.102.58
- Internet routers address at external network: 204.112.22.1
Figure 10.8 illustrates a small network that uses routing on an NT server to separate internal hosts from computers that are accessible through the Internet.
The internal network or intranet has various clients, applications servers like SQL Server 7.0, DHCP and WINS servers, and others. These systems can access a poor mans de-militarized zone as shown in Figure 10.8. Access to the Internet may be through a regular router or through RRAS. Weve found that RRAS is more commonly used inside intranets. Its a good solution for companies that have a number of offices or locations within a limited geographical area and have access to ISDN, cable modems, or XDSL. RRAS lets you create a sophisticated demand-dial infrastructure.
Implementing RRAS on an NT Server
Follow these steps to implement RRAS on an NT Server:
- Before you download the RRAS executable mpri386.exe (5683K for Intel platforms) from http://microsoft.com/ntserver/, make sure that at least Service Pack 3.0 for NT Server 4.0 is installed. Dont install RRAS on NT Workstation or previous versions of NT Server you must have NT Server 4.0.
- Make sure that you have at least 50 MB of free disk space if you are using FAT and at least 40 MB free if you are using NTFS (use NTFS if possible).
- Check the IP Address dialog box on your soon-to-be RRAS server to ensure that the default gateway is set to nothing because you want to let the routing protocols define the best default route. (If you have set a default gateway on the IP Address dialog box, your routing may not work properly.) Also, if you have more than one network interface (as in our example) because you have two network cards, ensure that IP Forwarding is not enabled (as shown in Figure 10.9).
- Run mpri386 or the appropriate executable for your hardware platform. The configuration described here was done on two IBM 760ED ThinkPads with two network cards, although a ThinkPad would obviously be less than ideal in a production environment.
Ready for Routing
After you have completed the steps above, you are ready to route through the RRAS server. Begin by choosing Start Router from the Server menu. To select routing protocols, right-click the IP Routing below the server icon and add a routing protocol. In Figure 10.10, weve added RIP.
Right-click the routing protocol youve added and add an interface. In our example, weve added the Xircom interface. When you right-click the interface, the dialog box shown in Figure 10.11 appears.
On the General tab, you set the operation mode, the protocol for outgoing packets, and the protocol for incoming packets. If you want to reduce network traffic, you can select Auto-Static mode instead of Periodic Update mode when talking to Cisco routers.
Once youve set these options, switch to the Security tab (Figure 10.12).
(Reminder: As you configure this interface, use your own IP addresses.) In Figure 10.12, weve checked Process only routes in the range listed and selected a range of IP network numbers so that our router doesnt process routes to networks that arent trusted. You may choose to ignore the options presented here and process all routes.
Special Note: To protect your router as well, after you select RIP for Internet Protocol (Figure 10.10), right-click, then select Configure RIP to bring up the dialog box in Figure 10.13.
You can choose to process all router announcements, process router announcements from specific routers, or discard announcements from specific routers. In this case, RRAS processes only router announcements from IP address 204.112.22.1. |
Once youve set the options on the Security tab, switch to the Neighbors tab (Figure 10.14). You can choose to communicate with neighboring routers using the standard UDP packets broadcasts or multicasts that RIP supports. In addition, you can send RIP packets to specific routers listed in the Neighbors list. You can also choose to send RIP packets only to specific neighboring routers. In Figure 10.14, the RRAS server will send RIP packets only to the router with an IP address of 204.112.22.1. Using the Neighbors list as weve done in Figure 10.14 minimizes traffic on your internal network because broadcasts arent used.
Next, switch to the Advanced tab (Figure 10.15). In Figure 10.15, we are overriding non-RIP routes with RIP-learned routes because of the configuration of our network. However, the default values listed for your installation should work.
Finally, make sure that your ISP knows to direct IP traffic to your network at their router. Test this by issuing a traceroute command. The best place to issue the command is a computer at the ISPs site. In the following example, weve used a Telnet session to log on to a Unix computer and issued the command
traceroute 204.112.23.13
and received the response
traceroute 204.112.23.11 (204.112.23.11), 30 hops max, 40 byte packets
1 manitoba.mbnet.mb.ca (204.112.178.1) 3 ms 2 ms 2 ms
2 idrouter.mbnet.mb.ca (204.112.54.130) 2ms 1 ms 1 ms
3 204.112.102.58 (204.112.102.58) 32 ms 32 ms 32 ms
4 web13.foretell.ca (204.112.23.13) 37 ms 26 ms 27 ms
You can see that we were able to access a computer on internal network 204.112.23.0 from the Internet. To secure the internal network, you can set up input and output filters on each of the interfaces. The filters on RRAS seem to work very well. So far, performance tests on our network have shown that increase in CPU and memory utilization for about 120 filters has been minimal. RRAS seems to consume about 2.1 MB of memory and about 3 percent of CPU on this network.
CONCLUSION
RIP-1 and RIP-2, static routing, and remote access are provided as a part of RRAS. Additional routing protocols such as OSPF are also available, even though we havent seen NT used as an OSPF router in a large-scale production environment. If you are planning to use an NT Server just for remote access through dial-up connections, you may want to avoid installing RRAS and just stick with the version of RAS that is distributed on the NT CD-ROM. RRAS performance is comparable to that of a low-end router. In addition, because RRAS uses the familiar Windows interface for local and remote management with integrated NT security, it may be a good candidate for organizations with many small offices or locations.
|
Page: 1, 2, 3 |
|
|
|
|
|