HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)

Figure 16 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 ;
} ;
} ;
} ;
The configuration for the internal router A is for a multicast interface. For an NBMA interface, you
can set the configuration in /etc/gated.confas follows:
# Router A Configuration (non-stub area)
OSPF yes {
area 0.0.0.1 {
interface 193.2.1.35 nonbroadcast cost 5 {
routers {
193.2.1.33 eligible ;
} ;
priority 5 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
pollinterval 20 ;
} ;
} ;
} ;
NOTE: If you use IP multicasting in an area, every router and all the intermediate network devices
in that area must support IP multicasting.
B: Area Border Router
Set up /etc/gated.conf as follows:
Configuring the OSPF Protocol 41