IPv6 RIPng and RIP metrics analysis

Source: Internet
Author: User

Both RIPv2 and RIPng use a metric of value 1-16 (for hops), a maximum hop count of 15,16 means unreachable, and the router increments the measure when a routing update is received, but there are significant differences between ripng and RIPv2 processing methods, which are analyzed by experiments;

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/D4/wKiom1S9zvCQl6koAADm6MwSb-I502.jpg "title=" 3.png " alt= "Wkiom1s9zvcql6koaadm6mwsb-i502.jpg"/>

R1, R2, R3 between the running ripng, the routing configuration is as follows, other configuration slightly;

routing configuration for R1:

R1 (config) #int Loo 0

R1 (config-if) #ipv6 Ripmao enable //ripng process Mao only local meaning, with OSPF The process number function is the same; after configuring the command under an interface, the ipv6 router rip Mao is generated globally

R1 (config-if) #int s1/0

R1 (config-if) #ipv6 RIP Mao enable

R1 (config-if) #int fa0/0

R1 (config-if) #ipv6 RIP Mao enable

routing configuration for R2:

R2 (config) #int Loo 0

R2 (config-if) #ipv6 rip Ting en

R2 (config-if) #int s1/0

R2 (config-if) #ipv6 RIP Ting enable

R2 (config-if) #int fa0/0

R2 (config-if) #ipv6 RIP Ting enable

routing configuration for R3:

R3 (config-if) #int fa1/0

R3 (config-if) #ipv6 RIP

R3 (config-if) #ipv6 rip Hai en

R3 (config-if) #int fa0/0

R3 (config-if) #ipv6 rip Hai en

R3 (config-if) #int Loo 0

R3 (config-if) #ipv6 rip Hai en


Grasping packet analysis between R1 and R3;

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/D4/wKiom1S90OLhFaa-AALC0r9NhjU193.jpg "title=" 1.png " alt= "Wkiom1s90olhfaa-aalc0r9nhju193.jpg"/>

grasping the bag, R1 When the route is advertised, the 2011::1/128 (R1 loopback interface ipv6 address) The hop count is set to 1 , now R3 to view the route on the

R3#show IPv6 Route Rip

IPV6 Routing table-default-11 Entries

Codes:c-Connected, L-local, s-static, U-per-user Static route

B-BGP, Ha-home Agent, Mr-mobilerouter, R-rip

H-NHRP, I1-isis L1, I2-isis L2, Ia-isis Interarea

Is-isis Summary, D-eigrp, ex-eigrpexternal, Nm-nemo

Nd-nd Default, Ndp-nd Prefix, Dce-destination, Ndr-redirect

O-OSPF Intra, OI-OSPF Inter, OE1-OSPF ext 1, OE2-OSPF ext 2

ON1-OSPF NSSA ext 1, ON2-OSPF Nssaext 2, L-lisp

R 2001:A:A:12::/64 [120/2]

Via fe80::c802:22ff:fef8:8,fastethernet1/0

Via fe80::c801:39ff:fe8c:8,fastethernet0/0

R 2011::1/128 [120/2]// Its hop count is 2 , an increase of 1 ;

Viafe80::c801:39ff:fe8c:8, fastethernet0/0

R 2022::2/128 [120/2]

Via fe80::c802:22ff:fef8:8,fastethernet1/0

will now R1 and R2,R3 also configure RIP protocol , configuration slightly, see the router R3 on the route of the measure of the situation and ripng what is different, Between R1 and R3, the following is a clutch :

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/D4/wKiom1S90Lbwv01tAAKaZVGtBuQ498.jpg "title=" 2.jpg " alt= "Wkiom1s90lbwv01taakazvgtbuq498.jpg"/>

in the R1 and R3 between the capture,R1 notice to R3 1.1.1.1/32 route of the jump value is 1, now R3 To view the routing table condition

R3#show IP Route Rip

Codes:l-Local, c-connected, S-static, R-rip, M-mobile, B-BGP

D-EIGRP, Ex-eigrp 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

I-is-is, Su-is-is Summary, L1-is-is level-1, L2-is-is level-2

Ia-is-is Inter area, *-candidate default, U-per-user static route

O-ODR, P-periodic downloaded static route, H-NHRP, L-lisp

+-Replicated route,%-Next hop override

