Routing TCP / IP Learning Notes: RIP Protocol
RIP DataGram format
Timer
Classful Routing: Summarization At Boundary Router
There is only an IP address in the RIP DataGram, no subnet mask. Therefore, the router will encapsulate its own interface address to the DataGram to pass to Neighbor. After receiving DataGram, Neighbor first judges that this address is a, b or Class C, and then look at your interface is in the same network segment (referring to the Classful network segment). If so, it uses his own subnet mask to determine the network address of this IP address and add it to the routing table. If not, it adds this Classful's network to the routing table.
Therefore, in the routing domain of RIP, the subnet mask of the same Classful network segment must be all the same.