25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

► To provide more efficient resource utilization. This method of routing table<br />

management requires no network b<strong>and</strong>width to advertise routes between<br />

neighboring devices. It also uses less processor memory <strong>and</strong> CPU cycles to<br />

calculate network paths.<br />

5.2.2 Distance vector routing<br />

Distance vector algorithms are examples of dynamic routing protocols. These<br />

algorithms allow each device in the network to automatically build <strong>and</strong> maintain a<br />

local <strong>IP</strong> routing table.<br />

The principle behind distance vector routing is simple. Each router in the<br />

internetwork maintains the distance or cost from itself to every known destination.<br />

This value represents the overall desirability of the path. Paths associated with a<br />

smaller cost value are more attractive to use than paths associated with a larger<br />

value. The path represented by the smallest cost becomes the preferred path to<br />

reach the destination.<br />

This information is maintained in a distance vector table. The table is periodically<br />

advertised to each neighboring router. Each router processes these<br />

advertisements to determine the best paths through the network.<br />

The main advantage of distance vector algorithms is that they are typically easy<br />

to implement <strong>and</strong> debug. They are very useful in small networks with limited<br />

redundancy. However, there are several disadvantages with this type of protocol:<br />

► During an adverse condition, the length of time for every device in the<br />

network to produce an accurate routing table is called the convergence time.<br />

In large, complex internetworks using distance vector algorithms, this time<br />

can be excessive. While the routing tables are converging, networks are<br />

susceptible to inconsistent routing behavior. This can cause routing loops or<br />

other types of unstable packet forwarding.<br />

► To reduce convergence time, a limit is often placed on the maximum number<br />

of hops contained in a single route. Valid paths exceeding this limit are not<br />

usable in distance vector networks.<br />

► Distance vector routing tables are periodically transmitted to neighboring<br />

devices. They are sent even if no changes have been made to the contents of<br />

the table. This can cause noticeable periods of increased utilization in<br />

reduced capacity environments.<br />

Enhancements to the basic distance vector algorithm have been developed to<br />

reduce the convergence <strong>and</strong> instability exposures. We describe these<br />

enhancements in 5.3.5, “Convergence <strong>and</strong> counting to infinity” on page 185.<br />

R<strong>IP</strong> is a popular example of a distance vector routing protocol.<br />

176 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!