Appendix C. GGP Events and Responses
The following list shows the GGP events that occur at a gateway and the gateway's responses. The variables and tables referred to are listed above.
-
Connectivity to an attached network changes.
- Update the Minimum Distance Vector.
- Recompute the Routing Updates.
- Recompute the Routing Table.
- If any routing update has changed, send the new routing updates to the neighbors.
-
Connectivity to a neighbor gateway changes.
- Update the Neighbor Connectivity Vector.
- Recompute the Minimum Distance Vector.
- Recompute the Routing Updates.
- Recompute the Routing Table.
- If any routing update has changed, send the new routing updates to the neighbors.
-
A Routing Update message is received.
-
Compare the Internet source address of the Routing Update message to the Neighbor Addresses. If the address is not on the list, add it to the list of Neighbor Addresses, increment the Number of Neighbors, and set the Receive Sequence Number for this neighbor to the sequence number in the Routing Update message.
-
Compare the Receive Sequence Number for this neighbor to the sequence number in the Routing Update message to determine whether or not to accept this message. If the message is rejected, send a Negative Acknowledgment message. If the message is accepted, send an Acknowledgment message and proceed with the following steps.
-
Compare the networks reported in the Routing Update message to the Number of Networks. If new networks are reported, enter them in the network vectors, increase the number of networks, and expand the Distance Matrix to account for the new networks.
-
Copy the routing update received into the appropriate row of the Distance Matrix.
-
Recompute the Minimum Distance Vector.
-
Recompute the Routing Updates.
-
Recompute the Routing Table.
-
If any routing update has changed, send the new routing updates to the neighbors.
-
-
An Acknowledgment message is received.
Compare the sequence number in the message to the Send Sequence Number. If the Send Sequence Number is acknowledged, update the entry in the Received Acknowledgment Vector for the neighbor that sent the acknowledgment.
-
A Negative Acknowledgment message is received.
Compare the sequence number in the message to the Send Sequence Number. If necessary, replace the Send Sequence Number, and retransmit the routing updates.