Configure ripv2 (enabling rip V2)

Source: Internet
Author: User
Step 1: configure IP Address, and use Ping Command to confirm that the direct connection interface can communicate with each other Ping .

Step 2: configure Rip Protocol.

Step 3: R1 Use Ping 172.16.2.1 The result cannot be obtained.

Step 4: Solve the Problem in step 3. The solution is to enable Rip v2 Protocol

R1 (config) # router rip
R1 (config-router) # Version 2
R1 (config-router) # exit

R2 (config) # router rip
R2 (config-router) # Version 2
R2 (config-router) # exit

R3 (config) # router rip
R3 (config-router) # Version 2
R3 (config-router) # exit


Step 5: ObserveR2Route table

R2 # Show IP Route
Codes: C-connected, S-static, I-IGRP, R-rip, M-mobile, B-BGP
D-OSPF, ex-VPN external, o-OSPF, Ia-OSPF Inter Area
N1-ospf nssa external type 1, n2-ospf nssa external type 2
E1-OSPF external type 1, E2-OSPF external type 2, E-EGP
I-Is, Su-Is summary, L1-is-level-1, L2-is level-2
IA-Is Inter Area, *-candidate default, U-per-user static route
O-ODR, p-periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
R 172.16.1.0/24 [120/1] via 172.16.3.1, 00:00:00, serial1/1
R 172.16.2.0/27 [120/1] via 172.16.3.1, 00:00:00, serial1/1
C 172.16.3.0/24 is directly connected, serial1/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
R 10.2.2.0/27 [120/1] via 10.3.3.1, 00:00:00, serial1/0
R 10.1.1.0/24 [120/1] via 10.3.3.1, 00:00:00, serial1/0
C 10.3.3.0/24 is directly connected, serial1/0


Step 6: UseDebugObservationR00002Announcement

R3 #
00: 06: 36: Rip: sending V2 update to 224.0.0.9 via serial1/0 (172.16.3.1)
00: 06: 36: Rip: Build update entries
00: 06: 36: 172.16.1.0/24 Via 0.0.0.0, metric 1, tag 0
00: 06: 36: 172.16.2.0/27 via 0.0.0.0, metric 1, tag 0
00: 06: 36: Rip: sending V2 update to 224.0.0.9 via loopback0 (172.16.1.1)
00: 06: 36: Rip: Build update entries
00: 06: 36: 10.0.0.0/8 via 0.0.0.0, metric 2, tag 0
00: 06: 36: 172.16.2.0/27 via 0.0.0.0, metric 1, tag 0
00: 06: 36: 172.16.3.0/24 Via 0.0.0.0, metric 1, tag 0
00: 06: 36: Rip: sending V2 update to 224.0.0.9 via loopback1 (172.16.2.1)
00: 06: 36: Rip: Build update entries
00: 06: 36: 10.0.0.0/8 via 0.0.0.0, metric 2, tag 0
00: 06: 36: 172.16.1.0/24 Via 0.0.0.0, metric 1, tag 0
00: 06: 36: 172.16.3.0/24 Via 0.0.0.0, metric 1, tag 0
00: 06: 36: Rip: ignored V2 packet from 172.16.1.1 (sourced from one of our addresses)
00: 06: 36: Rip: ignored V2 packet from 172.16.2.1 (sourced from one of our addresses)
00: 06: 37: Rip: sorted ed V2 update from 172.16.3.2 on serial1/0
00: 06: 37: 10.0.0.0/8 via 0.0.0.0 in 1 hops
R3 #


Step 7: ObserveR1Route table

R1 # Show IP Route
Codes: C-connected, S-static, I-IGRP, R-rip, M-mobile, B-BGP
D-OSPF, ex-VPN external, o-OSPF, Ia-OSPF Inter Area
N1-ospf nssa external type 1, n2-ospf nssa external type 2
E1-OSPF external type 1, E2-OSPF external type 2, E-EGP
I-Is, Su-Is summary, L1-is-level-1, L2-is level-2
IA-Is Inter Area, *-candidate default, U-per-user static route
O-ODR, p-periodic downloaded static route

Gateway of last resort is not set

R 172.16.0.0/16 [120/1] via 10.3.3.2, 00:00:06, serial1/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.0/27 is directly connected, loopback1
C 10.1.1.0/24 is directly connected, loopback0
C 10.3.3.0/24 is directly connected, serial1/1
R1 #


Step 8:R2Close automatic summary

R2 (config) # router rip
R2 (config-router) # No auto-Summary
R2 (config-router) # exit


Step 9: goR1View route table

R1 # Show IP Route
Codes: C-connected, S-static, I-IGRP, R-rip, M-mobile, B-BGP
D-OSPF, ex-VPN external, o-OSPF, Ia-OSPF Inter Area
N1-ospf nssa external type 1, n2-ospf nssa external type 2
E1-OSPF external type 1, E2-OSPF external type 2, E-EGP
I-Is, Su-Is summary, L1-is-level-1, L2-is level-2
IA-Is Inter Area, *-candidate default, U-per-user static route
O-ODR, p-periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
R 172.16.1.0/24 [120/2] via 10.3.3.2, 00:00:00, serial1/1
R 172.16.2.0/27 [120/2] via 10.3.3.2, 00:00:00, serial1/1
R 172.16.3.0/24 [120/1] via 10.3.3.2, 00:00:00, serial1/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.0/27 is directly connected, loopback1
C 10.1.1.0/24 is directly connected, loopback0
C 10.3.3.0/24 is directly connected, serial1/1


Step 10:R2Manual summary on Configuration

R2 (config) # interface serial 1/0
R2 (config-If) # IP Summary-address rip 172.16.0.0 255.255.0.0


Step 11: returnR1View route table

R1 # Show IP Route
Codes: C-connected, S-static, I-IGRP, R-rip, M-mobile, B-BGP
D-OSPF, ex-VPN external, o-OSPF, Ia-OSPF Inter Area
N1-ospf nssa external type 1, n2-ospf nssa external type 2
E1-OSPF external type 1, E2-OSPF external type 2, E-EGP
I-Is, Su-Is summary, L1-is-level-1, L2-is level-2
IA-Is Inter Area, *-candidate default, U-per-user static route
O-ODR, p-periodic downloaded static route

Gateway of last resort is not set

R 172.16.0.0/16 [120/1] via 10.3.3.2, 00:00:00, serial1/1
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.0/27 is directly connected, loopback1
C 10.1.1.0/24 is directly connected, loopback0
C 10.3.3.0/24 is directly connected, serial1/1
R1 #


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.