HP Routing Services -UX 11i v2 manual Configuring gated

Page 46

Configuring gated

Configuration Overview

If you do not want to use any of the gated 3.5.9 features added at HP-UX 10.30, and do not have any tracing configured in your gated 3.0 /etc/gated.conf configuration file, you can continue to use your 3.0 configuration file with gated 3.5.9. If you do have tracing configured in your gated 3.0 file, you must run the conv_config conversion tool on the file so that it follows the 3.5.9 syntax (see “Converting the Configuration File from 3.0 to 3.5.9” on page 48). For more information about the 3.5.9 syntax, type man 4 gated.conf at the HP-UX prompt.

To check your gated 3.0 configuration file for compatibility with the 3.5.9 syntax, issue the following command at the command prompt:

gated -c[-fconfig_file_name]

You need to specify -fconfig_file_name only if the configuration file you are checking is not the default file.

If you are still running gated 2.0, you must manually edit the /etc/gated.conf file so that it follows the 3.5.9 syntax. The conversion utility that was previously available to migrate from gated 2.0 to 3.0 is no longer available, and you can only use the conv_config tool when migrating from 3.0 to 3.5.9.

Configuring gated

To configure gated, complete the following steps:

1.Issue the following command to create the gated configuration file

/etc/gated.conf: gdc newconf

If the protocols are not explicitly specified, gated assumes the following:

rip yes; ospf no;

2.Determine how you want to configure each routing protocol, then add the appropriate statements for each protocol to the /etc/gated.conf configuration file.

See the section “Configuring the OSPF Protocol” on page 60 for OSPF routing configuration statements. RIP configuration is described in “Configuring the RIP Protocol” on page 50. For a more detailed description of the configuration statements, type man 4 gated.conf at the HP-UX prompt.

46

Chapter 3

Image 46
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 Map-mbone Tool Multicast Routing Support ToolsMrinfo 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 End Systems Simple RIP ConfigurationExample of Simple RIP Configuration RoutersExample of a Large RIP Configuration RIP RouterRoot Server Major RouterCluster Node Isolated Node 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