HP (Hewlett-Packard) HP-UX 11i v2 инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации HP (Hewlett-Packard) HP-UX 11i v2. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции HP (Hewlett-Packard) HP-UX 11i v2 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции HP (Hewlett-Packard) HP-UX 11i v2 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций HP (Hewlett-Packard) HP-UX 11i v2, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции HP (Hewlett-Packard) HP-UX 11i v2 должна находится:
- информация относительно технических данных устройства HP (Hewlett-Packard) HP-UX 11i v2
- название производителя и год производства оборудования HP (Hewlett-Packard) HP-UX 11i v2
- правила обслуживания, настройки и ухода за оборудованием HP (Hewlett-Packard) HP-UX 11i v2
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск HP (Hewlett-Packard) HP-UX 11i v2 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок HP (Hewlett-Packard) HP-UX 11i v2 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта HP (Hewlett-Packard), в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания HP (Hewlett-Packard) HP-UX 11i v2, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства HP (Hewlett-Packard) HP-UX 11i v2, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции HP (Hewlett-Packard) HP-UX 11i v2. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    HP-UX Routing Services Administrator’ s Guide HP-UX 11i v2 Edition 1 Manufacturing P art Number: B2355-90777 August 2003 U .S .A. © Copyright 2003 Hewlett-P ackard Development Company L.P . All Rights Reserved.[...]

  • Страница 2

    2 Legal Notices The information in this document is subject to change without notice. Hewlett-P ackard makes no warranty of any kind with regard to this manual, including , but not limited to , the implied warranties of merchantability and fitness f or a particular purpose. Hewlett-P ackard shall not be held liable for errors contained herein or d[...]

  • Страница 3

    3 © Copyright 1989-93 The Open Software F oundation, 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 T rademark Notices UNIX  is a registered trademark in the Uni[...]

  • Страница 4

    4[...]

  • Страница 5

    Contents 5 About This Document 1. Overview The mrouted Routing Daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Multicasting Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 DVMRP Protocol . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 6

    Contents 6 D: Major Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 E: Major Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Controlling RIP Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 7

    Contents 7 Tracing gated Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Operational User Interface for gated – gdc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 The gated Routing T able . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 8

    Contents 8[...]

  • Страница 9

    9 About This Document This manual describes the various routing daemons supported in the HP-UX 11i v2 operating system.It is one of the five new manuals documenting the Internet Services suite of products. See “Related Documentation” on page 11 for a list of the other new Internet Services manuals . These manuals replace the manual Installing [...]

  • Страница 10

    10 Publishing History T able 2 provides , for a particular document, the manufacturing part number , 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 configuring the routing services . T able 3 desc[...]

  • Страница 11

    11 Related Documentation F or more information about the Internet Services suite of products , see the following books: • HP-UX Internet Services Administrator’s Guide Provides an overview of the Internet Services products and describes how to install and configure them on your HP-UX 11i v2 operating system. Y ou can access this manual at the [...]

  • Страница 12

    12 Many sections of this manual refer to RFCs for more information about certain networking topics . These documents publicize Internet standards , new research concepts , and status memos about the Internet. Y ou can access the full range of RFC documents and more information about the Internet Engineering T ask F orce (IETF) at the following URL:[...]

  • Страница 13

    13 a hot link to the manpage itself . From the HP-UX command 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 W eb and on the Instant Information CD , it may be a hot link to the book itself . ComputerOut T ext displayed by the computer . Command A command name, qu[...]

  • Страница 14

    14 • The version of HP-UX that you are using.[...]

  • Страница 15

    Chapter 1 15 1 Overview A router is a device that has multiple network interfaces and that transfers Internet Protocol (IP) packets from one network or subnet to another within an internetwork. In many IP-related documents, this device is also referred to as a gatewa y . The term router is used in this[...]

  • Страница 16

    Overview Chapter 1 16 manual. The router stores all the routing information in the form of a routing table. Routing tables contain the routes to reach a particular network, and also identify the router to which the datagram packet can be passed for this purpose. The routing tables must contain the latest routing information. Routing protocols perfo[...]

  • Страница 17

    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 routers that support IP multicast addressing. mrouted implements the Distance-V ector Multicast Routing Protocol (DVMRP). The ultimate destin[...]

  • Страница 18

    Overview The mrouted Routing Daemon Chapter 1 18 of the multicast datagrams. Y ou can achieve this by using topological knowledge of the network to implement a multicast forwarding algorithm called Truncated Reverse P ath Broadcasting (TRPB). mrouted structures routing information in the form of a pruned broadcast delivery tree that contains routin[...]

  • Страница 19

    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, R1 encapsulates the IP multicast packet in a standard unicast IP packet addressed to the mrouted router R2. The packet, now treated as a normal IP packet, is sent through [...]

  • Страница 20

    Overview The mrouted Routing Daemon Chapter 1 20 Normally , IP multicast addresses are mapped to 802.3 or Ethernet multicast addresses. The IP multicasting addressing sc heme, similar to Ethernet’ s scheme, uses the datagram’s destination address to indicate multicast delivery . When an IP multicast address is mapped to an Ethernet multicast ad[...]

  • Страница 21

    Overview The mrouted Routing Daemon Chapter 1 21 also defines IGMP message types that enable hosts to join and leave multicast groups, and that allow multicast routers to query one another for routing information.[...]

  • Страница 22

    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 Gatewa y Protocol (EGP), Border Gatewa y Protocol (BGP), Open Shortest Path [...]

  • Страница 23

    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 of connected nodes and routers in the same administrative domain that exchange routing information via a common routing p[...]

  • Страница 24

    Overview The gated Routing Daemon Chapter 1 24 Routing Protocols F or 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 gatewa y pro[...]

  • Страница 25

    Overview The gated Routing Daemon Chapter 1 25 • HELLO is designed to work with routers called Fuzzballs. Most installations use RIP or OSPF instead of HELLO . The HELLO protocol is no longer supported on HP-UX. Y ou can use RIP or OSPF instead, because they are internal routing protocols. NO TE Do not mix RIP and OSPF protocols within a single n[...]

  • Страница 26

    Overview The gated Routing Daemon Chapter 1 26 gated supports the following exterior gatewa y protocols: • The External Gatewa y Protocol (EGP) permits a node on the NSFNET backbone to exchange information with other backbone nodes about reaching a destination. Y ou can use EGP to communicate routing information between autonomous systems. The EG[...]

  • Страница 27

    Overview The gated Routing Daemon Chapter 1 27 packets . It is used instead of, or in addition to , a statically configured default router . Router discovery consists of two parts: a server part that runs on routers , and a client part that runs on hosts .[...]

  • Страница 28

    Overview The gated Routing Daemon Chapter 1 28[...]

  • Страница 29

    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 multicast[...]

  • Страница 30

    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 • “V erifying mrouted Operation” on page 37 • “Displaying mrouted Routing T ables” on page 38 • “Multicast Routing Support T ools” on page 41[...]

  • Страница 31

    Configuring mrouted How to Configure mr outed Chapter 2 31 How to Configure mrouted When the mrouted daemon starts , it automatically reads the default configuration file /etc/mrouted.conf . Y ou can override the default configuration file by specifying an alternate file while invoking mrouted . See “Starting mrouted” on page 36 for mor[...]

  • Страница 32

    Configuring mrouted How to Configure mr outed Chapter 2 32 Y ou can use the phyint command to disable multicast routing on the physical interface identified by the local IP address, local-addr (see Figure 2-1), or to associate a nondefault metric or threshold with the specified physical interface. Alternatively , you can replace the local IP ad[...]

  • Страница 33

    Configuring mrouted How to Configure mr outed Chapter 2 33 NO TE A phyint command must precede a tunnel command. All the phyint and tunnel command options must be placed on a single line except for the boundary and altnet options , which can begin on a separate line. Figure 2-1 Multicast Network Example Configuration The metric is the cost, or o[...]

  • Страница 34

    Configuring mrouted How to Configure mr outed Chapter 2 34 The TTL value of forwarded packets is only compared with the threshold value; it is not decremented by the threshold . An application that initiates the IP multicast datagram sets the TTL, and typically represents the number of subnets, or hops , the datagram has to traverse to reach its [...]

  • Страница 35

    Configuring mrouted How to Configure mr outed Chapter 2 35 those leaf subnets do not contain members of the multicast destination group. Use only nonpruning mode for testing. The default mode for pruning is on . Y ou can use the name command to assign a name ( boundary-name ) to a boundary (a scoped-addr / mask-len pair) to simplify the configur[...]

  • Страница 36

    Configuring mrouted Starting mrouted Chapter 2 36 Starting mrouted Y ou 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 within the /etc/mrouted.conf configuration file[...]

  • Страница 37

    Configuring mrouted V erifying mrouted Operation Chapter 2 37 V erifying mrouted Operation Y ou can use one or more of the following methods to verify mrouted operation: • Retrieve the virtual interface table and the multicast routing table to verify if appropriate virtual interfaces (vifs) are configured. See “Displaying mrouted Routing T ab[...]

  • Страница 38

    Configuring mrouted Displaying mr outed Routing T ables Chapter 2 38 Displaying mrouted Routing T ables 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 information for each virtual interface: • [...]

  • Страница 39

    Configuring mrouted Displaying mr outed Routing T ables Chapter 2 39 The multicast routing table displays connectivity information for each subnet from which a multicast datagram can originate. The multicast routing cache table is a duplicate copy of the kernel forwarding cache table. It contains the status information for multicast destination gr[...]

  • Страница 40

    Configuring mrouted Displaying mr outed Routing T ables Chapter 2 40 F or more information on signals , type man 1M mrouted at the HP-UX command prompt, and see the Signals section.[...]

  • Страница 41

    Configuring mrouted Multicast Routing Support T ools Chapter 2 41 Multicast Routing Support T ools This section describes various multicast routing support tools. The mrinfo T ool mrinfo is a multicast routing tool that requests configuration information from mrouted and prints the information to the standard output. By default, mrouted prints co[...]

  • Страница 42

    Configuring mrouted Multicast Routing Support T ools Chapter 2 42[...]

  • Страница 43

    Chapter 3 43 3 Configuring gated gated handles multiple routing protocols. Y ou can configure the gated daemon to perform all or any combination of the supported protocols.[...]

  • Страница 44

    Configuring gated Chapter 3 44 The HP-UX 11i v2 operating system supports gated 3.5.9. This chapter contains information about how to configure gated on various routing protocols . It also describes how to specify the tracing options and route preference in gated , and discusses certain troubleshooting measures . This chapter discusses the follow[...]

  • Страница 45

    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 the configuration file named /etc/gated.conf . Creating the configuration file is usually the responsibility of the system administrato[...]

  • Страница 46

    Configuring gated Configuration Overview Chapter 3 46 If you do not want to use any of the gated 3.5.9 features added at HP-UX 10.30, and do not have any tracing configured in your gated 3.0 /etc/gated.conf configuration file, you can continue to use your 3.0 configuration file with gated 3.5.9. If you do have tracing configured in your gat[...]

  • Страница 47

    Configuring gated Configuration Overview Chapter 3 47 3. Add statements for any additional configuration information. See “Customizing Routes” on page 90, “Specifying Tracing Options” on page 92, and “Specifying Route Preference” on page 94 for other configuration options. In particular , you may w ant to prevent gated from deleting[...]

  • Страница 48

    Configuring gated Configuration Overview Chapter 3 48 NO TE Y ou can also use the command gdc checkconf to parse the /etc/gated.conf file for syntax errors. gdc issues a message to indicate the parsing errors. If there are any errors , the error output is saved to a file for further inspection. F or more details , type man 1M gdc at the HP-UX p[...]

  • Страница 49

    Configuring gated Configuration Overview Chapter 3 49 1. Retain a copy of the gated 3.0 configuration file, because you cannot specify the same file for input and output while running the conv_config conversion tool. F or example, if you are using /etc/gated.conf for 3.0, type the following command: cp /etc/gated.conf /etc/gated.conf.30 2. Iss[...]

  • Страница 50

    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 reach its destination. If a path is directly connected, it has the lowest hopcount of 1. If the path passes through a single ro[...]

  • Страница 51

    Configuring gated Configuring the RIP Protocol Chapter 3 51 trustedgateways router_list ; sourcegateways router_list ; traceoptions traceoptions ; }]; Curly braces ({}) are part of the syntax for the RIP protocol statement. Square brackets ([]) are not part of the syntax; they are used here to indicate optional parameters. yes (or on ) informs ga[...]

  • Страница 52

    Configuring gated Configuring the RIP Protocol Chapter 3 52 Range: 1 – 16 • query authentication [none|[[simple|md5] password ]] specifies the authentication, if any , that is required for query packets that do not originate from routers. If authentication consisting of only a password is required, specify simple password or password . If th[...]

  • Страница 53

    Configuring gated Configuring the RIP Protocol Chapter 3 53 • [secondary] authentication [none|[simple|md5] password ] specifies the type of authentication for RIP V ersion 2 pac kets (it is ignored for V ersion 1 packets). secondary indicates that the secondary authentication is defined; otherwise, the primary authentication is defined. If [...]

  • Страница 54

    Configuring gated Configuring the RIP Protocol Chapter 3 54 Simple RIP Configuration A simple RIP configuration consists of RIP routers and end nodes that listen to information exchanged by the RIP routers , as shown in Figure 3-1. Figure 3-1 and the accompanying text describe configuration of a single end system (node A) and a RIP router (nod[...]

  • Страница 55

    Configuring gated Configuring the RIP Protocol Chapter 3 55 With one interface , A can listen to RIP traffic on the network but does not forward routing information. Routers must be multicasting RIP packets on this network for A to learn about them and update its routing table. The first syntax statement enables RIP on node A ’s interface (12[...]

  • Страница 56

    Configuring gated Configuring the RIP Protocol Chapter 3 56 Figure 3-2 Example of Large RIP Network A: Cluster Node (or Isolated Node) Y ou 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/netconf file as follows: ROUTE_DESTINATION[0]= &quo[...]

  • Страница 57

    Configuring gated Configuring the RIP Protocol Chapter 3 57 B: Cluster (or Root) Server Node Run gated to get routing information about the 121.0.0.0 network. Set up /etc/gated.conf as follows: interfaces { interface 130.15.0.6 121.1.0.92 passive ; }; rip yes { interface 130.15.0.6 noripout ; interface 121.1.0.92 version 2 multicast; }; static { [...]

  • Страница 58

    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 does not forward routing information. Routers must be multicasting RIP packets on this network for C to le[...]

  • Страница 59

    Configuring gated Configuring the RIP Protocol Chapter 3 59 The options for limiting RIP routing information imported by gated in the RIP protocol definition in the /etc/gated.conf file are as follows: • The noripin clause in the interface definition informs gated not to process RIP information received through the listed interfaces. • The[...]

  • Страница 60

    Configuring gated Configuring the OSPF Protocol Chapter 3 60 Configuring the OSPF Protocol Open Shortest P ath First (OSPF) is a link-state routing protocol that distributes routing information between routers in a single autonomous system (AS). Each OSPF router transmits a packet with a description of its local links to all other OSPF routers .[...]

  • Страница 61

    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 same area. In Figure 3-3, routers A, B , and H are internal routers. Routers that are connected to multiple areas are called area border routers . In Figure 3-3, routers [...]

  • Страница 62

    Configuring gated Configuring the OSPF Protocol Chapter 3 62 Multi-access networks (networks that can be accessed through two or more neighbor routers) must have one of the routers identified as a designated router. Designated routers initiate OSPF protocol functions on behalf of the network. In Figure 3-3, you can access network 1 through the n[...]

  • Страница 63

    Configuring gated Configuring the OSPF Protocol Chapter 3 63 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 outsid[...]

  • Страница 64

    Configuring gated Configuring the OSPF Protocol Chapter 3 64 6. F or multi-access networks, identify a designated router . F or NBMA networks , several routers can be designated router candidates. Designated routers are specified in the interface definitions (see “The interface Statement” on page 67). 7. Y ou must decide if you want to assi[...]

  • Страница 65

    Configuring gated Configuring the OSPF Protocol Chapter 3 65 The following sections explain other statements defined for the OSPF protocol 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 dotted quad, or a number between 1 and 429496[...]

  • Страница 66

    Configuring gated Configuring the OSPF Protocol Chapter 3 66 Y ou can define various characteristics for an area and interfaces . The following sections describe the configuration statements that you can use in defining an area. The networks Statement The networks statement defines the address ranges that forms an OSPF area. This definition [...]

  • Страница 67

    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 interface Statement The interface statement in the O[...]

  • Страница 68

    Configuring gated Configuring the OSPF Protocol Chapter 3 68 • A point-to-point network is a network that joins a single pair of routers. An example of a point-to-point network is a 56-KB serial line. The following sections describe each type of interface. Multicast Interfaces On multicast networks , an OSPF router dynamically detects its neigh[...]

  • Страница 69

    Configuring gated Configuring the OSPF Protocol Chapter 3 69 Default: None (you must specify a value) Range: Integer between 0 – 255 NO TE The hellointerval value must be the same for all OSPF routers. • routerdeadinterval specifies the time interval (in seconds) for which the Hello packets are not received from a router before it is conside[...]

  • Страница 70

    Configuring gated Configuring the OSPF Protocol Chapter 3 70 Figure 3-6 shows an example of a router that is connected to a multicast network 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 the router’ s /etc/gated.conf file: interface 193.2.1[...]

  • Страница 71

    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 specify the list of routers attached to th[...]

  • Страница 72

    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 ; }; P oint-to-P oint Interfaces On point-to-point networks, an OSPF router dynamically det[...]

  • Страница 73

    Configuring gated Configuring the OSPF Protocol Chapter 3 73 • routerdeadinterval specifies the time interval (in seconds) for which the Hello packets are not received from a router before it is considered down or inactive by its neighbors. This value must be a multiple of the hellointerval value. Default: None (you must specify a value) Range[...]

  • Страница 74

    Configuring gated Configuring the OSPF Protocol Chapter 3 74 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 P oint-to-P oint Router Interface Example The following is an example of the interface definition in router A ’ s /etc/gated.conf file: in[...]

  • Страница 75

    Configuring gated Configuring the OSPF Protocol Chapter 3 75 Figure 3-9 shows an example of an area border router that is connected to area 0.0.0.2 through interface 193.2.1.20. Because all traffic in and out of the area 0.0.0.2 must pass through router A, it is not necessary for the area’ s internal routers, suc h as router B, to receive inte[...]

  • Страница 76

    Configuring gated Configuring the OSPF Protocol Chapter 3 76 Defining Backbones The OSPF backbone distributes routing information between areas . Y ou can define backbones with the same statements and clauses as areas . Y ou need not define the stub statement for a backbone . The backbone statement is used to define a router as a backbone rou[...]

  • Страница 77

    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 host that is not running OSPF , you can prevent sending OSPF Hel[...]

  • Страница 78

    Configuring gated Configuring the OSPF Protocol Chapter 3 78 configured on a per -interface basis. If a router has interfaces to more than one network, different passwords can be configured. This is illustrated in Figure 3-11. Figure 3-11 Simple P assword Authentication The following example shows an authtype statement that enables a simple pas[...]

  • Страница 79

    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 a configurable cost. Lower cost interfaces are more likely to be used in forwarding data traffic . Cost values are assigned at the discreti[...]

  • Страница 80

    Configuring gated Configuring the OSPF Protocol Chapter 3 80 In Figure 3-12, there are two possible packet routes between nodes A and D: one route goes through node B and the other route goes through node C . The cost of each route is calculated as follows: Node A to node B and node B to node D: 5+5 = 10 Node A to node C and node C to node D: 5+1[...]

  • Страница 81

    Configuring gated Configuring the OSPF Protocol Chapter 3 81 gated supports the use of route information from other autonomous systems that use other routing protocols, suc h 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 [...]

  • Страница 82

    Configuring gated Configuring the OSPF Protocol Chapter 3 82 value can be an unsigned 31-bit number . Y ou can also specify tag as as_tag , where as_tag is an unsigned 12-bit number that is automatically assigned. • type determines how ASE routes imported into OSPF are treated. Type 1 routes must be routes from internal gatewa y protocols with [...]

  • Страница 83

    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 router between the two areas. Figure 3-13 OSPF Sample Configuration A: Internal Router (Non-Stub Area) Set up /etc/gate[...]

  • Страница 84

    Configuring gated Configuring the OSPF Protocol Chapter 3 84 # Router A Configuration (non-stub area) OSPF yes { area 0.0.0.1 { interface 193.2.1.35 cost 5 { priority 5 ; enable ; hellointerval 5 ; routerdeadinterval 20 ; retransmitinterval 10 ; }; }; }; The configuration for the internal router A is for a multicast interface. F or an NBMA inter[...]

  • Страница 85

    Configuring gated Configuring the OSPF Protocol Chapter 3 85 }; area 0.0.0.1 { interface 193.2.1.33 cost 5 { priority 15 ; enable ; hellointerval 5 ; routerdeadinterval 20 ; retransmitinterval 10 ; }; }; area 0.0.0.2 { interface 193.2.1.17 cost 5 { priority 15 ; enable ; hellointerval 5 ; routerdeadinterval 20 ; retransmitinterval 10 ; }; }; back[...]

  • Страница 86

    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 LAN 1 and a default router . Accessing the OSPF MIB HP’ s gated also provides ospfagt , an OSPF Simple Management Network Protocol (SNMP) suba[...]

  • Страница 87

    Configuring gated Configuring RDP Chapter 3 87 Configuring RDP Y ou can use Router Discovery Protocol (RDP), a standard protocol, to inform hosts of the presence of routers to which they can send packets . Y ou can also use RDP instead of host wiretapping routing protocols (for example, RIP). It is used instead of , or in addition to, ha ving st[...]

  • Страница 88

    Configuring gated Configuring RDP Chapter 3 88 configured on the physical interface. If advertisements are sent to a net or subnet broadcast, only that network’ s or subnet’s address is included in the advertisement. An example of the routerdiscovery server statement is as follows: routerdiscovery server yes { interface lan1 lan2 maxadvinter[...]

  • Страница 89

    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 received before the addresses listed by the host becomes invalid (that is , before its lifetime expires), the routes learned from that router are deleted by the hos[...]

  • Страница 90

    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 for setting up customized routes in the Static class of the gated configuration file, /etc/gated.conf . Y ou can use these statements to[...]

  • Страница 91

    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 interface if routing information is not receiv[...]

  • Страница 92

    Configuring gated Specifying T racing Options Chapter 3 92 Specifying T racing Options Trace options specify the desired level of tracing output from gated . Tracing output provides useful system information for setting up a node on the network. Use trace options to set up a node and to send a certain type of tracing to a log file. Y ou can speci[...]

  • Страница 93

    Configuring gated Specifying T racing Options Chapter 3 93 Some of the options specified in T able 3-2 do not apply to all of the protocols . F or more information on options applicable for each protocol and for the different trace options available within the configuration file , type man 4 gated.conf at the HP-UX prompt. See “Troubleshootin[...]

  • Страница 94

    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, suc h as RIP or EGP . Y ou can also configure static routes in the /etc/gated.conf file with one or more static clauses (see “In[...]

  • Страница 95

    Configuring gated Specifying Route Preference Chapter 3 95 Y ou can define preference in the /etc/gated.conf file configuration file in the following instances: • In the static route definition in the Static class . This preference definition sets the preference for static routes. (See “Customizing Routes” on page 90 for more informati[...]

  • Страница 96

    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 routes that are imported into OSPF . See “ AS External Routes (AS Boundary Routers Only)” on page 80 for more information. ASE routes are imported into OS[...]

  • Страница 97

    Configuring gated Importing and Expor ting Routes Chapter 3 97 Importing and Exporting Routes Y ou 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 . F or more information on import and export statem[...]

  • Страница 98

    Configuring gated Importing and Expor ting 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 following export statement exports to OSPF the AS[...]

  • Страница 99

    Configuring gated Starting gated Chapter 3 99 Starting gated T o 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 the gated startup script: /sbin/init.d/gated sta[...]

  • Страница 100

    Configuring gated Starting gated Chapter 3 100 F or more information about the command-line options , type man 1M gated at the HP-UX prompt. V erifying 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 process identification (PID), current time, and t[...]

  • Страница 101

    Configuring gated T roubleshooting gated Chapter 3 101 T roubleshooting 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 Activity” on page 101 • “Operationa[...]

  • Страница 102

    Configuring gated T roubleshooting gated Chapter 3 102 NO TE 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. F or details about the new syntax, type man 4 gated.conf at the HP-UX prompt. After tracing is started to [...]

  • Страница 103

    Configuring gated T roubleshooting 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. gated uses these log messages to provide an aud[...]

  • Страница 104

    Configuring gated T roubleshooting 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. T o detect incorrect configuration commands , use gated tracing. F ollow[...]

  • Страница 105

    Configuring gated T roubleshooting gated Chapter 3 105 Interface Configuration Without strictintfs Option Specified The following configuration references a non-existent interface, but does not include the strictintfs option: traceoptions "tt" general; interfaces { interface lan0 lan1 lan3 passive ; }; rip yes ; The following is the t[...]

  • Страница 106

    Configuring gated T roubleshooting 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 Address: 198.1.1.255 Subnet Number: 198.1.1 Subnet [...]

  • Страница 107

    Configuring gated T roubleshooting gated Chapter 3 107 Normally , gated deletes the route configured in the /etc/rc.config.d/netconf file. T o solve this problem, configure a static default route as described in the section “Installing Static Routes” on page 90. Another common scenario occurs in networks where all the gatewa ys do not imple[...]

  • Страница 108

    Configuring gated T roubleshooting gated Chapter 3 108 Y ou may have to repeat this process several times to trac k down the original source of the route. If you expect the route to go through a different router , turn on gated tracing . The tracing tells you which routers are advertising this route and the values attached to those routes. Problem[...]

  • Страница 109

    109 Index A all 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 file , 69 , 78 authtype statement in /etc/gate[...]

  • Страница 110

    Index 110 priority statement , 68 query authentication clause , 52 retain clause , 90 retransmitinterval statement , 68 , 72 rip statement , 50 ripin clause , 52 ripout clause , 52 routerdeadinterval statement , 69 , 73 routers statement , 71 secondary authentication clause , 53 sourcegatewa ys clause , 51 , 53 , 58 static statement , 90 stub state[...]

  • Страница 111

    Index 111 IP type of service routing feature , 24 K kernel routing table , 22 , 100 L link state advertisement , 62 M management 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 command phyint command , 31 tunnel command , 32 l[...]

  • Страница 112

    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 statement in /etc/gated.conf file , 68 pruned b[...]

  • Страница 113

    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 P ath Broadcasting , 18 See TRPB trustedgatewa ys clause in /etc/gated.conf file , 53 , 59 TTL in mrouted , 33 tunnel command in mrouted , 32 tunnell[...]