RIP Packet Format
RIP operates on top of UDP port 520. The packet format for RIP is shown in Figure 6-8. UDP can send datagrams with a minimum of protocol mechanism. The protocol avoids overhead because it provides no reliability—it simply sends the datagram that is encapsulated in the IP packet. Each host that runs RIP sends and receives datagrams on UDP port 520. All routing messages are sent from UDP 520, and a response to a request is sent to the port from which the request came. UDP is used in this manner because it offers a procedure for application programs to send messages to other programs, with a minimum of protocol mechanism.
The Command field is contained in every RIP datagram. This field indicates whether the datagram is a request ...
Get Large-Scale IP Network Solutions (CCIE Professional Development) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.