HP Routing Services -UX 11i v2 manual Enabling Ospf

Page 64

Configuring gated

Configuring the OSPF Protocol

6.For multi-access networks, identify a designated router. For NBMA networks, several routers can be designated router candidates. Designated routers are specified in the interface definitions (see “The interface Statement” on page 67).

7.You must decide if you want to assign a cost to each interface. See “Cost” on page 79 for more information about costs.

8.Designate stub areas. AS external link advertisements are propagated to every router in every area in an AS, except for routers in the configured stub areas. See “Stub Areas” on page 74 for more information

9.Identify backbone routers. The router configuration contains a backbone definition and a virtual link definition, if necessary. See “Defining Backbones” on page 76 for more information

10.Determine if routing packets are authenticated for each area. See “Authentication” on page 77 for more information

11.Identify AS boundary routers. See “AS External Routes (AS Boundary Routers Only)” on page 80 for more information.

 

Enabling OSPF

 

The default router identifier used by OSPF is the address of the first

 

interface on the router encountered by gated. To set the router identifier

 

to a specific address, specify the routerid interface statement in the

 

Definition class of the /etc/gated.conf file.

 

You must enable the OSPF protocol only for routers. When the OSPF

NOTE

 

protocol is enabled for a system, the system is treated as a router, and

 

not a host, by other hosts.

 

You can enable the OSPF protocol using the ospf statement in the

 

 

Protocol class of the /etc/gated.conf file. The clause yes (or on)

 

informs gated to enable the OSPF protocol at this node and to process all

 

OSPF packets arriving from other nodes. If you do not specify an OSPF

 

line in your configuration file, ospf no is assumed. The clause no (or

 

off) informs gated to disable the OSPF protocol on this node.

 

The following is an example to enable OSPF:

 

ospf yes { ... }

64

Chapter 3

Image 64
Contents Edition Manufacturing Part Number B2355-90777 AugustGovernment License WarrantyCopyright Notice Trademark Notices Page Contents Contents Index Contents Intended Audience HP-UX Release Name and Release IdentifierPublishing History What Is in This DocumentDocument Organization Chapter Description HP-UX Internet Services Administrator’s Guide Related DocumentationMbone FAQ Typographical ConventionsHP Encourages Your Feedback BoldVersion of HP-UX that you are using Overview Overview Multicasting Overview Mrouted Routing DaemonDvmrp Protocol Dvmrp Tunnel Multicast Dvmrp TunnelEndpoint IP Multicast Addresses Class D IP Multicast Address FormatMulticast Groups Mrouted Routing Daemon Gated Routing Daemon AdvantagesDeciding When to Use gated Routing Protocols Comparison of RIP and Ospf Protocols RIP OspfRIP Ospf Gated Routing Daemon Gated Routing Daemon Chapter Configuring mrouted Configuring mrouted How to Configure mrouted Configuration CommandsTunnel Multicast Network Example Configuration How to Configure mrouted How to Configure mrouted Starting mrouted Verifying mrouted Operation Displaying mrouted Routing Tables HUP Displaying mrouted Routing Tables Multicast Routing Support Tools Mrinfo ToolMap-mbone Tool Netstat ToolMulticast Routing Support Tools Chapter Configuring gated Configuring gated Configuration Overview Configuring gated Protocol statements follow Converting the Configuration File from 3.0 to Cp /etc/gated.conf /etc/gated.conf.30 Configuring the RIP Protocol RIP Protocol StatementDefault Range 1 Configuration Options Simple RIP Configuration Example of Simple RIP ConfigurationEnd Systems RoutersExample of a Large RIP Configuration RIP RouterMajor Router Cluster Node Isolated NodeRoot Server Single NodeCluster or Root Server Node Controlling RIP Traffic Major RouterConfiguring the RIP Protocol Configuring the Ospf Protocol Area Areas Defined in an Autonomous SystemNetwork Router Area Configuring the Ospf Protocol Planning Your Ospf Configuration Enabling Ospf Area Border Router Configuration Example Defining AreasArea To Network a 193.2.1.33 Border Router To Network B Networks Statement Network Configuration ExampleInterface Statement Configuring the Ospf Protocol Default None Multicast Router Interface Example Router 193.2.1.35 NetworkNon-Broadcast Router Interface Example Range 0Router Network 193.2.1.35 193.2.1.33 Internet 193.2.1.46 Hellointerval value must be the same for all Ospf routers Configuring the Ospf Protocol Router 193.2.1.1 193.2.1.2 Point-to-Point Router Interface ExampleStub Areas Area Router 193.2.1.20 193.2.1.17 193.2.1.18 193.2.1.19Defining Backbones Area 15.13.115.156 Router a Router BAuthentication Authkey travis Authkey pepeCost Cost LAN 1 LAN 2AS External Routes AS Boundary Routers Only Default Configuring the Ospf Protocol Sample Ospf Configuration Internal Router Non-Stub AreaArea Border Router Internal Router Stub Area Accessing the Ospf MIB Configuring RDP RDP ServerRDP Client Server RDP ClientInstalling Static Routes Specifying a Default RouterCustomizing Routes Setting Interface States Specifying Tracing Options Files Option EffectSpecifying Route Preference Default Preference Values of RoutesRoute Type Preference BGP Specifying Route Preference Import Statement Importing and Exporting RoutesExport Statement Examples of import and export Statements Starting gated Command Line Options for gatedFlag Effect Verifying That gated Is Running 100Checking for Syntax Errors in the Configuration File Troubleshooting gatedTracing gated Activity Operational User Interface for gated gdc 102Ripquery Tool Gated Routing TableOspfmonitor Tool Problem 1 gated does not act as expected Common Problems104 Chapter 105 Problem 2 gated deletes routes from the routing table 106Problem 3 gated adds routes that appear to be incorrect Problem 4 gated does not add routes that you think it must 108Index 109110 111 112 TOS 113