HP Routing Services -UX 11i v2 manual Problem 3 gated adds routes that appear to be incorrect

Page 107

Configuring gated

Troubleshooting gated

Normally, gated deletes the route configured in the /etc/rc.config.d/netconf file. To solve this problem, configure a static default route as described in the section “Installing Static Routes” on page 90.

Another common scenario occurs in networks where all the gateways do not implement the gated routing protocols. In this situation, routes that do not use gated gateways are not confirmed by gated, and gated deletes them unless a static statement is included in /etc/gated.conf:

static {

13.0.0.0 mask 0xff000000 gateway 15.14.14.14 ;

};

The static entry in this example ensures that the local system includes a route to network 13.0.0.0 even though the gateway to that network (15.14.14.14) is not running any of the gated protocols.

You can include the restrict clauses in the export statements to restrict these extra routes from being advertised.

Problem 3: gated adds routes that appear to be incorrect.

If gated adds routes that appear to be incorrect, track the original source of the route by completing the following steps:

1.Start by looking at the routing table maintained by gated.

2.Send gated a SIGINT signal, and look at the information output in the /var/tmp/gated_dump file.

3.Look for the entry of the route in question. The entry identifies the protocol over which this route was heard and the first-hop router. The first-hop router is likely to be the immediate source of the information.

Perform one of the following actions:

If the route was learned over RIP, use /usr/sbin/ripquery to query the first-hop router for the route. That router may claim to have heard the route from another router.

If the first-hop router is another host running gated, have that host’s gated dump its routing table to find out where it learned about the route.

Chapter 3

107

Image 107
Contents Manufacturing Part Number B2355-90777 August EditionCopyright Notice WarrantyGovernment License Trademark Notices Page Contents Contents Index Contents HP-UX Release Name and Release Identifier Intended AudienceDocument Organization Chapter Description What Is in This DocumentPublishing History Related Documentation HP-UX Internet Services Administrator’s GuideTypographical Conventions Mbone FAQBold HP Encourages Your FeedbackVersion of HP-UX that you are using Overview Overview Dvmrp Protocol Mrouted Routing DaemonMulticasting Overview Endpoint Dvmrp TunnelDvmrp Tunnel Multicast Class D IP Multicast Address Format IP Multicast AddressesMulticast Groups Mrouted Routing Daemon Advantages Gated Routing DaemonDeciding When to Use gated Routing Protocols RIP Ospf Comparison of RIP and Ospf ProtocolsRIP Ospf Gated Routing Daemon Gated Routing Daemon Chapter Configuring mrouted Configuring mrouted Configuration Commands How to Configure mroutedTunnel 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 Netstat Tool Multicast Routing Support ToolsMrinfo Tool Map-mbone 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 RIP Protocol Statement Configuring the RIP ProtocolDefault Range 1 Configuration Options Routers Simple RIP ConfigurationExample of Simple RIP Configuration End SystemsRIP Router Example of a Large RIP ConfigurationSingle Node Major RouterCluster Node Isolated Node Root ServerCluster or Root Server Node Major Router Controlling RIP TrafficConfiguring 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 Network Configuration Example Networks StatementInterface Statement Configuring the Ospf Protocol Default None Router 193.2.1.35 Network Multicast Router Interface ExampleRouter 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 193.2.1.20 193.2.1.17 193.2.1.18 193.2.1.19 Area RouterArea 15.13.115.156 Router a Router B Defining BackbonesAuthentication Authkey pepe Authkey travisCost LAN 1 LAN 2 CostAS External Routes AS Boundary Routers Only Default Configuring the Ospf Protocol Internal Router Non-Stub Area Sample Ospf ConfigurationArea Border Router Internal Router Stub Area Accessing the Ospf MIB RDP Server Configuring RDPRDP Client RDP Client ServerCustomizing Routes Specifying a Default RouterInstalling Static Routes Setting Interface States Specifying Tracing Options Option Effect FilesRoute 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 100 Verifying That gated Is RunningTracing gated Activity Troubleshooting gatedChecking for Syntax Errors in the Configuration File 102 Operational User Interface for gated gdcOspfmonitor Tool Gated Routing TableRipquery Tool 104 Common ProblemsProblem 1 gated does not act as expected Chapter 105 106 Problem 2 gated deletes routes from the routing tableProblem 3 gated adds routes that appear to be incorrect 108 Problem 4 gated does not add routes that you think it must109 Index110 111 112 113 TOS