Configuring gated
Configuring the OSPF Protocol
Figure 3-8 shows an example of a router (A) that is connected to a non-broadcast, point-to-point network through interface 193.2.1.1.
Figure |
| ||||
|
|
|
|
|
|
|
|
| Router |
|
|
|
|
|
|
|
|
|
|
| A | 193.2.1.1 | 193.2.1.2 |
|
|
|
|
|
|
Router
B
The following is an example of the interface definition in router A’s /etc/gated.conf file:
interface 193.2.1.1 nonbroadcast cost 5 { hellointerval 30 ; routerdeadinterval 30 ; retransmitinterval 30 ; pollinterval 30 ;
} ;
If the router A is connected to a multicast,
Stub Areas
By default, AS external link advertisements (routes to destinations outside the AS) are propagated to every router in every area in the AS. You can configure certain OSPF areas as stub areas. AS external link advertisements are not flooded through stub areas. This reduces the size of the topology database that must be maintained by internal routers in the stub area and reduces the protocol traffic through the area. For example, if all the
An area border router advertises a default route in the stub area as the summary of all the IP destinations that are reachable outside the AS. Summary link advertisements (routes to destinations outside the area but within the AS) are still sent into the stub area.
The stub statement specifies that the area is a stub area. You can optionally define a cost clause to specify the cost associated with the default route that is advertised in the stub area.
74 | Chapter 3 |