Re-publish routes between IGRP, VPN, and OSPF

Source: Internet
Author: User


During the re-release of routes between IGRP, OSPF, and OSPF, I don't know what I am busy with. I 've been writing this article for a week. I don't know how to take the test in March /, main contents of this experiment: 1) Release of the classless and classless networks; 2) re-release between various routing protocols. (3) The S0/0 of R1 and R2 are used as follows: the S0/1 of R2 and the S0/0 of R3 are OSPF, And the loopback port of R3 is IGRP.


 

Specific process of www.2cto.com: Router> enRouter # con tRouter (config) # hostname R1R1 (config) # int loopback 1R1 (config-if) # ip add 10.1.1.1 255.255.255.0R1 (config-if) # no shR1 (config-if) # exitR1 (config) # int s0/0R1 (config-if) # ip add 2.2.2.1 255.255.255.0R1 (config-if) # no shR1 (config-if) # exitR1 (config) # router VPN 100R1 (config-router) # net 10.1.1.0R1 (config-router) # net 2.2.2.0R1 (config-router) # exitR1 (config) # exitR1 # show ip routeCodes: C-connected, S-static, I-IGRP, R-RIP, M-mobile, B-BGP D-VPN, EX-OSPF external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, E2-OSPF external type 2, E-EGP I-IS, l1-IS level-1, L2-IS level-2, *-candidate default U-per-user static route www.2cto.com Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1 subnetsC 10.1.1.0 is directly connected, Loopback1 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Serial0 3.0.0.0/16 is subnetted, 1 subnetsD 3.3.0.0 [90/3015680] via 2.2.2.2, 00:14:25, Serial0 255.0.0.0/16 is subnetted, 1 subnetsD route 1.0.0 [90/3015680] via 2.2.2.2, 00:12:29, Serial0 Router> enRouter # con tRouter (config) # host R2R2 (config) # int s0/0R2 (config-if) # ip add 2.2.2.2 255.255.255.0R2 (config-if) # clock rate 64000R2 (config-if) # no shR2 (config-if) # exitR2 (config) # int s0/1R2 (config-if) # ip add 3.3.3.1 255.255.0.0R2 (config-if) # clock rate 64000R2 (config-if) # no shR2 (config-if) # exitR2 (config) # route ospf 200R2 (config-router) # net 3.3.0.0 0.0.255.255 area 0R2 (config-router) # exitR2 (config) # route VPN 100R2 (config-router) # net 2.2.2.0R2 (config-router) # exitR2 (config) # exitR2 # show ip routeCodes: C-connected, S-static, I-IGRP, R-RIP, M-mobile, b-BGP D-OSPF, EX-OSPF external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, E2-OSPF external type 2, e-EGP I-IS, L1-IS-level-1, L2-IS level-2, *-candidate default U-per-user static route www.2cto.com Gateway of last resort is not set 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Serial0 3.0.0.0/16 is subnetted, 1 subnetsC 3.3.0.0 is directly connected, Serial1R2 # con tEnter configuration commands, one per line. end with CNTL/Z. r2 (config) # route VPN 100R2 (config-router) # redistribute ospf 200 metric 1000 100 100 100 100R2 (config-router) # exitR2 (config) # route ospf 200R2 (config-router) # redistribute ospf 100R2 (config-router) # redistribute igrp 100R2 (config-router) # exitR2 (config) # exitR2 # con tR2 (config) # route ospf 100R2 (config-router) # redistribute OSPF 200 metric 1000 100 100 100 100 publish ospf to OSPF R2 (config-router) # exitR2 (config) # route ospf 200R2 (config-router) # redistribute ospf 100R2 (config-router) # exitR2 (config) # exitR2 # show ip routeCodes: C-connected, S-static, i-IGRP, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, e2-OSPF external type 2, E-EGP I-IS, L1-IS level-1, L2-IS level-2, *-candidate default U-per-user static route www.2cto.com Gateway of last resort is not set 3.0.0.0/16 is subnetted, 1 subnetsC 3.3.0.0 is directly connected, Serial1 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Serial0 10.0.0.0/24 is subnetted, 1 subnetsD 10.1.1.0 [90/1628160] via 2.2.2.1, 00:02:08, Serial0R2 # show ip route
Codes: C-connected, S-static, I-IGRP, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, E2-OSPF external type 2, E-EGP I-IS, L1-IS level-1, l2-IS level-2, *-candidate default U-per-user static routeGateway of last resort is not set 3.0.0.0/16 is subnetted, 1 subnetsC 3.3.3.0.0 is directly connected, serial1 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Serial0 10.0.0.0/24 is subnetted, 1 subnetsD 10.1.1.0 [90/1628160] via 2.2.2.1, 00:22:05, Serial0 255.0.0.0/16 is subnetted, 1 subnetsO route 1.0.0 [110/64] via 3.3.3.2, 00:19:53, Serial1 Router> enRouter # con tRouter (config) # host R3R3 (config) # int loopback 1R3 (config-if) # ip add route 1.1.1 restart before 0.0r3 (config-if) # no shR3 (config-if) # exitR3 (config) # int s0/0R3 (config-if) # ip add 3.3.3.2 route 00000.0r3 (config-if) # no sh www.2cto.com R3 (config-if) # exitR3 (config) # route igrp 100R3 (config-router) # net route 1.0.0r3 (config-router) # exitR3 (config) # route ospf 200R3 (config-router) # net 3.3.0.0 0.0.255.255 area 0R3 (config-router) # exitR3 (config) # exitR3 # show ip route
Codes: C-connected, S-static, I-IGRP, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, E2-OSPF external type 2, E-EGP I-IS, L1-IS level-1, l2-IS level-2, *-candidate default U-per-user static routeGateway of last resort is not set 255.0.0.0/16 is subnetted, 1 subnetsC 255.1.0.0 is directly connected, loopback1 3.0.0.0/16 is subnetted, 1 subnetsC 3.3.0.0 is directly connected, Serial0R3 # con tR3 (config) # route ospf 200R3 (config-router) # redistribute igrp 100R3 (config-router) # exitR3 (config) # route igrp 100R3 (config-router) # redistribute ospf 200 metric 1000 100 100 100 100R3 (config-router) # exitR3 (config) # exitR3 # show ip route
Codes: C-connected, S-static, I-IGRP, R-RIP, M-mobile, B-BGP D-VPN, EX-VPN external, O-OSPF, IA-OSPF inter area E1-OSPF external type 1, E2-OSPF external type 2, E-EGP I-IS, L1-IS level-1, l2-IS level-2, *-candidate default U-per-user static route www.2cto.com Gateway of last resort is not set 255.0.0.0/16 is subnetted, 1 subnetsC 255.1.0.0 is directly Connected, Loopback1 3.0.0.0/16 is subnetted, 1 subnetsC 3.3.0.0 is directly connected, Serial0 2.0.0.0/16 is subnetted, 1 subnetsO 2.2.0.0 [110/64] via 3.3.3.1, 00:00:48, serial0 10.0.0.0/16 is subnetted, 1 subnetsO 10.1.0.0 [110/64] via 3.3.3.1, 00:00:48, Serial0R3 # ping 10.1.1.1Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 MS author

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.