Configuring gated
Configuring the OSPF Protocol
Figure
Figure |
| Area Border Router Configuration Example | |||||
|
|
|
|
|
|
|
|
|
| Area 0.0.0.1 |
|
|
| Area 0.0.0.2 | |
|
|
|
|
| |||
|
|
|
|
| 193.2.1.16 mask 0xfffffff0 |
|
|
| Router |
|
|
| |
Router | 193.2.1.17 | B |
193.2.1.18
193.2.1.19
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 |