Gateway of last resort are not set

1.0.0.0/32 is subnetted, 1 subnets

R 1.1.1.1[120/1] via 13.1.1.1, 00:00:17, fastethernet0/0// The value of the jump is still 1 . ,R3 does not increment its hop value by 1 ;

2.0.0.0/32 is subnetted, 1 subnets

R 2.2.2.2 [120/1] via 23.1.1.1, 00:00:01, fastethernet1/0

12.0.0.0/30 is subnetted, 1 subnets

R 12.1.1.0 [120/1] via 23.1.1.1, 00:00:01, fastethernet1/0

[120/1] via 13.1.1.1,00:00:17, fastethernet0/0

in the View Route 1.1.1.1/32 routing on R2

r2#showip Route RIP//rip Routing Table

Codes:l-Local, c-connected, S-static, R-rip, M-mobile, B-BGP

D-EIGRP, Ex-eigrp 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

I-is-is, Su-is-is Summary, L1-is-is level-1, L2-is-is level-2

Ia-is-is Inter area, *-candidate default, U-per-user static route

O-ODR, P-periodic downloaded static route, H-NHRP, L-lisp

+-Replicated route,%-Next hop override

Gateway of last resort are not set

1.0.0.0/32 is subnetted, 1 subnets

R 1.1.1.1[120/2] via 23.1.1.2, 00:00:28, fastethernet0/0

// Its hop count is 2

3.0.0.0/32 is subnetted, 1 subnets

R 3.3.3.3 [120/1] via 23.1.1.2, 00:00:28, fastethernet0/0

13.0.0.0/30 is subnetted, 1 subnets

R 13.1.1.0 [120/1] via 23.1.1.2, 00:00:28, fastethernet0/0

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/D4/wKiom1S93N-zjSyfAAJEJY80j2A264.jpg "title=" 3.png " alt= "Wkiom1s93n-zjsyfaajejy80j2a264.jpg"/>

in the the interface betweenR2 and R3 can be seen, R3 will 1.1.1.1/32 notice to R2 , it will be measured (hop number) plus 1, and then passed to R2;

r2#show IPv6 route rip//ipv6 RIP Routing Table

IPV6 Routing table-default-7 Entries

Codes:c-Connected, l-local, S-static,u-per-user Static route

B-BGP, Ha-home Agent, Mr-mobile Router, R-rip

H-NHRP, I1-isis L1, I2-isis L2, Ia-isis Interarea

Is-isis Summary, D-EIGRP, ex-eigrp external, Nm-nemo

Nd-nd Default, Ndp-nd Prefix, Dce-destination, Ndr-redirect

O-OSPF Intra, OI-OSPF Inter, OE1-OSPF ext 1, OE2-OSPF ext 2

ON1-OSPF NSSA ext 1, ON2-OSPF NSSA ext 2, L-lisp

R 2001:A:A:13::/64 [120/2]

Via fe80::c803:35ff:fe30:1c, fastethernet0/0

R 2011::1/128 [120/3]//r1 the Loopback interface route hop count is 3

Via fe80::c803:35ff:fe30:1c, fastethernet0/0

R 2033::3/128 [120/2]

Via fe80::c803:35ff:fe30:1c, fastethernet0/0

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/D4/wKiom1S93PHCM2t8AAK2rc4lg5o298.jpg "title=" 4.png " alt= "Wkiom1s93phcm2t8aak2rc4lg5o298.jpg"/>

it can be seen from the results of the clutch. R3 The 2011::1/128 route is advertised to the router R2 with a measure of 2 and a metric of 3in R2 's routing table , proving that the router R2 increments its measure (hop count) by 1;

Summary: RIPng when an originating route (generated by this router) is passed to the neighbor router, its metric value is 1 , the neighbor router increments the measured value of the route by 1 , in fact the origin router will be included in the hop count of the destination network itself. and RIP is the route from the origin of the next hop neighbor router passed to his neighbor router, only the measure of the route will be incremented by 1, instead of routing the origin of the router to reach the destination network hop count. This is also the biggest difference between ripng and RIP.


This article is from "Twilight Cloud Wind Xiao" blog, please make sure to keep this source http://muyun.blog.51cto.com/952166/1606069

IPv6 RIPng and RIP metrics analysis

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.