Configuring RIP

RIP is the default routing protocol assigned to the interfaces of most routers in the model library. Because of scalability issues, RIP is not typically used in the core of large networks; however, it is common in smaller installations, or in portions of larger networks. One reason for this is that RIP is easy to configure. This is reflected in the RIP model library, which has few parameters to configure.

Attributes for configuring RIP are grouped together under the RIP Parameters compound attribute. All of the attributes described in the rest of this section are sub-attributes of RIP Parameters. Most RIP attributes can be left in their default values; however, you may wish to perform some of the following steps to configure RIP for your network model:

  1. Ensure that RIP is one of the routing protocols specified for all appropriate interfaces in your routers’ IP > IP Routing Parameters > Interface Information > Routing Protocols attribute. See the Chapter 14 “IP” on page 1 for instructions on how to do this.

  2. Configure the timers associated with RIP using the Timers compound attribute. The Timers attribute includes an Update Interval timer that controls how often the router sends RIP updates. The remaining timers control route aging. You can change the standard settings that control aging out stale routes. The Route Invalid attribute controls when a route is essentially disabled by assigning it a cost of infinity. This happens if a route has been present in the routing table for a time equal to the attribute value, and no additional updates for that destination have been received. When the last update is received, another timer is started and if the amount of time specified in the Flush attribute elapses without an update for the destination of interest, the route is removed from the table altogether.

  3. Configure the RIP Version and related attributes—the model supports both version 1 (RIPv1) and version 2 (RIPv2). You can configure the RIP version on a router-wide basis in the Version attribute or on a per-interface basis in the IP Routing Protocols > RIP Parameters > Interface Information > Send Version and Receive Version attributes. To use the router-wide settings, set the interface attributes to Default. If a router is configured to send RIPv2 advertisements, you can enable or disable auto-summary. When the IP Routing Protocols > RIP Parameters > Interface Information > Send Version is set to version 1 and 2, the Send Style attribute specifies how the router sends out RIP updates: it can broadcast a RIPv2 packet per RFC 2453, or it can multicast a RIPv2 packet and broadcast a RIPv1 packet.

  4. Additional attributes are available for detailed modeling on a per-interface basis. These attributes allow you to control interface cost, whether passive mode is enabled, triggered extension, and split horizon. If desired, you can set these parameters in the Interface Information table.

  5. Configure RIP activity period. For the purposes of simulation, you may or may not want RIP to be active throughout the period you are studying. If RIP traffic overhead and/or RIP behavior is of interest, you should allow RIP to remain active. However, if these issues are not key to your simulation project, you can save simulation time by shutting down RIP activity once stable routes have been established. This is controlled by two simulation attributes, RIP Sim Efficiency and RIP Stop Time. To use this feature, make sure that RIP Sim Efficiency is set to “Enabled” and RIP Stop Time is set to when you want RIP activity to end.

    RIP activity should not start too early in the network simulation because other critical network functions must be established to transport RIP packets. Namely, layer 2 functionality of the Spanning Tree Bridge protocol must converge on a stable logical topology before RIP packets are sent. Otherwise, RIP will not successfully transmit its initial routing updates and routing will not be possible until at least one “RIP Update Interval” later (typically 30 seconds). Use the Routing Protocols > RIP Parameters > Start Time attribute on each node and Stop Time simulation attribute to control the duration of this period. However, it is recommended to set the Start Time to at least the default of 5 seconds.