Configuring gated

Configuring the OSPF Protocol

backbone {

interface 15.13.115.156 { enable ; transitdelay 20 ; priority 20 ; hellointerval 30 ; routerdeadinterval 120 ; retransmitinterval 60 ;

} ;

};

If the router is directly attached via a point-to-point interface to a host that is not running OSPF, you can prevent sending OSPF Hello packets to the host. Do this by specifying the subhost statement with the host’s address. You can optionally define the cost.

NOTE

Backbones must be directly connected or contiguous. In some gated

 

implementations, you can configure a virtual link to join non-contiguous

 

backbone routers. HP-UX systems do not support virtual links.

 

 

Authentication

The OSPF protocol allows you to authenticate packets containing routing information. You can configure the authentication on a per-area basis; You can use different authentication methods in different areas.

gated supports a simple password authentication method. You can also choose to have no authentication. You can use the authtype statement to define the authentication method used for the area. 0 or none specifies that routing exchanges in the area are not authenticated. 1 or simple specifies that network passwords of up to 64 bits (8 characters) are used to authenticate packets received from routers in the area.

In the simple password authentication method, all routers that interface to a given network use the same password. The password is defined by the authkey statement in the router’s interface definition. If you do not configure a router with the same password as other routers in the network, other networks discard the router’s packets. The password is

Chapter 3

77