163000Sbostic.\" Copyright (c) 1990, 1991, 1993 263000Sbostic.\" The Regents of the University of California. All rights reserved. 344983Ssklower.\" 444983Ssklower.\" %sccs.include.redist.man% 544983Ssklower.\" 6*64994Smckusick.\" @(#)esis.4 8.2 (Berkeley) 11/30/93 744983Ssklower.\" 847675Scael.Dd 947675Scael.Dt ESIS 4 1047675Scael.Os 1147675Scael.Sh NAME 1247675Scael.Nm es-is 1347675Scael.Nd End System to Intermediate System Routing Protocol 1447675Scael.Sh SYNOPSIS 1547675Scael.Sy pseudo-device 1647675Scael.Nm ether 1747675Scael.Sh DESCRIPTION 1847675ScaelThe 1947675Scael.Nm ES-IS 2047675Scaelrouting protocol is used to dynamically map between 2147675Scael.Tn ISO NSAP 2247675Scaeladdresses and 2347675Scael.Tn ISO SNPA 2447675Scaeladdresses; 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 2747675Scaelforwarding 2847675Scael.Tn NPDU Ns s 2947675Scaelto a particular destination. 3047675Scael.Pp 3147675ScaelThe mapping between 3247675Scael.Tn NSAP 3347675Scaeladdresses and 3447675Scael.Tn SNPA 3547675Scaeladdresses is accomplished by 3647675Scaeltransmitting hello 3747675Scael.Tn PDU Ns s 3847675Scaelbetween the cooperating Systems. These 3947675Scael.Tn PDU Ns s 4047675Scaelare transmitted whenever the 4147675Scael.Em configuration 4247675Scaeltimer expires. 4347675ScaelWhen a hello 4447675Scael.Tn PDU 4547675Scaelis received, the 4647675Scael.Tn SNPA 4744983Sskloweraddress that it conveys is stored in the routing table for as long as the 4847675Scael.Em holding time 4947675Scaelin the 5047675Scael.Tn PDU 5147675Scaelsuggests. The default 5247675Scael.Em holding time 5347675Scael(120 seconds) placed in the hello 5447675Scael.Tn PDU , 5547675Scaelthe configuration timer value, 5644983Ssklowerand the system type (End System or Intermediate System) may be changed by 5747675Scaelissuing an 5847675Scael.Dv SIOCSSTYPE 5947675Scael.Xr ioctl 2 , 6047675Scaelwhich is defined in 6147675Scael.Pa /sys/netiso/iso_snpac.h. 6247675Scael.Pp 6344983SsklowerThe protocol behaves differently depending on whether the System is 6444983Ssklowerconfigured as an End System or an Intermediate System. 6547675Scael.Sh END SYSTEM OPERATION 6644983SsklowerWhen an interface requests a mapping for an address not in the cache, 6747675Scaelthe 6847675Scael.Tn SNPA 6947675Scaelof any known Intermediate System is returned. If an Intermediate 7047675ScaelSystem is not known, then the 7147675Scael.Em all end systems 7247675Scaelmulticast address 7344983Sskloweris returned. It is assumed that the intended recipient of the NPDU will 7447675Scaelimmediately transmit a hello 7547675Scael.Tn PDU 7647675Scaelback to the originator of the 7747675Scael.Tn NPDU . 7847675Scael.Pp 7947675ScaelIf an 8047675Scael.Tn NPDU 8147675Scaelis forwarded by the End System, a redirect 8247675Scael.Tn PDU 8347675Scaelwill not be 8444983Ssklowergenerated. 8547675ScaelHowever, redirect 8647675Scael.Tn PDU Ns s 8747675Scaelreceived 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. 91*64994SmckusickThe entry in the routing table will mark the 9247675Scael.Tn NSAP 9347675Scaeladdress contained in the redirect 9447675Scael.Tn PDU 9547675Scaelas the gateway for the destination 9644983Ssklowersystem (if an NET is supplied), or will create a route with 9744983Ssklowerthe NSAP address as the 9847675Scaeldestination and the 9947675Scael.Tn SNPA 10047675Scaeladdress (embodied as a link-level sockaddr) as the 10144983Ssklowergateway. 10247675Scael.Pp 10344983SsklowerIf the System is configured as an End System, it will report all the 10447675Scael.Tn NSAP Ns s 10547675Scaelthat have been configured using the ifconfig command, and no others. 10647675ScaelIt is possible to have more than one 10747675Scael.Tn NSAP 10847675Scaelassigned to a given interface, 10947675Scaeland it is also possible to have the same 11047675Scael.Tn NSAP 11147675Scaelassigned to multiple 11244983Ssklowerinterfaces. 11347675ScaelHowever, any 11447675Scael.Tn NSAP 11547675Scaelcontaining an NSEL that is consistent with the 11644983Ssklowernsellength option (default one) of any interface will be accepted as 11747675Scaelan 11847675Scael.Tn NSAP 11947675Scaelfor this System. 12047675Scael.Sh INTERMEDIATE SYSTEM OPERATION 12144983SsklowerWhen an interface requests a mapping for an address not in the routing table, 12244983Sskloweran error is returned. 12347675Scael.Pp 12447675ScaelWhen an 12547675Scael.Tn NPDU 12647675Scaelis forwarded out on the same interface that the 12747675Scael.Tn NPDU 12847675Scaelarrived upon, 12947675Scaela redirect 13047675Scael.Tn PDU 13147675Scaelis generated. 13247675Scael.Sh MANUAL ROUTING TABLE MODIFICATION 13347675Scael.Pp 13447675ScaelTo facilitate communications with systems which do not use 13547675Scael.Nm ES-IS, 13644983Ssklowerone may add a route whose destination is a sockaddr_iso containing 13747675Scaelthe 13847675Scael.Tn NSAP 13947675Scaelin question, and the gateway being a link-level sockaddr, 14044983Ssklowereither by writing a special purpose program, or using the 14147675Scael.Xr route 8 14244983Ssklowercommand e.g.: 14347675Scael.Bd -literal 14447675Scaelroute add -iface -osi 49.0.4.8.0.2b.b.83.bf \ 14547675Scael -link qe0:8.0.2b.b.83.bf 14647675Scael.Ed 14747675Scael.Pp 14844983SsklowerIf the 14944983SsklowerSystem is configured as an End System and has a single network interface 15044983Ssklowerwhich does not support multicast reception, 15147675Scaelit is necessary to manually configure the location of an 15247675Scael.Tn IS , 15344983Ssklowerusing the route command in a similar way. 15447675ScaelThere, the destination address should be 15547675Scael.Dq default 15647675Scael(spelled 15747675Scaelout literally as 7 15847675Scael.Tn ASCII 15947675Scaelcharacters), and the gateway should be 16047675Scaelonce again be a link-level sockaddr specifying the 16147675Scael.Tn SNPA 16247675Scaelof the 16347675Scael.Tn IS . 16447675Scael.Sh SEE ALSO 16547675Scael.Xr un 4 , 16647675Scael.Xr iso 4 , 16747675Scael.Xr route 8 , 16847675Scael.Xr ifconfig 8 16947675Scael.Rs 17047675Scael.%T "End system to Intermediate system routing exchange protocol for use in conjunction with the Protocol for providing the connectionless-mode network service" 17147675Scael.%R ISO 17247675Scael.%N 9542 17347675Scael.Re 17447675Scael.Sh BUGS 17547675ScaelRedirect 17647675Scael.Tn PDU Ns s 17747675Scaeldo not contain options from the forwarded 17847675Scael.Tn NPDU 17947675Scaelwhich generated 18044983Ssklowerthe redirect. The multicast address used on the 802.3 network is taken from 18147675Scaelthe 18247675Scael.Tn NBS 18347675ScaelDecember 1987 agreements. This multicast address is not compatible 18444983Ssklowerwith the 802.5 (Token Ring) multicast addresses format. Therefore, broadcast 18544983Sskloweraddresses are used on the 802.5 subnetwork. 18644983SsklowerResearchers at the University of Wisconsin are constructing an implementation 18747675Scaelof the 18847675Scael.Tn IS-IS 18947675Scaelrouting protocol. 190