Configuring gated

Configuring the OSPF Protocol

retransmitinterval 10 ; pollinterval 20 ; authkey " travis " ;

} ;

} ;

Cost

The outbound side of each router interface is associated with a configurable cost. Lower cost interfaces are more likely to be used in forwarding data traffic. Cost values are assigned at the discretion of the network or system administrator. While the value is arbitrary, it must be a function of throughput or capacity of the interface: the higher the value, the lower the throughput or capacity. Thus, the interfaces with the highest throughput or capacity must be assigned lower cost values than other interfaces. Interfaces from networks to routers have a cost of 0.

Figure 3-12 shows an example network where costs are specified for each interface.

Figure 3-12 Cost Configuration Example

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

193.2.1.35 (cost 5)

 

 

 

 

 

 

 

 

 

193.2.1.33 (cost 5)

 

LAN 1

193.2.1.32

 

193.2.1.46 (cost 10)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

193.2.1.17 (cost 5)

 

 

 

 

 

 

193.2.1.30 (cost 10)

 

 

 

LAN 2

193.2.1.16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

193.2.1.20 (cost 5)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Chapter 3

79