HP Routing Services -UX 11i v2 manual Point-to-Point Router Interface Example, Stub Areas

Page 74

Configuring gated

Configuring the OSPF Protocol

Figure 3-8 shows an example of a router (A) that is connected to a non-broadcast, point-to-point network through interface 193.2.1.1.

Figure 3-8

Point-to-Point Router Interface Example

 

 

 

 

 

 

 

 

 

Router

 

 

 

 

 

 

 

 

 

 

 

A

193.2.1.1

193.2.1.2

 

 

 

 

 

 

Router

B

The following is an example of the interface definition in router A’s /etc/gated.conf file:

interface 193.2.1.1 nonbroadcast cost 5 { hellointerval 30 ; routerdeadinterval 30 ; retransmitinterval 30 ; pollinterval 30 ;

} ;

If the router A is connected to a multicast, point-to-point network, you must omit the nonbroadcast clause and the pollinterval statement.

Stub Areas

By default, AS external link advertisements (routes to destinations outside the AS) are propagated to every router in every area in the AS. You can configure certain OSPF areas as stub areas. AS external link advertisements are not flooded through stub areas. This reduces the size of the topology database that must be maintained by internal routers in the stub area and reduces the protocol traffic through the area. For example, if all the inter-area traffic for an area must go through a single router, then it is not necessary for all routers in the area to receive inter-area routing information.

An area border router advertises a default route in the stub area as the summary of all the IP destinations that are reachable outside the AS. Summary link advertisements (routes to destinations outside the area but within the AS) are still sent into the stub area.

The stub statement specifies that the area is a stub area. You can optionally define a cost clause to specify the cost associated with the default route that is advertised in the stub area.

74

Chapter 3

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