HP Routing Services -UX 11i v2 manual Default

Page 81

Configuring gated

Configuring the OSPF Protocol

gated supports the use of route information from other autonomous systems that use other routing protocols, such as EGP. AS boundary routers send AS external link advertisements and flood the AS with advertisements (with the exception of configured stub areas). A single AS external link advertisement is sent for each external route that the AS boundary router has learned about.

Externally defined routing information and OSPF routing information are maintained separately. In addition, you can tag the externally defined routing information, to identify and store the source of the information along with the route information.

Statements in the Control class of the /etc/gated.conf file control the importing of routes from routing protocols to a gated forwarding table and the exporting of routes from the gated forwarding table. See “Importing and Exporting Routes” on page 97 for more information.

You must specify the defaults statements in the OSPF protocol configuration only for AS boundary routers. These statements specify how external routing information is handled by the OSPF protocol. You can define the following in the defaults statements:

preference specifies the preference value given to the ASE routes imported from other autonomous systems. The preference value determines the order of routes to the same destination in the routing table. gated allows one route to a destination per protocol for each AS. In case of multiple routes, the route used is determined by the lowest preference value (see “Specifying Route Preference” on page 94 for more information). If a preference value is not specified, ASE routes are imported with a preference of 150.

Default: 150

Range: 0 (most preferred) – 255 (least preferred)

cost specifies the cost associated with an OSPF route that is exported to other AS boundary routers.

Default: 0

Range: 0 – 65535

tag specifies an OSPF tag placed on all routes exported by gated into OSPF. You can tag each external route by the AS boundary router to identify the source of the routing information. The tag

Chapter 3

81

Image 81
Contents Manufacturing Part Number B2355-90777 August EditionWarranty Government LicenseCopyright Notice Trademark Notices Page Contents Contents Index Contents HP-UX Release Name and Release Identifier Intended AudienceWhat Is in This Document Publishing HistoryDocument Organization Chapter Description 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 Mrouted Routing Daemon Multicasting OverviewDvmrp Protocol Dvmrp Tunnel Dvmrp Tunnel MulticastEndpoint 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 Mrinfo Tool Multicast Routing Support ToolsMap-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 RIP Protocol Statement Configuring the RIP ProtocolDefault Range 1 Configuration Options Example of Simple RIP Configuration Simple RIP ConfigurationEnd Systems RoutersRIP Router Example of a Large RIP ConfigurationCluster Node Isolated Node Major RouterRoot Server Single NodeCluster or Root Server Node Major Router Controlling RIP TrafficConfiguring the RIP Protocol Configuring the Ospf Protocol Areas Defined in an Autonomous System AreaNetwork Router Area Configuring the Ospf Protocol Planning Your Ospf Configuration Enabling Ospf Defining Areas Area Border Router Configuration ExampleArea To Network a 193.2.1.33 Border Router To Network B Network Configuration Example Networks StatementInterface Statement Configuring the Ospf Protocol Default None Router 193.2.1.35 Network Multicast Router Interface ExampleRange 0 Non-Broadcast Router Interface ExampleRouter 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 Point-to-Point Router Interface Example Router 193.2.1.1 193.2.1.2Stub Areas 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 ServerSpecifying a Default Router Installing Static RoutesCustomizing Routes Setting Interface States Specifying Tracing Options Option Effect FilesDefault Preference Values of Routes Specifying Route PreferenceRoute Type Preference BGP Specifying Route Preference Importing and Exporting Routes Import StatementExport Statement Examples of import and export Statements Command Line Options for gated Starting gatedFlag Effect 100 Verifying That gated Is RunningTroubleshooting gated Checking for Syntax Errors in the Configuration FileTracing gated Activity 102 Operational User Interface for gated gdcGated Routing Table Ripquery ToolOspfmonitor Tool Common Problems Problem 1 gated does not act as expected104 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