RIP
RIP When redistributing routes into RIP, you need to configure two items: The routing protocol to redistribute into RIP The metric to use for the routes from the other routing protocol These items can be configured in one of two ways: Add the metric to the redistribution line. This will provide the same metric for all of the routes that are being redistributed with the redistribution line. Use the default-metric command with the simple metric to specify the metric for all routes being redistributed into RIP. You can then configure the redistribution line without the metric attached to it. The issue with this method is that all routes from all redistributions occurring on this router into RIP will have the same metric. Configuring Redistribution 339 So let’s take a look at how to configure these two different scenarios. We will start with including the metric with the redistribution line. Refer to Figure 10.7. We will configure one-way redistribution from IGRP AS 100 into RIP on R1: R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router rip R1(config-router)#redistribute igrp 100 metric 1 R1(config-router)#^Z R1# Now we will configure the same type of redistribution, but this time we will use the default-metric command: R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#router rip R1(config-router)#default-metric 1 R1(config-router)#redistribute igrp 100 R1(config-router)#^Z R1# That’s all there is to configuring basic redistribution into RIPv1 and RIPv2. If you do not specify a metric when redistributing into RIP, the default will be 0. Because RIP doesn’t understand a metric of 0, the routes will not be used. So you must specify a metric. We will cover the classless to classful redistribution issues a little later in this section.
150 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|