-- final review problem 1 -- James, Brian Ho and Miao
Originally Posted By: eturkov
Here is another way of looking at the problem.
Let's assume we we define each node in our linear network as follows [A-Z]/[0-9] where the letter represents the node name and the number represents that node's cost to reach the internet, where it is possible to simply replace the internet with another node. Note that in the below diagram, it can be assumed the the cost between any directly connected node is 1.
So take the following network configuration: A/3 --> B/2 --> C/1 --> INTERNET
In this configuration, A uses B and B uses C to reach Internet, with costs to reach the internet from a node being 3,2,1 respectively.
A/3 ---> B/2 C/3 xxx INTERNET
C's internet link breaks and C erroneously switches to B, increasing its own internet cost based on B's cost to reach the internet. ie, B.internet.cost + C.initial.cost = 3.
A/3 --> B/4 C/3 xxx INTERNET
B's internet reach cost must change now, since C's just changed. A hasn't realized what has happened yet.
A/5 --> B/4 C/5 xxx INTERNET
A now learns that B's internet reach cost has changed from 2 to 4, so A has to set its new internet reach cost to 1(initial A cost) + 4(cost to go through B). A's and C's cost are now B's + 1 = 5
A/5 --> B/6 C/5 xxx INTERNET
B's path cost is now C's + 1 = 6 cycle repeats while counting to infinity. Packets are caught between the B & C loop.
If split horizon would be used here, then B would not advertise reachability to C since B would have to go through C itself to reach the internet.
'''Originally Posted By: eturkov'''
Here is another way of looking at the problem.<br><br>Let's assume we we define each node in our linear network as follows [A-Z]/[0-9] where the letter represents the node name and the number represents that node's cost to reach the internet, where it is possible to simply replace the internet with another node. Note that in the below diagram, it can be assumed the the cost between any directly connected node is 1.<br><br>So take the following network configuration: A/3 --> B/2 --> C/1 --> INTERNET<br>In this configuration, A uses B and B uses C to reach Internet, with costs to reach the internet from a node being 3,2,1 respectively. <br><br>A/3 ---> B/2 C/3 xxx INTERNET<br>C's internet link breaks and C erroneously switches to B, increasing its own internet cost based on B's cost to reach the internet. ie, B.internet.cost + C.initial.cost = 3.<br><br>A/3 --> B/4 C/3 xxx INTERNET<br>B's internet reach cost must change now, since C's just changed. A hasn't realized what has happened yet.<br><br>A/5 --> B/4 C/5 xxx INTERNET<br>A now learns that B's internet reach cost has changed from 2 to 4, so A has to set its new internet reach cost to 1(initial A cost) + 4(cost to go through B). A's and C's cost are now B's + 1 = 5<br><br>A/5 --> B/6 C/5 xxx INTERNET<br>B's path cost is now C's + 1 = 6 cycle repeats while counting to infinity. Packets are caught between the B & C loop.<br><br>If split horizon would be used here, then B would not advertise reachability to C since B would have to go through C itself to reach the internet.