Installing and Administering Internet Services

278 Chapter 8
Configuring gated
Configuring the OSPF Protocol
Figure 8-13 OSPF Sample Configuration
A: Internal Router (Non-Stub Area)
Set up /etc/gated.conf as follows:
# Router A Configuration (non-stub area)
OSPF yes {
area 0.0.0.1 {
interface 193.2.1.35 cost 5 {
priority 5 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
A
C
B
193.2.1.33
193.2.1.17
193.2.1.35
193.2.1.20
LAN 1 193.2.1.32
LAN 2 193.2.1.16
15.13.115.156
Area 1 (Non-Stub)
Area 2 (Stub)