beautypg.com

Ripv2 authentication message format, Trip, Working mechanism – H3C Technologies H3C SR8800 User Manual

Page 42: Message types

background image

26

Version–Version of RIP. For RIPv2 the value is 0x02.

Route tag.

IP address—Destination IP address. It can be a natural network address, subnet address or host
address.

Subnet mask—Mask of the destination address.

Next hop—If set to 0.0.0.0, it indicates that the originator of the route is the best next hop.
Otherwise, it indicates a next hop better than the originator of the route.

RIPv2 authentication message format

RIPv2 sets the AFI field of the first route entry to 0xFFFF to identify authentication information.

Figure 8 RIPv2 Authentication Message

Authentication Type—A value of 2 represents plain text authentication; a value of 3 represents
MD5.

Authentication—Authentication data, including password information when plain text
authentication is adopted or including key ID, MD5 authentication data length and sequence
number when MD5 authentication is adopted.

NOTE:

RFC 1723 only defines plain text authentication. For more information about MD5 authentication, see
RFC 2453,

RIP Version 2.

With RIPv1, you can configure the authentication mode in interface view. However, the configuration will
not take effect because RIPv1 does not support authentication.

TRIP

Triggered RIP (TRIP), a RIP extension for WANs, is mainly used in dial-up networks.

Working mechanism

Routing information is sent in triggered updates rather than in periodic broadcasts to reduce route

management cost on WANs.

A routing update message is sent when data in the routing table changes or the next hop is

unreachable.

Since the periodic update delivery is canceled, an acknowledgement and retransmission
mechanism is required to guarantee successful updates transmission on WANs.

Message types

RIP uses the following new types of message which are identified by the value of the command field.

Update request (Type-9)—Requests the needed routes from the neighbor.