Configuring gated
| Configuring the OSPF Protocol |
| Figure |
| to area 0.0.0.2 through interface 193.2.1.20. Because all traffic in and out |
| of the area 0.0.0.2 must pass through router A, it is not necessary for the |
| area’s internal routers, such as router B, to receive |
| information. |
Figure | Area Border Router Configuration Example |
Area 0.0.0.1
Area 0.0.0.2
Router
A
193.2.1.16 mask 0xfffffff0
193.2.1.20
193.2.1.17
193.2.1.18
193.2.1.19
Router
B
The following is an example of the stub area definition in the router’s /etc/gated.conf file:
OSPF yes { area 0.0.0.2 {
stub cost 5 ; networks {
193.2.1.16 mask 0xfffffff0 ;
};
interface 193.2.1.20 nonbroadcast cost 5 { enable ;
routers {
193.2.1.17eligible ;
};
priority 5 ; hellointerval 5 ; routerdeadinterval 20 ; retransmitinterval 10 ; pollinterval 20 ;
} ; } ;
};
Chapter 3 | 75 |