HP Routing Services -UX 11i v2 manual Routing Protocols

Page 24

Overview

The gated Routing Daemon

Routing Protocols

For routing purposes, networks and gateways are logically grouped into autonomous system (AS). Companies and organizations that want to connect to the Internet and form an AS must obtain a unique AS number from the Internet Assigned Numbers Authority (IANA).

An interior gateway protocol distributes routing information within the autonomous system. An exterior gateway protocol distributes general routing information about an autonomous system to other autonomous systems.

Dividing networks into autonomous systems keeps route changes inside the autonomous system from affecting other autonomous systems. When routes change within an autonomous system, the new information need not be propagated outside the autonomous system if it is irrelevant to gateways outside the autonomous system.

gated supports the following interior gateway protocols, as defined in IETF RFCs:

Routing Information Protocol (RIP) is a common routing protocol used within an autonomous system. A de facto industry standard, it is also used by routed, a service distributed by Berkeley. RIP is not intended for use in wide area network (WAN) applications. There are currently two versions of RIP implementations: Version 1, as defined in RFC 1058, and Version 2, as defined in RFC 1388. gated supports all Version 1 features and most of the features of Version 2. The following Version 2 features are not supported: RIP management information base (MIB) route tag, and route aggregation. gated 3.5.9 supports authentication.

Open Shortest Path First (OSPF), similar to RIP, is a routing protocol that allows routing information to be distributed between routers in an autonomous system. Each router on the network transmits a packet that describes its local links to all other routers. The distributed database is then built from the collected descriptions. If a link fails, updated information floods the network, allowing all routers to recalculate their routing tables at the same time. OSPF is more suitable than RIP for routing in complex networks with many routers. gated 3.0 supports most of the features of OSPF Version 2, as described in RFC 1247, except the IP type of service (TOS) routing feature. Equal cost multipath routes are limited to one hop per destination, because the HP-UX kernel supports only one gateway per route.

24

Chapter 1

Image 24
Contents Edition Manufacturing Part Number B2355-90777 AugustWarranty Government LicenseCopyright Notice Trademark Notices Page Contents Contents Index Contents Intended Audience HP-UX Release Name and Release IdentifierWhat Is in This Document Publishing HistoryDocument 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 Mrouted Routing Daemon Multicasting OverviewDvmrp Protocol Dvmrp Tunnel Dvmrp Tunnel MulticastEndpoint 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 Multicast Routing Support Tools Mrinfo ToolMap-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 Configuring the RIP Protocol RIP Protocol StatementDefault Range 1 Configuration Options Simple RIP Configuration Example of Simple RIP ConfigurationEnd Systems RoutersExample of a Large RIP Configuration RIP RouterMajor Router Cluster Node Isolated NodeRoot Server Single NodeCluster or Root Server Node Controlling RIP Traffic Major RouterConfiguring 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 Networks Statement Network Configuration ExampleInterface Statement Configuring the Ospf Protocol Default None Multicast Router Interface Example Router 193.2.1.35 NetworkRange 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 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 ClientSpecifying a Default Router Installing Static RoutesCustomizing Routes Setting Interface States Specifying Tracing Options Files Option EffectDefault 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 Verifying That gated Is Running 100Troubleshooting gated Checking for Syntax Errors in the Configuration FileTracing gated Activity Operational User Interface for gated gdc 102Gated Routing Table Ripquery ToolOspfmonitor Tool Common Problems Problem 1 gated does not act as expected104 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