Beruflich Dokumente
Kultur Dokumente
www.h3c.com.
1/8
Table of Contents
1 Overview......................................................................................................................................... 3 2 RIPng Implementation .................................................................................................................... 3 2.1 Introduction to RIP ............................................................................................................... 3 2.1.1 Mechanism ................................................................................................................ 3 2.1.2 RIP Versions ............................................................................................................. 4 2.2 Differences Between RIPng and RIP................................................................................... 4 2.2.1 Packets...................................................................................................................... 4 2.2.2 Authentication............................................................................................................ 6 2.2.3 Compatibility with Network Layer Protocols.............................................................. 6 3 Application Scenarios ..................................................................................................................... 7 3.1 Network Diagram ................................................................................................................. 7 3.2 Network Requirements ........................................................................................................ 7 4 References ..................................................................................................................................... 7
www.h3c.com.
2/8
1 Overview
RIP is a distance-vector Interior Gateway Protocol (IGP) developed by the IETF. It is widely used in small-sized IPv4 networks due to ease of implementation, configuration and maintenance. To route IPv6 packets, the IETF developed RIPng based on RIP. RIPng has become a main routing protocol used on IPv6 networks.
2 RIPng Implementation
RIPng works basically the same way as RIP but has some differences from RIP to support IPv6 address format. The following describes RIP briefly before detailing how different RIPng and RIP are.
By default, a RIP router sends its routing table to neighbors every 30 seconds. RIP ages out routes by adopting an aging mechanism to keep only valid routes.
www.h3c.com.
3/8
2.2.1 Packets
1. Different IP address lengths
RIPng uses 128-bit IP addresses, compared with RIPv2's 32-bit addresses.
Figure 1 RIPv2 packet format (upper) and RIPng packet format (lower)
Different from RIPv2, RIPng has two types of RTEs: Next hop RTE: Defines the IPv6 address of a next hop. IPv6 prefix RTE: A next hop RTE can be followed by multiple IPv6 prefix RTEs that use the same next hop. An IPv6 prefix RTE describes the destination IPv6 address, route tag, prefix length and metric of a RIPng route entry. The following figure shows the format of the next hop RTE. IPv6 next hop address is the IPv6 address of the next hop.
The following figure shows the format of the IPv6 prefix RTE:
www.h3c.com.
5/8
IPv6 prefix: Destination IPv6 address prefix Route tag: Route tag Prefix length: Length of the IPv6 address prefix Metric: Cost of the route
2.2.2 Authentication
In RIPng, the authentication RTEs have been removed. RIPng relies on the authentication mechanism of IPv6 to ensure integrity and validity.
www.h3c.com.
6/8
3 Application Scenarios
3.1 Network Diagram
IPv6 network
School
Router I
Router H
Router A
Router B
Router C
4 References
RFC 2080: RIPng for IPv6 RFC 2081: RIPng Protocol Applicability Statement RFC 1058: Routing Information Protocol RFC 1721: RIP Version 2 Protocol Analysis
Hangzhou H3C Technologies Co., Ltd. www.h3c.com. 7/8
Copyright 2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd. The information in this document is subject to change without notice.
www.h3c.com.
8/8