Understanding Routing

Routing Overview

Routing can be defined as the process and its associated technologies that convey data over the internetwork from one local area network (LAN) to another. There are numerous technologies available that can enable connectivity between remote networks. The Internet can also provide LAN-to-LAN connectivity. Routing takes place in IP networks, based on IP routing tables and its entries. The information in the IP routing tables is used by IP hosts to transfer data over the internetwork. Routers are devices operating at the network layer of the OSI model that use the IP routing tables to forward traffic which it receives from a host or from a router.

Before actually configuring LAN routing, one of the first factors to decide on is the connection type that will be used for the remote site connection.

A number of technologies exist that can be used for remote network connections, including:

The Routing and Remote Access Service (RRAS) provides multiprotocol routing services for Microsoft Windows 2000 Server and Windows Server 2003 computers. RRAS includes a wide variety of features that support unicast and multicast IP routing, IPX routing, AppleTalk routing, and remote access.

The components of unicast IP routing are described below:

The components of IP multicast routing are described below:

The components of IPX routing are described below:

Understanding Static Routing

With static routing, routing protocols are not used to communicate routing information between IP routers. Administrators have to manually create and modify the routing table entries. Each time a change occurs in the network configuration, the entries in the routing table have to be modified to reflect these changes. Static routing works well in a small network where it is easier to configure a small number of static routes than it is to configure dynamic routing.

A few advantages of using static routing are:

A few disadvantages of using static routing are:

How to add a static route using the Routing And Remote Access console

  1. Click Start, Administrative Tools, and then Routing And Remote Access to open the Routing And Remote Access management console.
  2. In the console tree, right-click Static Routes and then select New Static Route from the shortcut menu.
  3. When the Static Route dialog box opens, provide the appropriate information for the following settings:
    • Interface
    • Destination
    • Network Mask
    • Gateway
    • Metric parameters
  4. Click OK.

How to add a static route using a command prompt

A few important factors to consider before adding a static route from the command prompt are summarized below:

To add a static route from a command prompt,

  1. Open a command prompt
  2. Enter the following command:
    • route add destination mask netmask gateway metric costmetric if interface

Understanding Dynamic Routing

With dynamic routing, the need to manually create and maintain static routes is eliminated. Dynamic routing use routing protocols so that IP routers can communicate with each other. The routing protocols also enable routers to share the information they have in their routing tables. A router that is configured to use dynamic routing forwards its routing table's content to the other routers configured for dynamic routing at regular time periods or intervals. When a router does not send its routing table at the specified time interval, the other routers simply remove the router from their routing tables. This process prevents traffic from being forwarded to the failed router. Once the failed router is online again, the router starts sending dynamic routing messages which enables the other routers to determine that traffic can be forwarded to the router again. This in turn causes the other routers to update their routing tables to include the specific router once more.

One of the main factors to consider when deciding on implementing dynamic routing is the actual routing protocol that you will use. The Routing and Remote Access service (RRAS) includes integrated support for the following dynamic routing protocols:

How to configure RRAS to operate as a LAN router

  1. Click Start, Administrative Tools, and then click Routing And Remote Access to open the Routing And Remote Access management console.
  2. In the console tree, select the server that you want to configure.
  3. From the Action menu, select Configure And Enable Routing And Remote Access.
  4. The Routing And Remote Access Server Setup Wizard starts.
  5. Click Next on the initial page of the Routing And Remote Access Server Setup Wizard.
  6. On the Configuration page, select the Custom Configuration option.
  7. Select the Any Combination Of The Features Available In Routing And Remote Access option and then click Next.
  8. On the Custom Configuration page, select the LAN Routing checkbox and then click Next.
  9. On the Completing The Routing And Remote Access Server Setup Wizard page, click Finish.
  10. Click Yes in the message box that appears, asking whether the Routing and Remote Access service should be started.

How to install the RIP routing protocol on a RRAS router

  1. Click Start, Administrative Tools, and then click Routing And Remote Access to open the Routing And Remote Access management console.
  2. In the console tree, expand the IP Routing node.
  3. Select the General subnode.
  4. From the Action menu, click the New Routing Protocol command.
  5. The New Routing Protocol dialog box opens.
  6. Select RIP Version 2 For Internet Protocol from the Routing Protocols list. Click OK.
  7. A RIP node is added beneath the IP Routing node in the console tree of the Routing And Remote Access console
  8. Select the RIP node in the console tree.
  9. From the Action menu, click the New Interface command.
  10. The New Interface For RIP Version 2 For Internet Protocol dialog box opens.
  11. Using the Interfaces list, select the interface which connects the computer to the LAN and then click OK.
  12. The RIP Properties dialog box for the interface which you have selected is displayed next.
  13. On the General tab, provide the following information:
    • Specify whether the RIP version 1 or RIP version 2 packet format must be used for outgoing messages.
    • Specify whether broadcasts or multicasts should be used.
    • Specify whether incoming messages using the RIP version 1 format; or RIP version 2 format; or whether both of these formats should be processed.
  14. Click the Advanced tab.
  15. Set the value in the Periodic Announcement Interval (Seconds) setting to 300 seconds. This is the frequency at which the router transmits RIP messages.
  16. Set the value in the Time Before Routes Expire (Seconds) setting to 1800 seconds.
  17. Set the value in the Time Before Route Is Removed (Seconds) setting to 1200 seconds.
  18. Click OK.

How to configure RRAS packet filters

Click Start, Administrative Tools, and then click Routing And Remote Access to open the Routing And Remote Access management console.

  1. Right-click the server in the console tree, and then select Configure And Enable Routing And Remote Access from the shortcut menu.
  2. The Routing and Remote Access Server Setup Wizard starts.
  3. Click Next on the initial page of the Routing and Remote Access Server Setup Wizard.
  4. Select the Custom Configuration option. Click Next
  5. Click LAN routing and then click Next.
  6. Click Finish.
  7. Click Yes to enable LAN routing.
  8. Proceed to enable the RIP Version 2 for Internet Protocol.
  9. Once RIP Version 2 is enabled, right-click RIP in the console tree, and then select New Interface from the shortcut menu.
  10. Select the interface.
  11. The default setting for RIP if you are running Windows Server 2003 is:
    • Outgoing packet protocol: dropdown list = RIP version 2 broadcast
    • Incoming packet protocol: dropdown list = RIP version 1 and 2
  12. The following configuration is recommended if you are using RIP version 2; and Ethernet as the transport medium:
    • Outgoing packet protocol: dropdown list = RIP version 2 multicast
    • Incoming packet protocol: dropdown list = RIP version 2 only
  13. Click OK.

How to disable the RIP routing protocol on the RRAS router

  1. Click Start, Administrative Tools, and then click Routing And Remote Access to open the Routing And Remote Access management console.
  2. In the console tree, select the server that you want to disable RRAS for.
  3. From the Action menu, click the Disable Routing And Remote Access command.
  4. Click Yes in the message box which is displayed, warning you that the RRAS router will be disabled.
  5. The Routing and Remote Access service is stopped.


Top 5 Free Networking Tools

Bookmark Understanding Routing

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.