HP Routing Services -UX 11i v2 manual Planning Your Ospf Configuration

Page 63

Configuring gated

Configuring the OSPF Protocol

it is not required that an AS boundary router be a backbone router. An AS boundary router learns about routes other than its attached AS through exchanges with other routing protocols or through configuration information. Each AS boundary router calculates paths to destinations outside of its attached AS. It then advertises these paths to all routers in its AS.

Following are the two levels of routing in an AS:

Intra-area routing, where the source and destination of a packet both reside in the same area. Routing is handled by internal routers.

Inter-area routing, where the source and destination of a packet reside in different areas. Packets travel through an intra-area route from the source to an area border router, then travel an inter-area route on a backbone path between areas. Finally, they travel another intra-area route to the destination.

Planning Your OSPF Configuration

Following is a suggested sequence of steps in planning the OSPF routing in your autonomous system:

1.If your AS exchanges routing information with other autonomous systems, you need to obtain a unique AS number from the Internet Assigned Numbers Authority.

2.Partition the AS into areas. You can partition any interconnected networks into lists of address ranges, with each address range represented as an address-mask pair. The area border routers summarize the area content for each address range and distribute the summaries to the backbone. See “The networks Statement” on page 66 for more information on specifying address ranges.

3.Identify the internal routers for each area. An internal router configuration contains only one area definition.

4.Identify the area border routers and the areas to which they interface. The configuration for each area border router contains multiple area definitions.

5.For each router, determine the interface type for each area. Router interfaces can be multicast, non-broadcast multi-access (NBMA), or point-to-point. See “The interface Statement” on page 67 for more information on router interfaces.

Chapter 3

63

Image 63
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 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 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