Cisco technology big collection-route reallocation Technology

Source: Internet
Author: User

This article describes in detail the basic configuration of the route redistribution technology, as well as the application of OSPF and RIP technology. The following article gives a detailed introduction.

In practice, we will encounter a network that uses multiple IP routing protocols. To make the entire network work normally, routes must be successfully distributed among multiple routing protocols.

The following is an example of how to re-allocate routes between OSPF and RIP:

Run OSPF on ports 0 of Router1 and Serial 0 of Router2, RIP 2 on port 0 of Router1, and RIP2 on Router3, router2 has a static route pointing to Router4's 192.168.2.0/24 network. Router4 uses the default static route. OSPF and RIP routes need to be re-allocated between Router1 and Router3, and static routes and directly connected routes need to be re-allocated on Router2.

Commands involved in the example

Task commands

Redistribute connected

Redistribute static

Re-allocate the ospf route redistribute ospf process-id metric-value

Re-allocate the rip route redistribute rip metric-value

Router1:

Interface ethernet 0

Ip address 192.168.1.1 255.255.255.0

!

Interface serial 0

Ip address 192.200.10.5 255.255.255.252

!

Router ospf 100

Redistribute rip metric 10

Network 192.200.10.4 0.0.3 area 0

!

Router rip

Version 2

Redistribute ospf 100 metric 1

Network 192.168.1.0

!

Router2:

Interface loopback 1

Ip address 192.168.3.2 255.255.255.0

!

Interface ethernet 0

Ip address 192.168.0.2 255.255.255.0

!

Interface serial 0

Ip address 192.200.10.6 255.255.255.252

!

Router ospf 200

Redistribute connected subnet

Redistribute static subnet

Network 192.200.10.4 0.0.3 area 0

!

Ip route 192.168.2.0 255.255.255.0 192.168.0.1

!

Router3:

Interface ethernet 0

Ip address 192.168.1.2 255.255.255.0

!

Router rip

Version 2

Network 192.168.1.0

!

Router4:

Interface ethernet 0

Ip address 192.168.0.1 255.255.255.0

!

Interface ethernet 1

Ip address 192.168.2.1 255.255.255.0

!

Ip route 0.0.0.0 0.0.0.0 192.168.0.2

!

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.