1*47675Scael.\" Copyright (c) 1990, 1991 The Regents of the University of California. 244983Ssklower.\" All rights reserved. 344983Ssklower.\" 444983Ssklower.\" %sccs.include.redist.man% 544983Ssklower.\" 6*47675Scael.\" @(#)esis.4 6.2 (Berkeley) 03/28/91 744983Ssklower.\" 8*47675Scael.Dd 9*47675Scael.Dt ESIS 4 10*47675Scael.Os 11*47675Scael.Sh NAME 12*47675Scael.Nm es-is 13*47675Scael.Nd End System to Intermediate System Routing Protocol 14*47675Scael.Sh SYNOPSIS 15*47675Scael.Sy pseudo-device 16*47675Scael.Nm ether 17*47675Scael.Sh DESCRIPTION 18*47675ScaelThe 19*47675Scael.Nm ES-IS 20*47675Scaelrouting protocol is used to dynamically map between 21*47675Scael.Tn ISO NSAP 22*47675Scaeladdresses and 23*47675Scael.Tn ISO SNPA 24*47675Scaeladdresses; to permit End and Intermediate Systems 2544983Ssklowerto learn of each other's existence; and to allow Intermediate Systems 2644983Ssklowerto inform End Systems of (potentially) better routes to use when 27*47675Scaelforwarding 28*47675Scael.Tn NPDU Ns s 29*47675Scaelto a particular destination. 30*47675Scael.Pp 31*47675ScaelThe mapping between 32*47675Scael.Tn NSAP 33*47675Scaeladdresses and 34*47675Scael.Tn SNPA 35*47675Scaeladdresses is accomplished by 36*47675Scaeltransmitting hello 37*47675Scael.Tn PDU Ns s 38*47675Scaelbetween the cooperating Systems. These 39*47675Scael.Tn PDU Ns s 40*47675Scaelare transmitted whenever the 41*47675Scael.Em configuration 42*47675Scaeltimer expires. 43*47675ScaelWhen a hello 44*47675Scael.Tn PDU 45*47675Scaelis received, the 46*47675Scael.Tn SNPA 4744983Sskloweraddress that it conveys is stored in the routing table for as long as the 48*47675Scael.Em holding time 49*47675Scaelin the 50*47675Scael.Tn PDU 51*47675Scaelsuggests. The default 52*47675Scael.Em holding time 53*47675Scael(120 seconds) placed in the hello 54*47675Scael.Tn PDU , 55*47675Scaelthe configuration timer value, 5644983Ssklowerand the system type (End System or Intermediate System) may be changed by 57*47675Scaelissuing an 58*47675Scael.Dv SIOCSSTYPE 59*47675Scael.Xr ioctl 2 , 60*47675Scaelwhich is defined in 61*47675Scael.Pa /sys/netiso/iso_snpac.h. 62*47675Scael.Pp 6344983SsklowerThe protocol behaves differently depending on whether the System is 6444983Ssklowerconfigured as an End System or an Intermediate System. 65*47675Scael.Sh END SYSTEM OPERATION 6644983SsklowerWhen an interface requests a mapping for an address not in the cache, 67*47675Scaelthe 68*47675Scael.Tn SNPA 69*47675Scaelof any known Intermediate System is returned. If an Intermediate 70*47675ScaelSystem is not known, then the 71*47675Scael.Em all end systems 72*47675Scaelmulticast address 7344983Sskloweris returned. It is assumed that the intended recipient of the NPDU will 74*47675Scaelimmediately transmit a hello 75*47675Scael.Tn PDU 76*47675Scaelback to the originator of the 77*47675Scael.Tn NPDU . 78*47675Scael.Pp 79*47675ScaelIf an 80*47675Scael.Tn NPDU 81*47675Scaelis forwarded by the End System, a redirect 82*47675Scael.Tn PDU 83*47675Scaelwill not be 8444983Ssklowergenerated. 85*47675ScaelHowever, redirect 86*47675Scael.Tn PDU Ns s 87*47675Scaelreceived will be processed. This processing 8844983Ssklowerconsists of adding an entry in the routing table. If the 8944983Ssklowerredirect is towards an Intermediate System, then an entry is made in the 9044983Ssklowerrouting table as well. 9144983SsklowerThe entry in the routing table will may mark the 92*47675Scael.Tn NSAP 93*47675Scaeladdress contained in the redirect 94*47675Scael.Tn PDU 95*47675Scaelas the gateway for the destination 9644983Ssklowersystem (if an NET is supplied), or will create a route with 9744983Ssklowerthe NSAP address as the 98*47675Scaeldestination and the 99*47675Scael.Tn SNPA 100*47675Scaeladdress (embodied as a link-level sockaddr) as the 10144983Ssklowergateway. 102*47675Scael.Pp 10344983SsklowerIf the System is configured as an End System, it will report all the 104*47675Scael.Tn NSAP Ns s 105*47675Scaelthat have been configured using the ifconfig command, and no others. 106*47675ScaelIt is possible to have more than one 107*47675Scael.Tn NSAP 108*47675Scaelassigned to a given interface, 109*47675Scaeland it is also possible to have the same 110*47675Scael.Tn NSAP 111*47675Scaelassigned to multiple 11244983Ssklowerinterfaces. 113*47675ScaelHowever, any 114*47675Scael.Tn NSAP 115*47675Scaelcontaining an NSEL that is consistent with the 11644983Ssklowernsellength option (default one) of any interface will be accepted as 117*47675Scaelan 118*47675Scael.Tn NSAP 119*47675Scaelfor this System. 120*47675Scael.Sh INTERMEDIATE SYSTEM OPERATION 12144983SsklowerWhen an interface requests a mapping for an address not in the routing table, 12244983Sskloweran error is returned. 123*47675Scael.Pp 124*47675ScaelWhen an 125*47675Scael.Tn NPDU 126*47675Scaelis forwarded out on the same interface that the 127*47675Scael.Tn NPDU 128*47675Scaelarrived upon, 129*47675Scaela redirect 130*47675Scael.Tn PDU 131*47675Scaelis generated. 132*47675Scael.Sh MANUAL ROUTING TABLE MODIFICATION 133*47675Scael.Pp 134*47675ScaelTo facilitate communications with systems which do not use 135*47675Scael.Nm ES-IS, 13644983Ssklowerone may add a route whose destination is a sockaddr_iso containing 137*47675Scaelthe 138*47675Scael.Tn NSAP 139*47675Scaelin question, and the gateway being a link-level sockaddr, 14044983Ssklowereither by writing a special purpose program, or using the 141*47675Scael.Xr route 8 14244983Ssklowercommand e.g.: 143*47675Scael.Bd -literal 144*47675Scaelroute add -iface -osi 49.0.4.8.0.2b.b.83.bf \ 145*47675Scael -link qe0:8.0.2b.b.83.bf 146*47675Scael.Ed 147*47675Scael.Pp 14844983SsklowerIf the 14944983SsklowerSystem is configured as an End System and has a single network interface 15044983Ssklowerwhich does not support multicast reception, 151*47675Scaelit is necessary to manually configure the location of an 152*47675Scael.Tn IS , 15344983Ssklowerusing the route command in a similar way. 154*47675ScaelThere, the destination address should be 155*47675Scael.Dq default 156*47675Scael(spelled 157*47675Scaelout literally as 7 158*47675Scael.Tn ASCII 159*47675Scaelcharacters), and the gateway should be 160*47675Scaelonce again be a link-level sockaddr specifying the 161*47675Scael.Tn SNPA 162*47675Scaelof the 163*47675Scael.Tn IS . 164*47675Scael.Sh SEE ALSO 165*47675Scael.Xr un 4 , 166*47675Scael.Xr iso 4 , 167*47675Scael.Xr route 8 , 168*47675Scael.Xr ifconfig 8 169*47675Scael.Rs 170*47675Scael.%T "End system to Intermediate system routing exchange protocol for use in conjunction with the Protocol for providing the connectionless-mode network service" 171*47675Scael.%R ISO 172*47675Scael.%N 9542 173*47675Scael.Re 174*47675Scael.Sh HISTORY 175*47675ScaelThe 176*47675Scael.Nm 177*47675Scaelprotocol implementation 178*47675Scael.Ud 179*47675Scael.Sh BUGS 180*47675ScaelRedirect 181*47675Scael.Tn PDU Ns s 182*47675Scaeldo not contain options from the forwarded 183*47675Scael.Tn NPDU 184*47675Scaelwhich generated 18544983Ssklowerthe redirect. The multicast address used on the 802.3 network is taken from 186*47675Scaelthe 187*47675Scael.Tn NBS 188*47675ScaelDecember 1987 agreements. This multicast address is not compatible 18944983Ssklowerwith the 802.5 (Token Ring) multicast addresses format. Therefore, broadcast 19044983Sskloweraddresses are used on the 802.5 subnetwork. 19144983SsklowerResearchers at the University of Wisconsin are constructing an implementation 192*47675Scaelof the 193*47675Scael.Tn IS-IS 194*47675Scaelrouting protocol. 195