Installing and Administering Internet Services

280 Chapter 8
Configuring gated
Configuring the OSPF Protocol
backbone {
interface 15.13.115.156 cost 5 {
enable ;
priority 10 ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
} ;
C: Internal Router (Stub Area)
Set up /etc/gated.conf as follows:
OSPF yes {
area 0.0.0.2 {
stub cost 5 ;
interface 193.2.1.20 cost 5 {
priority 5 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
} ;
The routing table on node A contains routes to 193.2.1.32 and 193.2.1.16.
The routing table on node C in the stub area contains routes to LAN1
only and a default router.
Accessing the OSPF MIB
HP’s gated also provides ospfagt, an OSPF Simple Management
Network Protocol (SNMP) subagent that supports the OSPF MIB
(Management Information Base) (see RFC 1253). The ospfagt subagent
works with the HP SNMP Agent, snmpdm. If you are using an SNMP
manager utility to manage your network, such as HP’s OpenView
Network Node Manager, you may also want to use HP’s OSPF SNMP
subagent.
To start ospfagt automatically at system bootup, set the environment
variable OSPFMIB to 1 in the file /etc/rc.config.d/netdaemons.
To manually start ospfagt , enter:
/usr/sbin/ospfagt
Note that gated must be running before ospfagt can be started. Both
gated and ospfagt must be running in order to retrieve OSPF MIB
objects.