hw6 - CS 118 Spring 2008 Homework 6 Problem 1 Figure 1...

This preview shows pages 1–2. Sign up to view the full content.

CS 118 Spring 2008 : Homework 6 Problem 1 Figure 1: Simple network. Problem 1 Consider the network shown in Figure 1, and assume that each node initially knows the cost to each of its neighbors. Consider the distance-vector algorithm and show the distance table entries for node z (which includes the cost of z and all of z ’ s neighbors to reach all destinations). Problem 2 Consider a general topology and a synchronous version of the distance-vector algorithm. Suppose that at each iteration, a node exchanges its distance vectors with its neighbors and receives their distance vectors. Assuming that the algorithm begins with each node knowing only the costs to its immediate neighbors, what is the maximum number of iterations required since the algorithm is run for first time until it converges? Justify the answer. (hint: it’s related to the ”network diameter”, i.e. the the length of the longest path without loops between any two nodes in the network) Problem 3 Consider the network shown in Figure 2. Suppose AS3 and AS2 are running OSPF for their intra-AS routing

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern