CISCO PT Simulation Experiment (16) Router redistribution configuration

Source: Internet
Author: User
Tags ccna study guide

CISCO PT Simulation Experiment (16) Router redistribution configuration

Experimental Purpose :

Learn how to configure router redistribution

Learn to see routes generated by routing redistribution learning

Experimental Background :

with the expansion of the company's network, the company installed a number of routers and run a variety of routing protocols, including the company 's export router R2 with a router outside the company R3 connection, three-layer switch and R2 run RIPV2 routing protocol, R 1 A static routing protocol is run between the R2 and theR2 and the OSPF routing protocol is run between the R3 . Now to do the appropriate configuration, the company's internal host and the company's external host to communicate with each other.

Technical Principle :

  • route redistribution (Route redistribution ): Refers to the implementation of multiple routing protocols within the same network to work together, the use of routing redistribution technology to achieve shared routing information between routers, a routing protocol routing through other means (may be Another route is broadcast through the selection protocol, static routes, or direct-connect routes , thus enabling network interoperability.

    • Note: In other places there are redistribution, redistribution and so on, in terms of time and description of accuracy, it is recommended to use "Routing redistribution."

  • Different routing protocols are not allowed to communicate with each other by default, so they need to be redistributed on a route-by-protocol.

  • Before redistributing, you need to fully understand the administrative distances and measures of different routing protocols, and specify the metrics when redistributing, so that you can achieve full network interoperability and select the optimal path.

      • The seed measure (seed Metric), which is defined in the routing redistribution, is an initial measure of a route that is redistributed from the outside. Each routing protocol has its own metrics, so it is necessary to convert the metrics to make them compatible when redistribution.

      • Administrative distance (AD, administrative Distance) refers to the routing confidence of a routing protocol. The lower the ad value, the higher its priority. For routing information between two different routing protocols to a destination, the router first determines which protocol to trust based on the administrative distance.


Experimental Equipment : ROUTER-PT 4 units, PC 3, straight line, crossover line, serial line.

Experimental topology :

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/A2/90/wKioL1mihIzgw2qJAABkG60Se9w397.png-wh_500x0-wm_ 3-wmp_4-s_1802288119.png "title=" 16.2.PNG "alt=" Wkiol1mihizgw2qjaabkg60se9w397.png-wh_50 "/>

Experimental steps:

New Cisco PT topology diagram

Set IP and gateway addresses for each PC, where the gateway address is the IP address of the routing interface, respectively

Basic configuration of each router within the topology (interface IP, clock frequency, etc.)--corresponding Router0/1/2/3.part1

Configure default static routes for Router1--corresponding Router1.part2

Configuring RIP dynamic routing for Router2--corresponding Router2.part2

configuring OSPF dynamic routing for Router3--corresponding Router3.part2

          Routing redistribution configuration in Router0  --  corresponds to Router0.part2, includes:

Configuring static routes on ROUTER0

Configuring RIP protocol redistribution on ROUTER0

Configuring the OSPF protocol redistribution on ROUTER0

View routing table information for ROUTER0


PC0 setting 192.168.1.2//subnet mask and gateway 255.255.255.0192.168.1.1

PC1 setting 192.168.2.2//subnet mask and gateway 255.255.255.0192.168.2.1

PC2 setting 192.168.6.2//subnet mask and gateway 255.255.255.0192.168.6.1
/*=part1  router1  Basic Configuration   */Router> Enablerouter#conf trouter (config) #inter  f0/0                  //configuration No. 0 Module No. 0 port (Fast Ethernet interface) Router (config-if) #ip  address  192.168.2.1 255.255.255.0router (config-if) #no  shutdownrouter (config-if) #exitRouter (config) #inter  serial 2/0           // Configure 2nd Module NO. 0 port (Serial interface) Router (config-if) #ip  address 10.254.10.2 255.255.255.0router (config-if) #no  shutdownrouter (config-if) #exit/*=part2   Default routing configuration   */router (config) #ip  route  0.0.0.0 0.0.0.0 10.254.10.1router (config) #^zrouter#show ip route 
/*=part1  router2  Basic Configuration   */router>enablerouter#conf trouter (config) #inter  f0/0                  //configuration No. 0 Module No. 0 port (Fast Ethernet interface) Router (config-if) #ip  address 192.168.3.2 255.255.255.0router ( CONFIG-IF) #no  shutdownrouter (config-if) #exitRouter (config) #inter  f1/0                  //configuration 1th Module No. 0 port (Fast Ethernet interface) Router (CONFIG-IF) #ip  address 192.168.1.1 255.255.255.0router (config-if) #no  shutdownrouter (config-if) #exit/* =part2  rip Dynamic Routing configuration   */router (config) #router  riprouter (config-router) #version  2                //using version 2, That is, the RIPV2 protocol router (config-router) #network  192.168.3.0     //Specifies the network that needs to be advertised (located in the routing interface) router ( Config-router) #network  192.168.1.0router (config-router) #^zrouter#show rrouter#show ip route 
/*=part1  router3  Basic Configuration   */Router> Enablerouter#conf trouter (config) #inter  f0/0                  //configuration No. 0 Module No. 0 port (Fast Ethernet interface) Router (config-if) #ip  address  192.168.4.2 255.255.255.0router (config-if) #no  shutdownrouter (config-if) #exitRouter (config) #inter  f1/0                  //configuration 1th Module No. 0 port (Fast Ethernet interface) Router (config-if) #ip  address 192.168.6.1 255.255.255.0router ( CONFIG-IF) #no  shutdownrouter (config-if) #exit/*=PART2  OSPF Dynamic routing configuration   */router (config) # Router ospf 1router (Config-router) #network  192.168.4.0 0.0.0.255 area 0router ( Config-router) #network  192.168.6.0 0.0.0.255 area 0router (config-router) #^ZRouter#show  rrouter#show ip route 
/*=part1  router0  Basic Configuration   */router>enablerouter#conf trouter (config) #inter  f0/0                  //configuration No. 0 Module No. 0 port (Fast Ethernet interface) Router (config-if) #ip  address 192.168.3.1 255.255.255.0router ( CONFIG-IF) #no  shutdownrouter (config-if) #exitRouter (config) #inter  f1/0                  //configuration 1th Module No. 0 port (Fast Ethernet interface) Router (CONFIG-IF) #ip  address 192.168.4.1 255.255.255.0router (config-if) #no  shutdownrouter (config-if) # Exitrouter (config) #interface  serial 2/0       // Configure 2nd Module NO. 0 port (Serial interface) Router (config-if) #ip  address 10.254.10.1 255.255.255.0router (config-if) #clock  rate 64000        //must be configured with a clock to communicate router (config-if) #no   Shutdownrouter (config-if) #exit/*=part2   Routing RedistributionConfigure   *///Static routing configuration (R0-R1) Router (config) #ip  route 192.168.2.0 255.255.255.0  10.254.10.2//rip protocol Redistribution (R0-R2) Router (config) #router  rip router (config-router) #version  2router ( Config-router) #network  192.168.3.0        //Specify the network to advertise (located in the RIP routing interface) Router (config-router) #redistribute  connected metric 1    // Redistribute a direct route to Riprouter (config-router) #redistribute  static metric 2        //redistribution static routes to Riprouter (config-router) #redistribute  ospf 1 metric 3        //redistribution of OSPF routes to Riprouter (Config-router) #exit//OSPF Protocol redistribution (R0-R3) Router (config) #router  ospf 1              // Enable OSPF protocol, subordinate OSPF process id=1//specify notification network, and belong to OSPF area id=0router (config-router) #network  192.168.4.0 0.0.0.255  Area 0router (config-router) #redistribute  connected subnets     //redistribution of Direct connect routes to Ospfrouter (config-router) #redistribute  static  subnets        //redistribution of static routes to Ospfrouter (Config-router) #redistribute  rip subnets           //re-distributing RIP to ospfrouter# show rrouter#show ip route//3 Direct-attached routes within the routing table, with 1 static, RIP, and OSPF dynamic routes
# Link Test PC0 (Command prompt cmd) ping 192.168.3.1//link ping 192.168.4.2//link ping 192.168.2.2 Link-through PC3 (Command prompt cmd) ping 192.168.1.2//link ping 192.168.6.2//link-pass


Lab environment: Windows 7,cisco PT 7.0

Reference: CCNA Study Guide (7th edition)

[1] Shen Shizong. The simulation implementation of Route redistribution in Packet Tracer. Computer programming skills and maintenance, 2017 (13): 66-68.


CISCO PT Simulation Experiment (16) Router redistribution configuration

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.