Distance Vector Protcol RIPv2
Completion: May 2022
RIP Modifications: I created two new functions called 'getLinkWeights' and 'poisonReverse', the latter of which only consists of pseudocode.
getLinkWeights reads from the json files created that each store the link weights of a the links to a node's adjacent neighbtors.
These values are stored into a dictionary, where each value is another link weights for the link named key.
The poisonReverse function is written in pseudocode, to communicate how poisonReverse would work if it were used:
[without poison Reverse: (as in it would ensure that there is not a case as in 5.7 where the loop will persist for 44 iterations (message exchanges between y and z)—until z eventually computes the cost ofits path via y to be greater than 50)].
With poisonReverse: y’s distance table will indicicate Dz(x) = ∞. The cost of the (x, y) link changes from 4 to 60 at time t=0, y updates its table and continues to route directly to x, (to 60), and will tell z of its new cost to x, that is, Dy(x) = 60.
Tags: Networks Python Json Mininet Wireshark Columbia