HP HP-UX 11i v2 - Manuals
HP HP-UX 11i v2 – Manual in PDF format online.
Manuals:
Manual HP HP-UX 11i v2
Summary
2 Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to thismanual, including, but not limited to, the implied warranties ofmerchantability and fitness for a particular purpose. Hewlett-Packardshall not be hel...
3 © Copyright 1989-93 The Open Software Foundation, Inc.© Copyright 1986 Digital Equipment Corporation.© Copyright 1990 Motorola, Inc.© Copyright 1990, 1991, 1992 Cornell University© Copyright 1989-1991 The University of Maryland© Copyright 1988 Carnegie Mellon University Trademark Notices UNIX is...
Contents 5 About This Document 1. Overview The mrouted Routing Daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Multicasting Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 DVMRP Protocol ....
9 About This Document This manual describes the various routing daemons supported in theHP-UX 11i v2 operating system.It is one of the five new manualsdocumenting the Internet Services suite of products. See “RelatedDocumentation” on page 11 for a list of the other new Internet Servicesmanuals. Thes...
10 Publishing History Table 2 provides, for a particular document, the manufacturing partnumber, the respective operating systems, and the publication date. What Is in This Document HP-UX Routing Services Administrator’s Guide is divided into chapters,each of which contain information about configur...
11 Related Documentation For more information about the Internet Services suite of products, seethe following books: • HP-UX Internet Services Administrator’s Guide Provides an overview of the Internet Services products and describeshow to install and configure them on your HP-UX 11i v2 operatingsys...
12 Many sections of this manual refer to RFCs for more informationabout certain networking topics. These documents publicize Internetstandards, new research concepts, and status memos about theInternet. You can access the full range of RFC documents and moreinformation about the Internet Engineering...
13 a hot link to the manpage itself. From the HP-UXcommand line, you can enter “ man audit ” or “ man 5 audit ” to view the manpage. See man (1). Book Title The title of a book. On the Web and on the InstantInformation CD, it may be a hot link to the book itself. ComputerOut Text displayed by the co...
Chapter 1 15 1 Overview A router is a device that has multiple network interfaces and thattransfers Internet Protocol (IP) packets from one network or subnet toanother within an internetwork. In many IP-related documents, thisdevice is also referred to as a gateway. The term router is used in this
Overview The mrouted Routing Daemon Chapter 1 17 The mrouted Routing Daemon mrouted (pronounced “M route D”) is a routing daemon that forwards IP multicast datagrams, within an autonomous network, through routersthat support IP multicast addressing. mrouted implements the Distance-Vector Multicast R...
Overview The mrouted Routing Daemon Chapter 1 19 In this figure, the mrouted router R1 receives a multicast packet from node M. Because R1 is configured as one end of a tunnel, R1encapsulates the IP multicast packet in a standard unicast IP packetaddressed to the mrouted router R2. The packet, now t...
Overview The gated Routing Daemon Chapter 1 22 The gated Routing Daemon gated (pronounced “gate D”) is a routing daemon that updates routing tables in internetwork routers. Developed at Cornell University, gated handles the Routing Information Protocol (RIP), External GatewayProtocol (EGP), Border G...
Overview The gated Routing Daemon Chapter 1 23 • gated translates among several protocols, passing information within or between IP routing domains or autonomous systems.Autonomous system (AS) is used here to refer to a group ofconnected nodes and routers in the same administrative domain thatexchan...
Overview The gated Routing Daemon Chapter 1 24 Routing Protocols For routing purposes, networks and gateways are logically grouped intoautonomous system (AS). Companies and organizations that want toconnect to the Internet and form an AS must obtain a unique AS numberfrom the Internet Assigned Numbe...
Overview The gated Routing Daemon Chapter 1 26 gated supports the following exterior gateway protocols: • The External Gateway Protocol (EGP) permits a node on theNSFNET backbone to exchange information with other backbonenodes about reaching a destination. You can use EGP tocommunicate routing info...
Chapter 2 29 2 Configuring mrouted This chapter describes how to configure mrouted and the various configuration commands in mrouted . It also provides information on starting and verifying the mrouted installation. A description of the mrouted routing tables is also provided, along with the various...
Configuring mrouted Chapter 2 30 routing support tools. This chapter discusses the following topics: • “How to Configure mrouted” on page 31 • “Starting mrouted” on page 36 • “Verifying mrouted Operation” on page 37 • “Displaying mrouted Routing Tables” on page 38 • “Multicast Routing Support Tools”...
Configuring mrouted How to Configure mrouted Chapter 2 31 How to Configure mrouted When the mrouted daemon starts, it automatically reads the default configuration file /etc/mrouted.conf . You can override the default configuration file by specifying an alternate file while invoking mrouted . See “S...
Configuring mrouted How to Configure mrouted Chapter 2 35 those leaf subnets do not contain members of the multicast destinationgroup. Use only nonpruning mode for testing. The default mode forpruning is on . You can use the name command to assign a name ( boundary-name ) to a boundary (a scoped-add...
Configuring mrouted Starting mrouted Chapter 2 36 Starting mrouted You can start mrouted from the HP-UX prompt or from within a shell script by issuing the following command: /etc/mrouted [-p] [-c config_file] [-d debug_level] The -p option disables pruning by overriding the pruning on statement wit...
Configuring mrouted Verifying mrouted Operation Chapter 2 37 Verifying mrouted Operation You can use one or more of the following methods to verify mrouted operation: • Retrieve the virtual interface table and the multicast routingtable to verify if appropriate virtual interfaces (vifs) are configur...
Configuring mrouted Displaying mrouted Routing Tables Chapter 2 38 Displaying mrouted Routing Tables mrouted contains three routing tables: the virtual interface table, the multicast routing table, and the multicast routing cache table. The virtual interface table displays the following topological ...
Configuring mrouted Displaying mrouted Routing Tables Chapter 2 40 For more information on signals, type man 1M mrouted at the HP-UX command prompt, and see the Signals section.
Configuring mrouted Multicast Routing Support Tools Chapter 2 41 Multicast Routing Support Tools This section describes various multicast routing support tools. The mrinfo Tool mrinfo is a multicast routing tool that requests configuration information from mrouted and prints the information to the s...
Chapter 3 43 3 Configuring gated gated handles multiple routing protocols. You can configure the gated daemon to perform all or any combination of the supported protocols.
Configuring gated Configuration Overview Chapter 3 45 Configuration Overview Upon startup, gated reads the configuration file to decide how each protocol must be used to manage routing. By default, it uses theconfiguration file named /etc/gated.conf . Creating the configuration file is usually the r...
Configuring gated Configuring the RIP Protocol Chapter 3 50 Configuring the RIP Protocol RIP uses hopcount to determine the shortest path to a destination.Hopcount is the number of routers a packet must pass through to reachits destination. If a path is directly connected, it has the lowest hopcount...
Configuring gated Configuring the RIP Protocol Chapter 3 53 • [secondary] authentication [none|[simple|md5] password] specifies the type of authentication for RIP Version 2 packets (it isignored for Version 1 packets). secondary indicates that the secondary authentication is defined; otherwise, the ...
Configuring gated Configuring the RIP Protocol Chapter 3 54 Simple RIP Configuration A simple RIP configuration consists of RIP routers and end nodes thatlisten to information exchanged by the RIP routers, as shown inFigure 3-1. Figure 3-1 and the accompanying text describe configuration of a single...
Configuring gated Configuring the RIP Protocol Chapter 3 55 With one interface, A can listen to RIP traffic on the network but doesnot forward routing information. Routers must be multicasting RIPpackets on this network for A to learn about them and update its routingtable. The first syntax statemen...
Configuring gated Configuring the RIP Protocol Chapter 3 56 Figure 3-2 Example of Large RIP Network A: Cluster Node (or Isolated Node) You need not run gated at this node, because it is on a LAN with only one router. Set a static default route to the cluster server (B) in the /etc/rc.config.d/netcon...
Configuring gated Configuring the RIP Protocol Chapter 3 58 rip yes { interface 121.1.0.10 version 2 multicast; }; static { default interface 121.1.0.10 preference 255 ; }; With one interface, C can listen to RIP traffic on the network but doesnot forward routing information. Routers must be multica...
Configuring gated Configuring the OSPF Protocol Chapter 3 60 Configuring the OSPF Protocol Open Shortest Path First (OSPF) is a link-state routing protocol thatdistributes routing information between routers in a single autonomoussystem (AS). Each OSPF router transmits a packet with a description of...
Configuring gated Configuring the OSPF Protocol Chapter 3 61 Figure 3-3 Areas Defined in an Autonomous System Internal routers have all their directly connected networks in the samearea. In Figure 3-3, routers A, B, and H are internal routers. Routers that are connected to multiple areas are called ...
Configuring gated Configuring the OSPF Protocol Chapter 3 62 Multi-access networks (networks that can be accessed through two ormore neighbor routers) must have one of the routers identified as adesignated router. Designated routers initiate OSPF protocol functions on behalf of thenetwork. In Figure...
Configuring gated Configuring the OSPF Protocol Chapter 3 63 it is not required that an AS boundary router be a backbone router. AnAS boundary router learns about routes other than its attached ASthrough exchanges with other routing protocols or through configurationinformation. Each AS boundary rou...
Configuring gated Configuring the OSPF Protocol Chapter 3 64 6. For multi-access networks, identify a designated router. For NBMA networks, several routers can be designated router candidates.Designated routers are specified in the interface definitions (see “Theinterface Statement” on page 67). 7. ...
Configuring gated Configuring the OSPF Protocol Chapter 3 65 The following sections explain other statements defined for the OSPFprotocol configuration. Defining Areas Each OSPF router is associated with one or more areas. The area statement identifies an OSPF area. The value is in the form of a dot...
Configuring gated Configuring the OSPF Protocol Chapter 3 66 You can define various characteristics for an area and interfaces. Thefollowing sections describe the configuration statements that you can usein defining an area. The networks Statement The networks statement defines the address ranges th...
Configuring gated Configuring the OSPF Protocol Chapter 3 67 The following is an example of the network definition in the Router A’s /etc/gated.conf file: ospf yes area 0.0.0.1 networks { 193.2.1.16 mask 0xfffffff0 ; 193.2.1.32 mask 0xfffffff0 ; } ; interface 193.2.1.33 { ... } ; } ; ... The interfa...
Configuring gated Configuring the OSPF Protocol Chapter 3 68 • A point-to-point network is a network that joins a single pair ofrouters. An example of a point-to-point network is a 56-KB serialline. The following sections describe each type of interface. Multicast Interfaces On multicast networks, a...
Configuring gated Configuring the OSPF Protocol Chapter 3 70 Figure 3-6 shows an example of a router that is connected to a multicastnetwork through the interface 193.2.1.35. Figure 3-6 Multicast Router Interface Example The following is an example of the multicast interface definition in therouter’...
Configuring gated Configuring the OSPF Protocol Chapter 3 71 specified by the routerdeadinterval definition). The value of pollinterval must be larger than the value of hellointerval . A sample value for an X.25 network is 2 minutes. Default: None (you must specify a value) Range: 0 – 255 • routers ...
Configuring gated Configuring the OSPF Protocol Chapter 3 72 interface 193.2.1.35 nonbroadcast cost 5 { routers { 193.2.1.33 eligible ; 193.2.1.46 eligible ; } ; priority 15 ; hellointerval 5 ; routerdeadinterval 20 ; retransmitinterval 10 ; pollinterval 20 ; } ; Point-to-Point Interfaces On point-t...
Configuring gated Configuring the OSPF Protocol Chapter 3 74 Figure 3-8 shows an example of a router (A) that is connected to anon-broadcast, point-to-point network through interface 193.2.1.1. Figure 3-8 Point-to-Point Router Interface Example The following is an example of the interface definition...
Configuring gated Configuring the OSPF Protocol Chapter 3 76 Defining Backbones The OSPF backbone distributes routing information between areas. Youcan define backbones with the same statements and clauses as areas.You need not define the stub statement for a backbone. The backbone statement is used...
Configuring gated Configuring the OSPF Protocol Chapter 3 77 backbone { interface 15.13.115.156 { enable ; transitdelay 20 ; priority 20 ; hellointerval 30 ; routerdeadinterval 120 ; retransmitinterval 60 ; } ; } ; If the router is directly attached via a point-to-point interface to a hostthat is no...
Configuring gated Configuring the OSPF Protocol Chapter 3 78 configured on a per-interface basis. If a router has interfaces to morethan one network, different passwords can be configured. This isillustrated in Figure 3-11. Figure 3-11 Simple Password Authentication The following example shows an au...
Configuring gated Configuring the OSPF Protocol Chapter 3 79 retransmitinterval 10 ; pollinterval 20 ; authkey " travis " ; } ; } ; Cost The outbound side of each router interface is associated with aconfigurable cost. Lower cost interfaces are more likely to be used inforwarding data traffi...
Configuring gated Configuring the OSPF Protocol Chapter 3 80 In Figure 3-12, there are two possible packet routes between nodes A andD: one route goes through node B and the other route goes through nodeC. The cost of each route is calculated as follows: Node A to node B and node B to node D: 5+5 = ...
Configuring gated Configuring the OSPF Protocol Chapter 3 83 Sample OSPF Configuration Figure 3-13 shows an example of two areas. Area 1 is a non-stub area,while area 2 is configured as a stub area. Node B is an area border routerbetween the two areas. Figure 3-13 OSPF Sample Configuration A: Intern...
Configuring gated Configuring the OSPF Protocol Chapter 3 86 The routing table on node A contains routes to 193.2.1.32 and 193.2.1.16.The routing table on node C in the stub area contains routes only to LAN1 and a default router. Accessing the OSPF MIB HP’s gated also provides ospfagt , an OSPF Simp...
Configuring gated Configuring RDP Chapter 3 87 Configuring RDP You can use Router Discovery Protocol (RDP), a standard protocol, toinform hosts of the presence of routers to which they can send packets.You can also use RDP instead of host wiretapping routing protocols (forexample, RIP). It is used i...
Configuring gated Configuring RDP Chapter 3 88 configured on the physical interface. If advertisements are sent to a netor subnet broadcast, only that network’s or subnet’s address is includedin the advertisement. An example of the routerdiscovery server statement is as follows: routerdiscovery serv...
Configuring gated Configuring RDP Chapter 3 89 The host also deletes any routes learned from ICMP redirect s pointing to the invalid addresses. Also, if a router advertisement is not receivedbefore the addresses listed by the host becomes invalid (that is, before itslifetime expires), the routes lea...
Configuring gated Customizing Routes Chapter 3 90 Customizing Routes gated maintains the routing table in user space, and synchronizes this table with the kernel routing table. This section describes statements forsetting up customized routes in the Static class of the gated configuration file, /etc...
Configuring gated Customizing Routes Chapter 3 91 Setting Interface States gated times out routes that pass through interfaces not receiving any RIP, OSPF, or BGP packets. The passive clause in the interface statement of the Static class prevents gated from changing the preference of a route to the ...
Configuring gated Specifying Tracing Options Chapter 3 92 Specifying Tracing Options Trace options specify the desired level of tracing output from gated . Tracing output provides useful system information for setting up a nodeon the network. Use trace options to set up a node and to send a certaint...
Configuring gated Specifying Route Preference Chapter 3 94 Specifying Route Preference gated maintains a routing table that consists of the route information learned from OSPF and from other active routing protocols, such as RIPor EGP. You can also configure static routes in the /etc/gated.conf file...
Configuring gated Specifying Route Preference Chapter 3 96 • In a defaults statement in the OSPF protocol configuration. This preference definition specifies the preference value of ASE routesthat are imported into OSPF. See “AS External Routes (AS BoundaryRouters Only)” on page 80 for more informat...
Configuring gated Importing and Exporting Routes Chapter 3 97 Importing and Exporting Routes You can propagate routes from one routing protocol to another using the import and export control statements. Routes are imported into a gated forwarding table and exported out to the routing protocols. For ...
Configuring gated Importing and Exporting Routes Chapter 3 98 Examples of import and export Statements The following import statement imports a BGP route for network 195.1.1 to the gated forwarding table with a preference of 15: import proto bgp as 1 { 195.1.1 mask 0xffffff00 preference 15; }; The f...
Configuring gated Starting gated Chapter 3 99 Starting gated To start gated , complete the following steps: 1. Set the environment variable GATED to 1 in the file /etc/rc.config.d/netconf to start gated automatically upon system startup. 2. Reboot your system, or issue the following command to run t...
Configuring gated Starting gated Chapter 3 100 For more information about the command-line options, type man 1M gated at the HP-UX prompt. Verifying That gated Is Running Issue the following command to determine if gated is running: /usr/bin/ps -ef | /usr/bin/grep gated This command reports the proc...
Configuring gated Troubleshooting gated Chapter 3 101 Troubleshooting gated This section describes the following techniques for troubleshooting gated and some common problems encountered with gated operation: • “Checking for Syntax Errors in the Configuration File” on page 101 • “Tracing gated Activ...
Configuring gated Troubleshooting gated Chapter 3 102 NOTE In gated 3.5.9 , the two statements in the Trace class ( tracefile and traceoptions ) are combined into one traceoptions statement. Therefore, the tracefile statement is eliminated. For details about the new syntax, type man 4 gated.conf at ...
Configuring gated Troubleshooting gated Chapter 3 103 gdc determines the state of gated and produces a reliable exit status during errors, which is useful in shell scripts that manipulate gated . The syslogd facility is used to log all the commands and error messages generated during gdc operation. ...
Configuring gated Troubleshooting gated Chapter 3 104 Common Problems This section discusses the common problems experienced during gated operation. Problem 1: gated does not act as expected. First, check the syslogd output for any syntax errors that may have been flagged. To detect incorrect config...
Configuring gated Troubleshooting gated Chapter 3 105 Interface Configuration Without strictintfs Option Specified Thefollowing configuration references a non-existent interface, but does notinclude the strictintfs option: traceoptions "tt" general; interfaces { interface lan0 lan1 lan3 pass...
Configuring gated Troubleshooting gated Chapter 3 106 lan2 Index 3 Address 802.2 8:0:9:3d:2c:b1 Change: <> State: <> Refcount: 2 Up-down transitions: 0 198.1.1.17 Metric: 0 MTU: 1436 Refcount: 4 Preference: 0 Down: 120 Change: <> State: <Up Broadcast Multicast > Broadcast Add...
Configuring gated Troubleshooting gated Chapter 3 108 You may have to repeat this process several times to track down theoriginal source of the route. If you expect the route to go through adifferent router, turn on gated tracing. The tracing tells you which routers are advertising this route and th...
109 Index Aall hosts group , 19 area border router , 61 configuration example , 75 area statement in /etc/gated.conf file , 65 areas, OSPF , 63 example configuration , 65 AS , 23 See autonomous system Assigned Numbers Authority , 63 authentication in OSPF , 77 authkey statement in /etc/gated.conf fi...
Index 111 IP type of service routing feature , 24 Kkernel routing table , 22 , 100 Llink state advertisement , 62 Mmanagement information base See MIB metricin clause in /etc/gated.conf file , 52 metricout clause in /etc/gated.conf file , 52 MIB , 24 mixing protocols , 25 mrouted configuration comma...
Index 112 password authentication in OSPF , 78 configuration example , 78 phyint command in mrouted , 32 point-to-point network interface , 68 , 72 configuration example , 74 pollinterval statement in /etc/gated.conf file , 71 , 73 preference clause in /etc/gated.conf file , 51 , 81 , 94 priority st...
Index 113 TOS routing feature , 24 traceoptions statement in /etc/gated.conf file , 53 tracing gated , 92 , 99 , 101 transmitdelay statement in /etc/gated.conf file , 68 TRPB , 18 Truncated Reverse Path Broadcasting , 18 See TRPB trustedgateways clause in /etc/gated.conf file , 53 , 59 TTL in mroute...
HP Manuals
-
HP CM1312 MFP
Manual
-
HP DV2700
Manual
-
HP 203A
Manual
-
HP 13-2000
Manual
-
HP 1320NW
Manual
-
HP D4360
Manual
-
HP W19Q
Manual
-
HP FC2143
Manual
- HP ZV6000 Manual
-
HP 7500
Manual
-
HP C4591A
Manual
-
HP E4411B
Manual
-
HP N6310
Manual
- HP nx7000 Manual
-
HP DL120
Manual
- HP w1707 Manual
-
HP CV136A#B1H
Manual
-
HP X585z
Manual
-
HP 686714-S01
Manual
- HP 1200 series Manual