nly do they have to implement the algorithm in code but they need to deal with a changing topology or layout of the network.RIP is intended for use within the Internet. The Internet is a collection of networks connected by gateways. Gateways are hardware and software that link two different types of networks. They use routes to determine where to send the datagrams. If the destination is on one of the networks directly connected to the host or gateway, it can send the datagram directly to it. Else it will try to send the datagram to a gateway that is nearer the destination.Routing is the method of finding a path from a sender to the desired destination. On the Internet, this would be finding gateways between networks. If the networks are not adjacent, the message must pass through gateways. Once the message gets to the gateway that the destination network, then the local network routing will get the message to the destination.Each gateway maintains a database, which contains entries of where datagrams should be sent. This database contains a metric attribute that measures the "total distance" to the next gateway. The "total distance" may be the time delay in getting the message to the next gateway, the cost in money of the sending the message, or some other measurable factor.Each entity or gateway keeps a routing database. There will be an entry for every possible destination in the system. The following attributes would be need for each destination:* Address - IP address of the destination* Gateway - first gateway along the route to the destination* Interface - physical network which must be used to reach first gateway* Metric - number indicating distance to the destination* Timer - amount of time since the entry was last updatedThe database would be initialized with information about the entities that are directly connected to the system. As time goes by it will be updated from the other network systems. Distance vector ...