This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / share / man / man4 / esis.4
CommitLineData
15637ed4
RG
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)esis.4 6.2 (Berkeley) 3/28/91
33.\"
34.Dd March 28, 1991
35.Dt ESIS 4
36.Os
37.Sh NAME
38.Nm es-is
39.Nd End System to Intermediate System Routing Protocol
40.Sh SYNOPSIS
41.Sy pseudo-device
42.Nm ether
43.Sh DESCRIPTION
44The
45.Nm ES-IS
46routing protocol is used to dynamically map between
47.Tn ISO NSAP
48addresses and
49.Tn ISO SNPA
50addresses; to permit End and Intermediate Systems
51to learn of each other's existence; and to allow Intermediate Systems
52to inform End Systems of (potentially) better routes to use when
53forwarding
54.Tn NPDU Ns s
55to a particular destination.
56.Pp
57The mapping between
58.Tn NSAP
59addresses and
60.Tn SNPA
61addresses is accomplished by
62transmitting hello
63.Tn PDU Ns s
64between the cooperating Systems. These
65.Tn PDU Ns s
66are transmitted whenever the
67.Em configuration
68timer expires.
69When a hello
70.Tn PDU
71is received, the
72.Tn SNPA
73address that it conveys is stored in the routing table for as long as the
74.Em holding time
75in the
76.Tn PDU
77suggests. The default
78.Em holding time
79(120 seconds) placed in the hello
80.Tn PDU ,
81the configuration timer value,
82and the system type (End System or Intermediate System) may be changed by
83issuing an
84.Dv SIOCSSTYPE
85.Xr ioctl 2 ,
86which is defined in
87.Pa /sys/netiso/iso_snpac.h.
88.Pp
89The protocol behaves differently depending on whether the System is
90configured as an End System or an Intermediate System.
91.Sh END SYSTEM OPERATION
92When an interface requests a mapping for an address not in the cache,
93the
94.Tn SNPA
95of any known Intermediate System is returned. If an Intermediate
96System is not known, then the
97.Em all end systems
98multicast address
99is returned. It is assumed that the intended recipient of the NPDU will
100immediately transmit a hello
101.Tn PDU
102back to the originator of the
103.Tn NPDU .
104.Pp
105If an
106.Tn NPDU
107is forwarded by the End System, a redirect
108.Tn PDU
109will not be
110generated.
111However, redirect
112.Tn PDU Ns s
113received will be processed. This processing
114consists of adding an entry in the routing table. If the
115redirect is towards an Intermediate System, then an entry is made in the
116routing table as well.
117The entry in the routing table will may mark the
118.Tn NSAP
119address contained in the redirect
120.Tn PDU
121as the gateway for the destination
122system (if an NET is supplied), or will create a route with
123the NSAP address as the
124destination and the
125.Tn SNPA
126address (embodied as a link-level sockaddr) as the
127gateway.
128.Pp
129If the System is configured as an End System, it will report all the
130.Tn NSAP Ns s
131that have been configured using the ifconfig command, and no others.
132It is possible to have more than one
133.Tn NSAP
134assigned to a given interface,
135and it is also possible to have the same
136.Tn NSAP
137assigned to multiple
138interfaces.
139However, any
140.Tn NSAP
141containing an NSEL that is consistent with the
142nsellength option (default one) of any interface will be accepted as
143an
144.Tn NSAP
145for this System.
146.Sh INTERMEDIATE SYSTEM OPERATION
147When an interface requests a mapping for an address not in the routing table,
148an error is returned.
149.Pp
150When an
151.Tn NPDU
152is forwarded out on the same interface that the
153.Tn NPDU
154arrived upon,
155a redirect
156.Tn PDU
157is generated.
158.Sh MANUAL ROUTING TABLE MODIFICATION
159.Pp
160To facilitate communications with systems which do not use
161.Nm ES-IS,
162one may add a route whose destination is a sockaddr_iso containing
163the
164.Tn NSAP
165in question, and the gateway being a link-level sockaddr,
166either by writing a special purpose program, or using the
167.Xr route 8
168command e.g.:
169.Bd -literal
170route add -iface -osi 49.0.4.8.0.2b.b.83.bf \
171 -link qe0:8.0.2b.b.83.bf
172.Ed
173.Pp
174If the
175System is configured as an End System and has a single network interface
176which does not support multicast reception,
177it is necessary to manually configure the location of an
178.Tn IS ,
179using the route command in a similar way.
180There, the destination address should be
181.Dq default
182(spelled
183out literally as 7
184.Tn ASCII
185characters), and the gateway should be
186once again be a link-level sockaddr specifying the
187.Tn SNPA
188of the
189.Tn IS .
190.Sh SEE ALSO
191.Xr un 4 ,
192.Xr iso 4 ,
193.Xr route 8 ,
194.Xr ifconfig 8
195.Rs
196.%T "End system to Intermediate system routing exchange protocol for use in conjunction with the Protocol for providing the connectionless-mode network service"
197.%R ISO
198.%N 9542
199.Re
200.Sh HISTORY
201The
202.Nm
203protocol implementation
204.Ud
205.Sh BUGS
206Redirect
207.Tn PDU Ns s
208do not contain options from the forwarded
209.Tn NPDU
210which generated
211the redirect. The multicast address used on the 802.3 network is taken from
212the
213.Tn NBS
214December 1987 agreements. This multicast address is not compatible
215with the 802.5 (Token Ring) multicast addresses format. Therefore, broadcast
216addresses are used on the 802.5 subnetwork.
217Researchers at the University of Wisconsin are constructing an implementation
218of the
219.Tn IS-IS
220routing protocol.