HP Routing Services -UX 11i v2 Common Problems, Problem 1 gated does not act as expected, 104

Page 104

Configuring gated

Troubleshooting gated

Common Problems

This section discusses the common problems experienced during gated operation.

Problem 1: gated does not act as expected.

First, check the syslogd output for any syntax errors that may have been flagged.

To detect incorrect configuration commands, use gated tracing. Following are two sample configurations, along with the trace files generated by gated. The node used has three interfaces: lan0, lan1, and lan2. In the configuration files, lan0, lan1, and lan3 are specified. In the first configuration shown, the strictintfs option is specified for the interfaces to ensure that gated exits when the error is detected.

Interface Configuration With strictintfs Option Specified The following configuration references a non-existent interface. The options strictintfs line in the interfaces statement ensures that all the configured interfaces exit before gated starts.

traceoptions "tt" general; interfaces {

options strictintfs ;

interface lan0 lan1 lan3 passive ;

} ;

rip yes ;

The following is the tracing output that is produced when gated is started with this configuration:

trace_on: Tracing to "/tt" started

Tracing flags enabled: general

parse: conf.tt:4 Interface not found at ’lan3’

parse_parse: 2 parse errors

Exit gated[15941] version @(#)Revision: 1.0 based on Cornell G ateD R3_5Beta_3

104

Chapter 3

Image 104
Contents Edition Manufacturing Part Number B2355-90777 AugustCopyright Notice WarrantyGovernment License Trademark Notices Page Contents Contents Index Contents Intended Audience HP-UX Release Name and Release IdentifierDocument Organization Chapter Description What Is in This DocumentPublishing History 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 Dvmrp Protocol Mrouted Routing DaemonMulticasting Overview Endpoint Dvmrp TunnelDvmrp Tunnel Multicast 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 Network Router Area Areas Defined in an Autonomous SystemArea Configuring the Ospf Protocol Planning Your Ospf Configuration Enabling Ospf Area To Network a 193.2.1.33 Border Router To Network B Defining AreasArea Border Router Configuration Example Networks Statement Network Configuration ExampleInterface Statement Configuring the Ospf Protocol Default None Multicast Router Interface Example Router 193.2.1.35 NetworkRouter Network 193.2.1.35 193.2.1.33 Internet 193.2.1.46 Range 0Non-Broadcast Router Interface Example Hellointerval value must be the same for all Ospf routers Configuring the Ospf Protocol Stub Areas Point-to-Point Router Interface ExampleRouter 193.2.1.1 193.2.1.2 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 ClientCustomizing Routes Specifying a Default RouterInstalling Static Routes Setting Interface States Specifying Tracing Options Files Option EffectRoute Type Preference Default Preference Values of RoutesSpecifying Route Preference BGP Specifying Route Preference Export Statement Importing and Exporting RoutesImport Statement Examples of import and export Statements Flag Effect Command Line Options for gatedStarting gated Verifying That gated Is Running 100Tracing gated Activity Troubleshooting gatedChecking for Syntax Errors in the Configuration File Operational User Interface for gated gdc 102Ospfmonitor Tool Gated Routing TableRipquery Tool 104 Common ProblemsProblem 1 gated does not act as expected 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