2002-02-13 11:17:26 +03:00
. \" $NetBSD: esis.4,v 1.10 2002/02/13 08:17:34 ross Exp $
1994-11-30 19:22:03 +03:00
. \"
. \" Copyright (c) 1990, 1991, 1993
. \" The Regents of the University of California. All rights reserved.
1993-03-21 12:45:37 +03:00
. \"
. \" Redistribution and use in source and binary forms, with or without
. \" modification, are permitted provided that the following conditions
. \" are met:
. \" 1. Redistributions of source code must retain the above copyright
. \" notice, this list of conditions and the following disclaimer.
. \" 2. Redistributions in binary form must reproduce the above copyright
. \" notice, this list of conditions and the following disclaimer in the
. \" documentation and/or other materials provided with the distribution.
. \" 3. All advertising materials mentioning features or use of this software
. \" must display the following acknowledgement:
. \" This product includes software developed by the University of
. \" California, Berkeley and its contributors.
. \" 4. Neither the name of the University nor the names of its contributors
. \" may be used to endorse or promote products derived from this software
. \" without specific prior written permission.
. \"
. \" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
. \" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
. \" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
. \" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
. \" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
. \" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
. \" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
. \" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
. \" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
. \" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
. \" SUCH DAMAGE.
. \"
1994-11-30 19:22:03 +03:00
. \" @(#)esis.4 8.2 (Berkeley) 11/30/93
1993-03-21 12:45:37 +03:00
. \"
1994-11-30 19:22:03 +03:00
.Dd November 30 , 1993
1993-03-21 12:45:37 +03:00
.Dt ESIS 4
.Os
.Sh NAME
1999-12-16 01:07:30 +03:00
.Nm esis
1993-03-21 12:45:37 +03:00
.Nd End System to Intermediate System Routing Protocol
.Sh SYNOPSIS
2002-02-13 11:17:26 +03:00
.Fd #include \*[Lt]sys/types.h\*[Gt]
.Fd #include \*[Lt]netiso/esis.h\*[Gt]
1993-03-21 12:45:37 +03:00
.Sh DESCRIPTION
The
2000-11-07 09:43:24 +03:00
.Tn ES-IS
1993-03-21 12:45:37 +03:00
routing protocol is used to dynamically map between
.Tn ISO NSAP
addresses and
.Tn ISO SNPA
1998-04-30 12:50:03 +04:00
addresses; to permit End Systems (ES) and Intermediate Systems (IS)
1993-03-21 12:45:37 +03:00
to learn of each other's existence; and to allow Intermediate Systems
1998-04-30 12:50:03 +04:00
to inform End Systems of (potentially) better routes to use when forwarding
Network Protocol Data Units
.Pq Tn NPDU Ns s
1993-03-21 12:45:37 +03:00
to a particular destination.
.Pp
The mapping between
.Tn NSAP
addresses and
.Tn SNPA
1998-04-30 12:50:03 +04:00
addresses is accomplished by transmitting
.Qq hello
Protocol Data Units
.Pq Tn PDU Ns s
between the cooperating Systems.
These
1993-03-21 12:45:37 +03:00
.Tn PDU Ns s
are transmitted whenever the
.Em configuration
timer expires.
1998-04-30 12:50:03 +04:00
When a
.Qq hello
1993-03-21 12:45:37 +03:00
.Tn PDU
is received, the
.Tn SNPA
address that it conveys is stored in the routing table for as long as the
.Em holding time
in the
.Tn PDU
1998-04-30 12:50:03 +04:00
suggests.
The default
1993-03-21 12:45:37 +03:00
.Em holding time
1998-04-30 12:50:03 +04:00
(120 seconds) placed in the
.Qq hello
1993-03-21 12:45:37 +03:00
.Tn PDU ,
1998-04-30 12:50:03 +04:00
the configuration timer value, and the system type (End System or
Intermediate System) may be changed by issuing an
1993-03-21 12:45:37 +03:00
.Dv SIOCSSTYPE
.Xr ioctl 2 ,
which is defined in
1997-09-20 07:56:38 +04:00
.Pa Aq sys/netiso/iso_snpac.h .
1993-03-21 12:45:37 +03:00
.Pp
The protocol behaves differently depending on whether the System is
configured as an End System or an Intermediate System.
.Sh END SYSTEM OPERATION
1998-04-30 12:50:03 +04:00
When an interface requests a mapping for an address not in the cache, the
1993-03-21 12:45:37 +03:00
.Tn SNPA
1998-04-30 12:50:03 +04:00
of any known Intermediate System is returned.
If an Intermediate System is not known, then the
1993-03-21 12:45:37 +03:00
.Em all end systems
1998-04-30 12:50:03 +04:00
multicast address is returned.
It is assumed that the intended recipient of the
.Tn NPDU
will immediately transmit a
.Qq hello
1993-03-21 12:45:37 +03:00
.Tn PDU
back to the originator of the
.Tn NPDU .
.Pp
If an
.Tn NPDU
is forwarded by the End System, a redirect
.Tn PDU
1998-04-30 12:50:03 +04:00
will not be generated.
1993-03-21 12:45:37 +03:00
However, redirect
.Tn PDU Ns s
1998-04-30 12:50:03 +04:00
received will be processed.
This processing consists of adding an entry in the routing table.
If the redirect is towards an Intermediate System, then an entry
is made in the routing table as well.
1994-11-30 19:22:03 +03:00
The entry in the routing table will mark the
1993-03-21 12:45:37 +03:00
.Tn NSAP
address contained in the redirect
.Tn PDU
as the gateway for the destination
system (if an NET is supplied), or will create a route with
1998-04-30 12:50:03 +04:00
the
.Tn NSAP
address as the destination and the
1993-03-21 12:45:37 +03:00
.Tn SNPA
1998-04-30 12:50:03 +04:00
address (embodied as a link-level struct sockaddr) as the
1993-03-21 12:45:37 +03:00
gateway.
.Pp
If the System is configured as an End System, it will report all the
.Tn NSAP Ns s
1998-04-30 12:50:03 +04:00
that have been configured using the
.Xr ifconfig 8
command, and no others.
1993-03-21 12:45:37 +03:00
It is possible to have more than one
.Tn NSAP
assigned to a given interface,
and it is also possible to have the same
.Tn NSAP
assigned to multiple
interfaces.
However, any
.Tn NSAP
1998-04-30 12:50:03 +04:00
containing an
.Tn NSEL
that is consistent with the
.Em nsellength
option (default one) of any interface will be accepted as an
1993-03-21 12:45:37 +03:00
.Tn NSAP
for this System.
.Sh INTERMEDIATE SYSTEM OPERATION
When an interface requests a mapping for an address not in the routing table,
an error is returned.
.Pp
When an
.Tn NPDU
is forwarded out on the same interface that the
.Tn NPDU
1998-04-30 12:50:03 +04:00
arrived upon, a redirect
1993-03-21 12:45:37 +03:00
.Tn PDU
is generated.
.Sh MANUAL ROUTING TABLE MODIFICATION
To facilitate communications with systems which do not use
2000-11-07 09:43:24 +03:00
.Tn ES-IS ,
1998-04-30 12:50:03 +04:00
one may add a route whose destination is a struct sockaddr_iso containing the
1993-03-21 12:45:37 +03:00
.Tn NSAP
1998-04-30 12:50:03 +04:00
in question, and the gateway being a link-level struct sockaddr,
1993-03-21 12:45:37 +03:00
either by writing a special purpose program, or using the
.Xr route 8
command e.g.:
.Bd -literal
route add -iface -osi 49.0.4.8.0.2b.b.83.bf \
-link qe0:8.0.2b.b.83.bf
.Ed
.Pp
1998-04-30 12:50:03 +04:00
If the System is configured as an End System and has a single
network interface which does not support multicast reception, it
is necessary to manually configure the location of an
1993-03-21 12:45:37 +03:00
.Tn IS ,
using the route command in a similar way.
There, the destination address should be
.Dq default
1998-04-30 12:50:03 +04:00
(spelled out literally as 7
1993-03-21 12:45:37 +03:00
.Tn ASCII
1998-04-30 12:50:03 +04:00
characters), and the gateway should be once again be a link-level
struct sockaddr specifying the
1993-03-21 12:45:37 +03:00
.Tn SNPA
of the
.Tn IS .
.Sh SEE ALSO
.Xr iso 4 ,
2001-04-04 14:01:07 +04:00
. \" .Xr un 4 ,
.Xr ifconfig 8 ,
.Xr route 8
1993-03-21 12:45:37 +03:00
.Rs
. %T "End system to Intermediate system routing exchange protocol for use in conjunction with the Protocol for providing the connectionless-mode network service"
. %R ISO
. %N 9542
.Re
.Sh BUGS
Redirect
.Tn PDU Ns s
do not contain options from the forwarded
.Tn NPDU
1998-04-30 12:50:03 +04:00
which generated the redirect.
The multicast address used on the
.Tn IEEE 802 .3
.Pq Tn Ethernet
network is taken from the
National Bureau of Standards
.Pq Tn NBS
December 1987 agreements.
This multicast address is not compatible with the
.Tn IEEE 802 .5
.Pq Tn Token Ring
multicast addresses format.
2001-04-04 14:01:07 +04:00
Therefore, broadcast addresses are used on the
1998-04-30 12:50:03 +04:00
.Tn IEEE 802 .5
subnetwork.
.Pp
1993-03-21 12:45:37 +03:00
Researchers at the University of Wisconsin are constructing an implementation
of the
.Tn IS-IS
routing protocol.
1998-04-30 12:50:03 +04:00
.Pp
.Tn NBS
is now known as the National Institute for Standards and Technology
.Pq Tn NIST .