The document discusses simulating distance vector routing and link state routing algorithms using the NS2 network simulator. It provides background on routing, describes distance vector and flooding routing algorithms, and includes the NS2 code used to simulate a simple network with four nodes using distance vector routing. The simulation establishes connections between nodes using TCP and UDP, introduces a route change, and monitors the routing table updates. The result is that the distance vector routing algorithm was successfully simulated.