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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The routes describe an end-to-end path consisting of two portions:<br />

► External portion: This is the portion of the path external to the OSPF network.<br />

When these routes are distributed into OSPF, the ASBR assigns an initial<br />

cost. This cost represents the external cost associated with traversing the<br />

external portion of the path.<br />

► Internal portion: This is the portion of the path internal to the OSPF network.<br />

Costs for this portion of the network are calculated using st<strong>and</strong>ard OSPF<br />

algorithms.<br />

OSPF differentiates between two types of external routes. They differ in the way<br />

the cost of the route is calculated. The ASBR is configured to redistribute the<br />

route as:<br />

► External type 1: The total cost of the route is the sum of the external cost <strong>and</strong><br />

any internal OSPF costs.<br />

► External type 2: The total cost of the route is always the external cost. This<br />

ignores any internal OSPF costs required to reach the ASBR.<br />

Figure 5-19 illustrates an example of the types of OSPF external routes.<br />

R<strong>IP</strong><br />

Network<br />

10.99.5.0/24<br />

ASBR<br />

Figure 5-19 OSPF route redistribution<br />

OSPF<br />

Network<br />

(10)<br />

(15)<br />

10.99.5.0/24 redistributed<br />

with external cost 50<br />

R1<br />

R1 Routing Table<br />

10.99.5.0/24<br />

E1: Cost 60<br />

or<br />

E2: Cost 50<br />

External Internal<br />

(20)<br />

R2<br />

R2 Routing Table<br />

10.99.5.0/24<br />

E1: Cost 65<br />

or<br />

E2: Cost 50<br />

Chapter 5. Routing protocols 209

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

Saved successfully!

Ooh no, something went wrong!