Load balancing with RIP
Saturday, August 13, 2011
Preventing routing updates through an interface
Preventing routing updates through an interface
7.2.7 This page will teach students how to prevent routing updates.
Route filtering regulates the routes that are entered into or advertised out of a route table. These have different effects on link-state routing protocols than they do on distance vector protocols. A router that runs a distance vector protocol advertises routes based on what is in its route table. As a result, a route filter influences which routes the router advertises to its neighbors.
Routers that run link-state protocols determine routes based on information in the link-state database, rather than the route entries advertised by neighbor routers. Route filters have no effect on link-state advertisements or the link-state database. For this reason, the information on this page only applies to distance vector IP routing protocols such as RIP and IGRP.
The passive-interface command prevents the transmission of routing updates through a router interface. When update messages are not sent through a router interface, other systems on the network cannot learn about routes dynamically. In Figure , Router E uses the passive-interface command to prevent routing updates from being sent.
For RIP and IGRP, the passive-interface command stops the router from sending updates to a particular neighbor, but the router continues to listen and use routing updates from that neighbor.
The Lab Activities will instruct students on how to prevent routing updates through an interface.
The next page will explain the concept of load balancing.
Troubleshooting RIP update issues
Troubleshooting RIP update issues
7.2.6 This page will teach students how to troubleshoot RIP update issues.
Most of the RIP configuration errors involve an incorrect network statement, discontiguous subnets, or split horizons. An effective command that is used to find RIP update issues is the debug ip rip command.
The debug ip rip command displays RIP routing updates as they are sent and received. The example in Figure shows the output from the debug ip rip command after a router receives a RIP update. After the router receives and processes the update, it sends the updated information out its two RIP interfaces. The output shows the router uses RIP v1 and broadcasts the update with the broadcast address 255.255.255.255. The number in parenthesis represents the source address encapsulated into the IP header of the RIP update.
There are several key indicators to look for in the output of the debug ip rip command. Problems such as discontiguous subnetworks or duplicate networks can be diagnosed with this command. A symptom of these issues would be a router that advertises a route with a metric that is less than the metric it received for that network.
The following commands can also be used to troubleshoot RIP:
• show ip rip database
• show ip protocols {summary}
• show ip route • debug ip rip {events}
• show ip interface brief The next page will introduce the command that is used to prevent routing updates
Verifying RIP configuration
Verifying RIP configuration
7.2.5 This page will describe several commands that can be used to verify that RIP is properly configured. Two of the most common are the show ip route command and the show ip protocols command.
The show ip protocols command shows which routing protocols carry IP traffic on the router. This output can be used to verify most if not all of the RIP configuration. Some of the most common configuration items to verify are as follows:
• RIP routing is configured.
• The correct interfaces send and receive RIP updates.
• The router advertises the correct networks.
The show ip route command can be used to verify that routes received by RIP neighbors are installed in the routing table. Examine the output of the command and look for RIP routes signified by "R". Remember that the network will take some time to converge so the routes may not appear immediately.
Additional commands to check RIP configuration are as follows:
• show interfaceinterface
• show ip interfaceinterface
• show running-config The next page discusses some commands that can be used to troubleshoot RIP.
Monday, May 9, 2011
Common RIP configuration issues
Common RIP configuration issues
7.2.4
This page will provide some more information about the methods that are used to reduce routing loops.RIP routers must rely on neighbor routers for some types of network information. A common term used to describe this functionality is Routing by Rumor. RIP uses a distance vector routing algorithm. All distance vector routing protocols have issues that are primarily created by slow convergence. Convergence is when all routers in a network have the same routing information.
Among these issues are routing loops and counting to infinity. These result in inconsistencies due to update messages with incorrect routes that are propagated around the network.
To reduce routing loops and counting to infinity, RIP uses the following techniques:
- Split horizon
- Poison reverse
- Holddown counters
- Triggered updates
RIP permits a maximum hop count of 15. Any destination greater that 15 hops away is tagged as unreachable. This maximum hop count greatly restricts the use of RIP in large internetworks but prevents counts to infinity and endless network routing loops.
The split horizon rule is based on the theory that it is not useful to send information about a route back in the direction from which it came. In some network configurations, it may be necessary to disable split horizon.
The following command is used to disable split horizon:
GAD(config-if)#no ip split-horizon
The holddown timer is another mechanism that may need to be configured. Holddown timers help prevent counting to infinity but also increase convergence time. The default holddown for RIP is 180 seconds. This will prevent any inferior route from being updated but may also prevent a valid alternative route from being installed. The holddown timer can be decreased to speed up convergence but should be done with caution. Ideally, the timer should be set just longer than the longest possible update time for the internetwork. In the example in Figure Use the following command to change the holddown timer as well as the update, invalid, and flush timers:
Router(config-router)#timers basicupdate invalid holddown flush [sleeptime ]
Another configurable item that affects convergence time is the update interval. The default RIP update interval in Cisco IOS is 30 seconds. This can be configured for longer intervals to conserve bandwidth, or for shorter intervals to decrease convergence time.Another issue with routing protocols is the unwanted advertisement of routing updates out a particular interface. When a network command is issued for a given network, RIP will immediately begin to send advertisements out all interfaces within the specified network address range. A network administrator can use the passive-interface command to disable routing updates on specified interfaces.
Because RIP is a broadcast protocol, the network administrator may have to configure RIP to exchange routing information in a non-broadcast network such as Frame Relay. In this type of network, RIP must be informed of neighbor RIP routers. To do this use the neighbor command displayed in Figure
By default, the Cisco IOS software receives RIP Version 1 and Version 2 packets, but sends only Version 1 packets. The network administrator can configure the router to only receive and send Version 1 packets or the administrator can configure the router to send only Version 2 packets. To configure the router to send and receive packets from only one version, use the commands in Figure
To control how packets received from an interface are processed, use the commands in Figure
The next page will show students how to verify a RIP configuration.
Using the ip classless command
Using the ip classless command
7.2.3
This page will explain what the ip classless command is and how it is used.Sometimes a router receives packets destined for an unknown subnet of a network that has directly connected subnets. Use the ip classless global configuration command to instruct the Cisco IOS software to forward these packets to the best supernet route. A supernet route is a route that covers a greater range of subnets with a single entry. For example, if an enterprise uses the entire subnet 10.10.0.0 /16, then a supernet route for 10.10.10.0 /24 would be 10.10.0.0 /16. The ip classless command is enabled by default in Cisco IOS Software Release 11.3 and later. To disable this feature, use the no form of this command.
When this feature is disabled any packets received that are destined for a subnet that falls within the subnetwork addressing scheme of the router will be discarded.
IP classless only affects the operation of the forwarding processes in IOS. IP classless does not affect the way the routing table is built. This is the essence of classful routing. If one part of a major network is known, but the subnet toward which the packet is destined within that major network is unknown, the packet is dropped.
The most confusing aspect of this rule is that the router only uses the default route if the major network destination does not exist in the routing table. A router by default assumes that all subnets of a directly connected network should be present in the routing table. If a packet is received with an unknown destination address within an unknown subnet of a directly attached network, the router assumes that the subnet does not exist. So the router will drop the packet even if there is a default route. To resolve this problem, configure ip classless on the router. This allows the router to ignore the classful boundaries of the networks in its routing table and simply route to the default route.
The Lab Activity will help students become more familiar with the ip classless command.
The next page describes some methods that are used to reduce routing loops.
Sunday, May 1, 2011
RIP Configuring
RIP Configuring
7.2.2 This page will explain how RIP is configured.The router rip command enables RIP as the routing protocol. The network command is then used to tell the router on which interfaces to run RIP. The routing process associates specific interfaces with the network addresses and begins to send and receive RIP updates on these interfaces.
RIP sends routing-update messages at regular intervals. When a router receives a routing update that includes changes to an entry, it updates its routing table to reflect the new route. The received metric value for the path is increased by 1, and the source interface of the update is indicated as the next hop in the routing table. RIP routers maintain only the best route to a destination but can maintain multiple equal-cost paths to the destination. Most routing protocols use a combination of time-driven and event-driven updates. RIP is time-driven, but the Cisco implementation of RIP sends triggered updates whenever a change is detected. Topology changes also trigger immediate updates in IGRP routers, regardless of the update timer. Without triggered updates, RIP and IGRP will not perform. After updating its routing table due to a configuration change, the router immediately begins transmitting routing updates in order to inform other network routers of the change. These updates, called triggered updates, are sent independently of the regularly scheduled updates that RIP routers forward. The descriptions for the commands used to configure router BHM shown in the figure are as follows:
- BHM(config)#router rip – Selects RIP as the routing protocol
- BHM(config-router)#network 10.0.0.0 – Specifies a directly connected network
- BHM(config-router)#network 192.168.13.0 – Specifies a directly connected network
RIP must be enabled and the networks must be specified. All other tasks are optional. These optional tasks include the following:
- Apply offsets to routing metrics
- Adjust timers
- Specify a RIP version
- Enable RIP authentication
- Configure route summarization on an interface
- Verify IP route summarization
- Disable automatic route summarization
- Run IGRP and RIP concurrently
- Disable the validation of source IP addresses
- Enable or disable split horizon
- Connect RIP to a WAN
- Router(config)#router rip – Enables the RIP routing process
- Router(config-router)#networknetwork-number – Associates a network with the RIP routing process
The next page will introduce the ip classless command
Subscribe to:
Comments (Atom)




