Rip Message Format - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

RIPv1, a classful routing protocol, supports message advertisement via broadcast only. RIPv1 protocol
messages do not carry mask information, which means it can only recognize routing information of
natural networks such as Class A, B, C. That is why RIPv1 does not support discontiguous subnets.
RIPv2 is a classless routing protocol. Compared with RIPv1, RIPv2 has the following advantages.
Supporting route tags. Route tags are used in routing policies to flexibly control routes.
Supporting masks, route summarization and Classless Inter-Domain Routing (CIDR).
Supporting designated next hops to select the best next hops on broadcast networks.
Supporting multicast routing update to reduce resource consumption.
Supporting plain text authentication and MD5 authentication to enhance security.
RIPv2 has two types of message transmission: broadcast and multicast. Multicast is the default type
using 224.0.0.9 as the multicast address. The interface working in the RIPv2 broadcast mode can also
receive RIPv1 messages.

RIP Message Format

A RIPv1 message consists of a header and up to 25 route entries. (A RIPv2 authentication message
uses the first route entry as the authentication entry, so it has up to 24 route entries.)
RIPv1 message format
Figure 1-1
shows the format of RIPv1 message.
Figure 1-1 RIPv1 Message Format
Command: Type of message. 1 indicates request, which is used to request all or part of the routing
information from the neighbor, and 2 indicates response, which contains all or part of the routing
information. A response message consists of up to 25 route entries.
Version: Version of RIP, 0x01 for RIPv1.
Must be zero: This field must be zero.
AFI: Address Family Identifier, 2 for IP, and 0 for request messages.
IP Address: Destination IP address of the route. It can be a natural network, subnet or a host
address.
Metric: Cost of the route, 16 for request messages.
1-3

Advertisement

Chapters

Table of Contents
loading

Table of Contents