Network Notes: RIP
Published: 2018-06-24
Overview
Routing information protocol (RIP) is a interior distance vector routing protocol originally defined in RFC1058. RIP has had a number of improvements over the years with version 2 being defined RFC2453 and RIPng adding IPv6 support in RFC2080.
Transport
RIPv1 and RIPv2 utilize UDP/520, RIPng uses UDP/521 to transport RIP messages.
Metric
RIP uses the number of hops to a destination as its metric. RIP has a maximum hop count of 15 with 16 considered to be infinite and unreachable.
Neighborship
RIP does not form a neighborship with adjacent RIP routers. RIP processes routing updates received via either broadcast or mulitcast depending on the RIP version in use.
Routing Updates
Message Format
RIPv1
RIPv2
RIPng
Summarization
RIPv1 is a classful routing protocol and summarization is not supported. RIPv2 and RIPng added support for classless routing and subnets can be summarized at any arbitrary block.
Loop Prevention
Authentication
RIPv1 does not support authentication. RIPv2 support both plain-text and MD5 authentication. RIPng does not implement authentication and relies on the authentication and encryption capabilities of the underlying IPv6 protocol for routing update integrity.
Packet Captures
Various RIP PCAPs can be found here.
Bibliography
Links
https://tools.ietf.org/html/rfc1058
https://tools.ietf.org/html/rfc2453
https://tools.ietf.org/html/rfc2080