Rip (CISCO) for OSPF advanced applications)

Source: Internet
Author: User


Rip (CISCO) Case 2 of OSPF advanced applications: 1. job Requirements: & lt; 1 communication method between networks running ospf and rip: Route redistribution and injection default route & lt; 2 configure the peripheral region & lt; 3. Configure the complete peripheral area. 2. topology

3. the device configuration is as follows: R1 (config) # line console 0R1 (config-line) # logging SYNchronousR1 (config-line) # exec-timeout 0 0R1 (config) # int s1/0R1 (config-if) # ip add 192.168.2.1 255.255.255.0R1 (config-if) # no shut www.2cto.com R1 (config-if) # int loopback 1R1 (config-if) # ip add 192.168.1.1 255.255.255.0R1 (config) # router ospf 223 R1 (config-router) # network 192.168.1.0 0.0.255 area 1R1 (config-router) # network 192.168.2.0 0.0.0. 255 area 1R2 (config) # int s1/0R2 (config-if) # ip add 192.168.2.2 255.255.255.0R2 (config-if) # no shutR2 (config-if) # int s1/1R2 (config-if) # ip add 192.168.3.1 255.255.255.0R2 (config-if) # no shutR2 (config-router) # int s1/3R2 (config-if) # ip add 192.168.6.1 255.255.255.0R2 (config-if) # no shutR2 (config-if) # router ospf 223R2 (config-router) # net 192.168.2.0 0.0.0.255 area 1R2 (config-router) # net 192.168.3.0 0.0.0.255 Area 0R2 (config-if) # router ripR2 (config-router) # network 192.168.6.0R3 (config) # int s1/1 R3 (config-if) # ip add 192.168.3.2 255.255.255.0R3 (config-if) # no shutR3 (config-if) # int s1/2R3 (config-if) # ip add 192.168.4.1 255.255.255.0R3 (config-if) # no shutR3 (config) # router ospf 223R3 (config-router) # network 192.168.3.0 0.0.255 area 0R3 (config-router) # network 192.168.4.0 0.0.0.255 area 2R4 (config) # int s1/2R4 (Config-if) # ip add 192.168.4.2 255.255.255.0R4 (config-if) # no shutR4 (config-if) # int lo 1R4 (config-if) # ip add 192.168.5.1 255.255.255.0R4 (config) # router ospf 223R4 (config-router) # net 192.168.4.0 0.0.0.255 area 2R4 (config-router) # net 192.168.5.0 0.0.0.255 area 2R5 (config) # int s1/3 R5 (config-if) # ip add 192.168.6.2 255.255.255.0R5 (config-if) # no shutR5 (config-if) # int f0/0R5 (config-if) # ip add 192.168.7.1 255.255.255.0R5 (config-if) # no shutR5 (config-if) # router ripR5 (config-router) # network 192.168.6.0R5 (config-router) # network 192.168.7.0R6 (config) # int f0/0R6 (config-if) # ip add 192.168.7.2 255.255.255.0R6 (config-if) # no shutR6 (config-if) # int lo 1R6 (config-if) # ip add 192.168.8.1 255.255.255.0R6 (config-if) # router ripR6 (config-router) # network 192.168.7.0R6 (config-router) # network 192.168.8.0 R4 view route table: C 192.1 68.4.0/24 is directly connected, Serial1/2C 192.168.5.0/24 is directly connected, loopback1194251.0/32 is subnetted, 1 subnetsO IA 192.168.1.1 [110/193] via 192.168.4.1, 00:12:37, serial1/2O IA 192.168.2.0/24 [110/192] via 192.168.4.1, 00:12:37, Serial1/2O IA 192.168.3.0/24 [110/128] via 192.168.4.1, 00:12:37, Serial1/2R4 # R1 view the route table: o ia 192.168.4.0/24 [110/192] via 192.168.2.2, 00:15:08, Serial1/ 0192.168.5.0/32 is subnetted, 1 subnetsO IA 192.168.5.1 [110/193] via 192.168.2.2, 00:14:22, Serial1/0C 192.168.1.0/24 is directly connected, Loopback1C 192.168.2.0/24 is directly connected, serial1/0O IA 192.168.3.0/24 [110/128] via 192.168.2.2, 00:21:35, Serial1/0 www.2cto.com route redistribution: R2 (config) # router ospf 223R2 (config-router) # redistribute rip metric 200% Only classful networks will be redistribu TedO E2 192.168.8.0/24 [110/200] via 192.168.4.1, 00:00:03, Serial1/2C 192.168.4.0/24 is directly connected, Serial1/2C 192.168.5.0/24 is directly connected, loopback1 O E2 192.168.6.0/24 [110/200] via 192.168.4.1, 00:00:03, Serial1/2O E2 192.168.7.0/24 [110/200] via 192.168.4.1, 00:00:03, Serial1/2192.168.1.0/32 is subnetted, 1 subnetsO IA 192.168.1.1 [110/193] via 192.168.4.1, 00:17:24, Serial1/ 2O IA 192.168.2.0/24 [110/192] via 192.168.4.1, 00:17:24, Serial1/2O IA 192.168.3.0/24 [110/128] via 192.168.4.1, 00:17:25, Serial1/2R4 #4. route redistribution: one-way redistribution cannot ping R4 # ping 192.168.7.2Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 192.168.7.2, timeout is 2 seconds :..... success rate is 0 percent (0/5) # router ripR2 (config-router) # defa Ult-information originateR6 # show ip routeC 192.168.8.0/24 is directly connected, Loopback1R 192.168.6.0/24 [120/1] via 192.168.7.1, 00:00:01, FastEthernet0/0C 192.168.7.0/24 is directly connected, fastEthernet0/0R * 0.0.0.0/0 [120/2] via 192.168.7.1, 00:00:01, FastEthernet0/0R6 # ping 192.168.5.1 www.2cto.com Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 192.168.5.1, timeout is 2 se Conds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 44/62/76 ms bidirectional redistribution: R4 # ping 192.168.7.2Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 192.168.7.2, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 60/76/100 msR3 (config) # router ospf 223R3 (config-router) # area 2 stubR4 (config) # router ospf 223R4 (config-router) # area 2 stub R4 # show ip routeC 192.168.4.0/24 is directly connected, serial1/2C 192.168.5.0/24 is directly connected, loopback11900001.0/32 is subnetted, 1 subnetsO IA 192.168.1.1 [110/193] via 192.168.4.1, 00:00:17, Serial1/2O I A 192.168.2.0/24 [110/192] via 192.168.4.1, 00:00:17, Serial1/2O IA 192.168.3.0/24 [110/128] via 192.168.4.1, 00:00:17, serial1/2O * IA 0.0.0.0/0 [110/65] via 192.168.4.1, 00:00:17, Serial1/2R4 # ping 192.168.8.1Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 192.168.8.1, timeout is 2 seconds :!!!!! Www.2cto.com Success rate is 100 percent (5/5), round-trip min/avg/max = 68/91/124 MS configuration full ending area: R3 (config) # router ospf 223R3 (config-router) # area 2 stub no-summaryR4 # show ip routeC 192.168.4.0/24 is directly connected, Serial1/2C 192.168.5.0/24 is directly connected, loopback1O * IA 0.0.0.0/0 [110/65] via 192.168.4.1, 00:02:58, Serial1/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.