Digi TS 2/4, TS 4 manual About RIP Routing Updates

Page 49

About RIP Routing Updates

Introduction

RIP defines a method for propagating routing information among routers. It provides IP software with the information needed to make intelligent routing decisions.

The information, passed in RIP updates packets from router-to-router, consists of two items, a network ID and a hop count. A hop count is the number of routers through which a packet must pass on its way from a source to a destination network.

RIP Example

In the example that follows, Router R1 “advertises” (using RIP) that it can reach Net 1 in one hop. When Router R2 receives this advertisement, it then knows that since it is on a common network with R1 that it can reach Net 1 in two hops. It advertises this fact to other routers in the network, who use this information to calculate their own routes to Net 1.

Net 1

R1

Net 2

R2

Net 3

Net 4

R3

Problem with RIP: Sending Updates Across a WAN

RIP can be an expensive way to handle routing if RIP updates are regularly sent across lines that charge by traffic volume or usage time. Neither of these, of course, applies to LANs or leased lines. Because of these cost considerations, Digi One/PortServer TS 2/4 lets you turn RIP off on some or all serial links.

Problem with RIP: Slow Convergence

Slow convergence is a problem that can arise from the method RIP uses to disseminate routing information. In the preceding figure,

1.R1 advertises that it can reach Net 1 in one hop.

2.R2 then advertises that it can reach Net 1 in two hops

3.R3 then advertises that it can reach Net 1 in three hops.

What happens if R1’s link to Net 1 goes down? First it realizes that its one-hop route to Net 1 is no longer available. But it hears that R2 can reach Net 1 in two hops, so it updates its routing table to say it can reach Net 1 in three hops, the one hop to R2 and the two hops R2 says it needs to reach Net 1.

R1 then advertises that it can reach Net 1 in three hops. R2 hears the advertisement and realizes that if R1 needs three hops to get to Net 1 then it needs to update its own routing tables to reflect that fact, because it knows that its route to Net 1 is always one more hop than R1 requires. Consequently, it updates its routing tables to say that it can reach Net 1 in four hops. This can go on until the hop count to Net 1 reaches 16, which RIP defines as an unreachable destination.

Combatting RIP’s Slow Convergence Problem

There are two methods to combat RIP’s slow convergence problem, both of which Digi

One/PortServer TS 2/4 implements.

The first is called “split horizon,” which stipulates that learned routes are not propagated from the interface on which they are learned. Had split horizon been used in the preceding example, R2 would not have advertised to R1 that it could reach Net 1. Consequently, R1 would never have

Configuring IP Routing

9-3

Image 49
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page This Chapter IntroductionSetup Overview About This Guide About Entering Commands on the Command LineSupported Devices Other Documents in the Library Access Resource CD CardDownloading a Configuration File About Configuration MethodsLogging On As Root from the Command Line Configuration PrerequisitesAccessing the Command Line from a Telnet Session Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options Options for Configuring the IP Address and MaskProcedure Configuring the Ethernet Interface with DPA-RemoteStarting Point Configuring the IP Address Using Ping-ARP Configuring an IP Address using Dhcp and Rarp Configuring the Ethernet Interface from the Command LineManual Configuration Procedure Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort Configuring the RealPort Software What is RealPort?Configuration Options About RealPortConfiguring Ports Web Interface Example Configuring Ports for RealPort Command LineConfiguring Ports for Printers Configuration Considerations Configuring Printer Connections Command Line Configuring Ports for Printers Web InterfaceTips for telnet and rsh Printing Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Configuring Ports for Terminals Command Line Configuring Ports for Terminals Web InterfacePort Defaults About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Autoconnection Configuring Autoconnection By Port Command Line Configuring a Port for Autoconnection Web InterfaceAbout Autoconnection Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Introduction to Routing What is RoutingTypes of Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using the Ethernet Interface Configuring Static RoutesExample Route Using a PPP Link Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management Configuring Console Management Command Line Configuring Console Management Web InterfaceAbout Console Management Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Configuring a Port-Connected Master Configuring Network-Connected MastersExamples Configuring Security Features Default Access Restrictions Controlling Access to Inbound PortsOptions for Removing Access Restriction Procedure for Changing a Port’s Access RequirementsDefault Access Controlling Access to Outbound PortsRestricting Access to Outbound Ports Method 1 AutoconnectionIssuing User Passwords Password Protection Configuring SSH Version 2 for Secure CommunicationUsing a Public Key 12-6 Configuring DNS About the Domain Name System Procedure for Using a Name Server Configuration ProceduresProcedure for Using a Host File 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Procedure Command Line Configuration Procedure Web InterfaceConfiguration Example 14-4 Configuring Users Common User Features About Configuring UsersConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineWhen To Use Remote Configuration Configuring Digi One/PortServer TS 2/4 from a Remote HostRules for Editing a Configuration file Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Configuration Terminal Server Configuration Without RealPortConfiguration Notes IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Procedures Symptom Digi One/PortServer TS 2/4 Does Not BootAssumptions Symptom Cannot Telnet to the Digi One/PortServer TS 2/4Running Digi One/PortServer TS 2/4 Customer Diagnostics Symptom Trouble Accessing a PortKey to Interpreting Digi One/PortServer TS 2/4 LEDs Troubleshooting Tftp ProblemsVerifying Tftp on a Unix System Kill -1inetdPID Checking for Duplicate IP Addresses Verifying the Digi One/PortServer TS 2/4 IP AddressPinging an IP Address Verifying the Network Cabling AIX Verifying the RealPort Process Verifying the RealPort ProcessHP-UX Verifying the RealPort Process Linux Verifying the RealPort ProcessWindows 2000 Verifying the RealPort Service Windows NT Verifying the RealPort ServiceSolaris Verifying the RealPort Process Digi International Bren Road East Minnetonka, MN Digi Contact Information18-12