Re-publishing of RIP and EIGRP routes

Source: Internet
Author: User
Tags config

There is a need to exchange routing tables between different dynamic routing protocols, and to route and redistribute them.

Open the CD with the book in the 6th chapter of the exercise "RIP and EIGRP routing again. PKT", the network topology is shown in Figure 6-23. Routers and computers in the network have been configured to perform the address configuration shown in the diagram. Router0 and Router1 ran the RIPv2, and the automatic rollup was turned off, Router1 and Router2 ran the EIGRP protocol.

You need to configure Router1 to eigrp the route that is learned by the protocol to ROUTER0 via RIP protocol, and configure Router1 to RIPv2 the route that is learned by EIGRP protocol to Router2.

▲ Diagram 6-23 The network topology of RIP and EIGRP routing republishing

Action steps are as follows.

(1) Run the show ip route command on the Router1 to view the routing table.

Router1#show IP route

Gateway of last resort are not set

10.0.0.0/30 is subnetted, 2 subnets

C 10.0.0.0 is directly connected, serial3/0

C 10.0.0.4 is directly connected, serial2/0

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks

R 172.16.0.0/24 [120/1] via 10.0.0.1, 00:00:26, serial3/0

R 172.16.1.0/24 [120/1] via 10.0.0.1, 00:00:26, serial3/0

R 172.16.2.0/24 [120/1] via 10.0.0.1, 00:00:26, serial3/0

D 192.168.0.0/24 [90/20514560] via 10.0.0.6, 00:35:10, serial2/0

You can see that the routing table in Router1 includes the routes learned through the RIP protocol and the routes learned through the EIGRP protocol.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

(2) View the routing table on the Router0.

Router0#show IP route

Gateway of last resort are not set

10.0.0.0/30 is subnetted, 2 subnets

C 10.0.0.0 is directly connected, serial2/0

R 10.0.0.4 [120/1] via 10.0.0.2, 00:00:14, serial2/0

172.16.0.0/24 is subnetted, 3 subnets

C 172.16.0.0 is directly connected, fastethernet0/0

C 172.16.1.0 is directly connected, fastethernet1/0

C 172.16.2.0 is directly connected, fastethernet6/0

You can see that Router1 did not notify Router0 through the RIP protocol of the routes it learned through EIGRP.

(3) View the routing table on the Router2.

You can also see that Router1 did not communicate the route it learned through rip through the EIGRP protocol to Router2.

(4) Configure the EIGRP to be released to rip on the Router1.

Router1#config T

Router1 (config) #router rip

Router1 (config-router) #redistribute eigrp metric?

<0-16> Default Metric

Transparent transparently redistribute metric

Router1 (config-router) #redistribute EIGRP metric 3

The last command translates the route metrics learned by the EIGRP protocol into the RIP Protocol's measure 3.

(5) The ROUTER1 is configured to publish RIP to EIGRP.

Router1 (config) #router EIGRP 10

Router1 (config-router) #redistribute RIP metric 10000 100 255 1 1500

The last command converts a rip-learned route metric to a EIGRP measure. which

10000: Is the bandwidth, Unit is kb/s;

100: Is the delay, the unit is 10US;

255: Is the reliability, the value can be 0~255,255 is 100% reliable;

1: Is the load, the value can be 1~255,255 is 100% load, namely the network will be blocked;

1500: is the maximum Transmission Unit (MTU), the unit is 8 bit bytes.

(6) View the routing table on the Router0.

Router0#show IP route

Gateway of last resort are not set

10.0.0.0/30 is subnetted, 2 subnets

C 10.0.0.0 is directly connected, serial2/0

R 10.0.0.4 [120/1] via 10.0.0.2, 00:00:04, serial2/0

172.16.0.0/24 is subnetted, 3 subnets

C 172.16.0.0 is directly connected, fastethernet0/0

C 172.16.1.0 is directly connected, fastethernet1/0

C 172.16.2.0 is directly connected, fastethernet6/0

R 192.168.0.0/24 [120/3] via 10.0.0.2, 00:12:34, serial2/0

--learned the route to redistribute

(7) View the routing table on the Router2.

Router2#show IP route

Gateway of last resort are not set

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

D 10.0.0.0/8 is a summary, 01:04:04, Null0

D 10.0.0.0/30 [90/21024000] via 10.0.0.5, 01:04:04, serial3/0

C 10.0.0.4/30 is directly connected, serial3/0

172.16.0.0/24 is subnetted, 3 subnets

D EX 172.16.0.0 [170/20537600] via 10.0.0.5, 00:07:39, serial3/0

--again-published route

D EX 172.16.1.0 [170/20537600] via 10.0.0.5, 00:07:39, serial3/0

--again-published route

D EX 172.16.2.0 [170/20537600] via 10.0.0.5, 00:07:39, serial3/0

--again-published route

C 192.168.0.0/24 is directly connected, fastethernet0/0

You can see that the routing at the beginning of D ex is the EIGRP external route, which is the route that RIP publishes to EIGRP, and the management distance is 170.

(8) Ping the PC2 on the PC0, test the network is not pass.

Pc>ping 192.168.0.2

(9) Cancel the redistribution on the Router1.

Router1 (config) #router EIGRP 10

Router1 (config-router) #no redistribute Rip--cancel eigrp to rip release

Router1 (config) #router rip

Router1 (config-router) #no redistribute EIGRP 10--Canceling RIP to EIGRP publishing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.