RIP exchanges routing information via User Datagram Protocol (UDP) data packets. Each RIP router sends and receives datagrams on UDP port number 520, the RIP version 1/RIP version 2 port. All communications intended for another router’s RIP process area are sent from the RIP port.
Every RIP message contains a RIP header that consists of a command and a version number. The router supports RIP version 1 (RIPv1) and RIP version 2 (RIPv2) extensions.
RIP employs the following message types:
The RIP request and response messages also contain a list of route entries. Each route entry contains the following: