Routing – why RIP sending only maximum of 512 bytes of data

protocol-theoryriproutingudp

When RIP router sends update to routers, why it is limited to use only 512 bytes of UDP data. Why not more than that, even when it has a 1500 byte MTU. How is the maximum of 512 bytes determined?

Best Answer

You can find this on Page 19 of RFC 1058: RIP, the maximum UDP payload of a RIP update is 512 bytes:

   The maximum datagram size is 512 octets.  This includes only the
   portions of the datagram described above.  It does not count the IP
   or UDP headers.  The commands that involve network information allow
   information to be split across several datagrams.  No special
   provisions are needed for continuations, since correct results will
   occur if the datagrams are processed individually.

This means RIP can carry a maximum of 25 routes in a RIP update packet. When RIP was conceived, 512 bytes was a reasonable maximum