view Side-By-Side changes
ADDRCONF Working Group Susan Thomson (Bellcore) INTERNET-DRAFTJanuary 31,March 24, 1995<draft-ietf-addrconf-ipv6-auto-00.txt><draft-ietf-addrconf-ipv6-auto-01.txt> IPv6 Stateless Address Autoconfiguration Status of this Memo This document is a submission to the ADDRCONF Working Group of the Internet Engineering Task Force (IETF). Comments should be submitted to the addrconf@cisco.com mailing list. This document is an Internet Draft. Internet Drafts are working documents of the Internet Engineering Task Force (IETF), its Areas, and its Working Groups. Note that other groups may also distribute working documents as Internet Drafts. Internet Drafts are draft documents valid for a maximum of six months. Internet Drafts may be updated, replaced, or obsoleted by other documents at any time. It is not appropriate to use Internet Drafts as reference material or to cite them other than as a "working draft" or "work in progress." To learn the current status of any Internet Draft. please check the 1id-abstracts.txt listing contained in the Internet Drafts Shadow Directories on ds.internic.net, nic.nordu.net, ftp.nisc.sri.com or munnari.oz.au. Abstract This document specifieshow a host autoconfigures one or more addresses per interface.stateless address autoconfiguration. A host can forman intra-link scopea link-local address autonomously based on information local to the host. A host can form an inter-link scope address in two ways: eithersemi-autonomously,autonomously, based onknowledge of subnetprefixes advertised by routers, or by usingDHCPv6.the IPv6 version of the Dynamic Host Configuration Protocol(DHCPv6). All mechanisms rely on a host having a tokenper interfacethat is unique at least persubnet.link. This document specifies how a host formsan intra-link scope address autonomously and an inter-link scope address semi-autonomously using IEEE 802 tokens to identify each interface.addresses autonomously. DHCPv6 is described elsewhere. ExpiresJuly 31,September 24, 1995 [Page 1] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995 1. INTRODUCTION An IPv6 host may have multiple addresses per interface. The addresses canautoconfigure two typeshave one ofaddress:three scopes: 1.an intra-link scopea link-local address, 2.an inter-link scopea site-local address, and 3. a global address.An intra-link scopeAll three addressis autoconfigurable in the absence ofscopes can be autoconfigured. A host can autocon- figure arouter. An inter-link scopelink-local address autonomously. A host can autoconfigure a site-local or global addressis autoconfigurableonly when a router or a DHCPv6 server is present on the link. There is only one way to forman intra-link scopea link-local address. Onini- tializationinitialization of an interface, a host forms such anIPv6 intra-link scopeaddress by concatenating apredefined intra-link scope prefixwell-known link-local prefix[1] to a token that is unique per link.Typically, theThe definition of thetoken is link-layer dependent. Intokens used are link-dependent. For example, in the case of a host attached to an link that uses IEEE 802network, for example,addresses, the token is the IEEE 802 address of the interface. There are two ways to forman inter-link scopea site-local or global address. In the first mechanism, a host forms anIPv6inter-link scope address by con- catenating a network prefix advertised in a RouterAdvertisement[IPv6-DISC-PROC,IPv6-DISC-PROC]Advertisement[2,3] to a token that is unique per link.The other mechanism available to hosts is to use the IPv6 version ofLike theDynamic Host Configuration Protocol (DHCPv6)[IPv6-DHCP]. The choice of protocol to use is advertised bylink-local address, therouter, and this choicetoken isconfigurable by the system administra- tor. The firstdefined to be link-layer dependent. This mechanism for formingan inter-link scopea site-local or global address issuit- ablesuitable for environments where no administrative control is desired. It is asimple, efficientsimple protocol designed for a very specific purpose: to make stateless addressconfigurationcon- figuration very straightforward to use and implement. The other mechanism available to hosts is to use the IPv6 version of the Dynamic Host Configuration Protocol (DHCPv6). DHCPv6 is a more complex protocol allowing for very flexible address assignment under the control of a systemadministra- tor.administrator. This protocol typically requires significant system management, including server and database configuration.This document describes the general host address autoconfiguration procedureThe choice of mechanism to use inSection 2, and how a host forms an intra-link scope address andforming an inter-link scope addresswithout using DHCPv6 in Sec- tions 3 and 4, respectively. The DHCPv6 protocolisspecified else- where [IPv6-DHCP]. The scope of the documentadvertised by a router, if present, and this choice islimited to hostsconfigur- able by a system administrator. ExpiresJuly 31,September 24, 1995 [Page 2] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995attachedThis document describes how a host forms a link-local address and one or more site-local or global addresses autonomously. It also speci- fies how a host determines which mechanism toIEEE 802 networks. The effect ofuse to form an inter- link scope address: thetransition scheme onautonomous (stateless) approach or DHCPv6. Section 2 describes the router's role in address autoconfigurationprocedure is discussed inand Section5.3 the host's role. ExpiresJuly 31,September 24, 1995 [Page 3] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995 2.PROCEDURE FOR FORMING AND MAINTAINING ADDRESSES A host maintains a list of addresses per interface. At a minimum, the list includes the intra-link scope address, whichROUTER BEHAVIOR The stateless address autoconfiguration mechanism relies on thehost can form autonomously whenever an interface is initialised. If arouteris attached to the link, the list will also include inter-link scope addresses formed either from subnet prefixes advertiseddiscovery mechanism specified inrouter advertisements[2,3] for forming addresses with site-local orby making requestsglobal scope. If configured toDHCPv6. Inter-link scope addresses may also be manually configured. 2.1. Host Configuration A host must maintain a listdo so, routers advertise prefix information in periodic Router Advertisements. The prefixes are contained in Prefix-Information extensions of a Router Advertisement. Each Prefix-Information extension indicates whether thefollowing configurable variables per interface: Address A valid IPv6 unicastprefix can be used for autonomous address autoconfiguration and, if so, forthis interface Default: None LifeTime: The lengthhow long the resulting address is valid. Note that the lifetime oftime for which anthe address isvaliddefined separately from that of the Router Advertisement itself (other information is advertised inseconds. Default: Infinity An intra-link scope address and all manually configured addresses have their lifetimes set to infinity. A host may also allowthefollowing variableadver- tisement which has different lifetime requirements). The extension also explicitly indicates to hosts whether DHCPv6 is required to beconfigured by aused since it is possible that systemadministrator per interface: Perform_Auto_Address If TRUE,administrators would like to have hosts autoconfigure addresses autonomously, but also use DHCPv6 to acquire other configuration information besides thehost must perform address autoconfiguration process- ing. Otherwise,address. Router Advertisement and Solicitation processing is specified in [2] and thehost performs nomessage formats in [3]. DISCUSSION: An alternative approach is to advertise addressautoconfigurationconfi- guration information in a separate advertisement entirely. This would be somewhat cleaner since the lifetime of the advertisement would then be that of the information advertised. On the other hand, having two types of router advertisements would mean that prefix information is advertised redundantly, and in particular, would double traffic on initialisation and on router solicitations. 2.1. Router Configuration Variables In addition to the configuration variables specified in [2,3], routers MUST also be configurable as follows. For each of the IPv6 unicast addresses per interface: Autonomous Flag ExpiresJuly 31,September 24, 1995 [Page 4] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995processing at all. Default: TRUE 2.2. Router Configuration A router must be configurable by a system administrator so that the choice of mechanism used for host configuration of inter-link scope addresses can be controlled. Thus, a router must allowIf and only if TRUE, thefollowing variableprefix length is to beconfigured by a system administrator peradvertised for the purposes of autonomous address configuration. Default: TRUE For each interface:Perform_Auto_AddressAdministered Flag If and only if TRUE, therouterhost mustsend anautoconfigure other confi- guration information using DHCPv6. Only valid in extensions with the Autonomous Flag set to TRUE. Default: FALSE Address_Advertisement_Interval The time allowed between sending unsolicited AddressPrefix exten- sionAdvertise- ments from the interface, ineveryseconds. The value must not be less than Maximum_Advertisement_Interval of RouterAdvertisement.Advertise- ments. Default:TRUE All router interfaces advertising a given subnetXX Address_Lifetime The value to be placed in the Lifetime field of the Prefix_Information extension sent from the interface in seconds. The value must not be less than Address_Advertisement_Interval. This value indicates how long an address formed from the prefix advertised is valid. Only valid in extensions with the Autonomous flag set to TRUE. Default: 3 * Address_Advertisement_Interval All routers advertising a given prefix on a linkmustMUST be configured to advertise the sameaddressautoconfiguration mode to hosts.2.3. HostExpires September 24, 1995 [Page 5] INTERNET-DRAFT Stateless AddressAutoconfiguration ProcedureConfiguration March 1995 2.2. Processing Ahost must performrouter MUST advertise address autoconfiguration information in a Prefix Information Extension of a Router Advertisement. The values of thefollowing procedure forAutonomous and Administered flags are advertised along with Address_Lifetime. The address configuration information need not be advertised in eachinterface when booting or whenever an interface needs toRouter Advertisement. It must beinitialised: Whensent (almost) periodically in ahost boots orRouter Advertisement atany time when a host has no address foranautoconfigurable interface, e.g. wheninterval of approxi- mately Address_Advertisement_Interval. Address configuration information must also be sent in the first few Router Advertisements after startup or enabling of an interface (up to MAX_INITIAL_ADVERTISEMENTS) and in a Router Advertisement that isenabled after being disabled,sent in response to a Router Solicitation. Address configuration information may also be sent in a Router Advertisement due to actions taken by system management, in particu- lar, when thehost forms an addressAddress_Lifetime ofintra-link scope and adds ita prefix is set to zero, e.g. because thelist of addresses. Section 3 specifies howlink is to be renumbered. In this case, ahost forms an intra-link scope address. The hostPrefix- Information extension mustsendbe transmitted in a RouterSolicitation so that inter-link scope addresses can be formed (or verified) as soon as possible.Advertisement advertising the appropriate address prefix with the Autonomous Flag set to TRUE and Address_Lifetime set to zero. ExpiresJuly 31,September 24, 1995 [Page5]6] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995When3. HOST ADDRESS AUTOCONFIGURATION PROCESSING 3.1. Host Configuration Variables A host maintains asolicitedlist of addresses per interface. At a minimum, the list includes the link-local address, which the host can form auto- nomously whenever an interface is initialised. If a router is attached to the link orunsolicited Router AdvertisementDHCPv6 server isreceived over an interface,available, the list may also include site-local or global addresses formed either from subnet pre- fixes advertised in Router Advertisements or by making requests using DHCPv6. Addresses may also be manually configured. Note there may be multiple site-local or global addresses autoconfigured per interface. A host mustperformmaintain a list of the followingaddress configura- tion processing: If anconfigurable variables per interface: Address A valid IPv6 unicast address for this interface Default: None Prefixextension exists,Length The length of thehost forms or verifies its inter-link addresses autonomously asprefix in bits. Prefix length semantics are specified inSection 4. Otherwise,[2]. A host must also allow theimplication is thatfollowing variable to be configured per interface: Perform_Auto_Config If and only if TRUE, the host mustuse DHCPv6 for address autoconfiguration. If noperform addressexists on the interface, theautoconfigura- tion processing. Expires September 24, 1995 [Page 7] INTERNET-DRAFT Stateless Address Configuration March 1995 Default: TRUE 3.2. Host Initialization Behavior A host mustinitiate a requestperform the following autoconfiguration procedure when- ever an interface needs to be initialised: When aDHCPv6 serverhost has no address for an interface with Perform_Auto_Config flag set toacquireTRUE, e.g. when anew address. (Verification and renewal of existing addresseshost boots or when an interface isperformed at DHCPv6-specified times.) If DHCPv6 fails for any rea- son,enabled after being disabled, the hostfalls back to usingforms anintra-link scopeaddressor a manually configured inter-link scope address untilof link-local scope. Appendix A specifies how aDHCPv6 server request is successful. Notehost thatthe above procedure should continueis attached tooperate whenasys- tem administrator decides to changelink that uses IEEE 802 addresses forms a link-local address. Before adding theautoconfiguration mode fromlink-local address as a valid address to the list of addresses for the interface, theautonomous mode (thehostformsSHOULD verify that theaddress) to DHCPv6, and vice versa.address is indeed unique. Therequirement duringprocedure for validating an address is described in Section X. A host SHOULD also validate any manually configured addresses this way too. The host solicits achangeoverRouter Advertisement using one or more Router Solicitations, if no Router Advertisements have been heard in the interface. The procedure for sending Router Solicitations isthatspecified in [2]. If no Router Advertisement is heard after sending MAX_SOLICITATIONS and waiting Router_Solicitation_Interval after each as specified in Sending Router Solicitations in [2], thesystem administratorhost mustensure thatdetermine whether a DHCPv6 server isconfiguredpresent and whether any configuration information needs tohand out addresses that are unique per subnet, particularly with respectbe acquired. This is toaddresses that hosts configure autonomously. To avoid problems duringcater for achangeover, it is recommended thatrouterless topology which has aDHCP server should use exactly the same algorithm to formDHCPv6 server. Once ahost address as that used in the autonomous mode, particularly when the subnet prefix usedrouter isthe same. Otherwise, further precautionary measures will need to be taken to ensure correct operation. To support the changeover from autonomous modeadded toDHCPv6 mode, DHCPv6 should providetheability fornetwork, however, a hostto specify in a request previ- ously configured inter-link addresses. A DHCPv6 server can then validate, deprecate or forbid theMUST useof the autonomously formed addresses. Changing from DHCPv6 modeRouter Adver- tisements toautonomous mode is somewhat tricky. Normal autonomous mode processing should supportdetermine thechangeover from DHCPv6 mode to autonomousautoconfiguration modeassuming the above recommendation is followed. DHCPv6-assigned addresses can be validated or deprecatedin use asa normal part of host processing when an Address Prefix extension is hearddescribed inathe section on RouterAdvertisement. The Drop Address Prefix can be used to invalidate DHCPv6 addresses, if desired.Advertisement Processing. ExpiresJuly 31,September 24, 1995 [Page6]8] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 19953. FORMING AN IEEE 802 IPv6 ADDRESS A3.3. Router Advertisement Processing Router Advertisement processing is specified in [2] and the message format in [3]. In addition to this processing, the hostforms an IEEE 802 IPv6MUST perform the following addressfor an interface by concatenat- ingconfiguration processing when a solicited or unsolicited Router Advertisement is received over an80-bit subnet prefix withinterface: For each Prefix-Information extension in the48-bit IEEE 802 addressRouter Advertisement: (The format of theinterfacePrefix-Information extension asfollows: | 80 bits | 48 bits | +---------------------------------------+------------------------+ | subnet prefix | IEEE 802 address | +----------------------------------------------------------------+ Inamended by this draft for autoconfiguration purposes is specified in Appendix C): The host silently ignores thecaseextension for the purposes ofan intra-link scope prefix,auto- configuration if thesubnet prefixPerform_Auto_Config flag for the interface iswell-defined (TBD). InFALSE. Otherwise, thecase of an inter-link scope prefix,host checks thesubnet prefixautoconfiguration mode bits. If only the Autonomous flag iscon- figurable (typicallyset in the Prefix-Information extension, the host forms or verifies arouter). Expires July 31, 1995 [Page 7] INTERNET-DRAFT Address Configuration January 1995 4. FORMING INTER-LINK SCOPE IPv6 ADDRESSES AUTONOMOUSLY 4.1. Router Operation 4.1.1. Sending Router Advertisements with Address Extensions A router may be configured to advertise address configuration infor- mation in extensions of Router Advertisements. Two extensions are defined forsite-local or global addressconfiguration:as specified below. If both theAddress Prefix extension which advertises valid subnet prefixes to enable hosts to form their own addresses autonomously,Autonomous and Administered flags are set in theDrop Address Prefix Extension which indicates thatPrefix-Information extension, the host forms or verifies asubnet prefix (and hence ansite- local or global addressformed from such a subnet prefix) is unrouteable. ED'S NOTE: I have used two new extensions hereas specified below and uses or continues using DHCPv6 forillustrative purposes. It is likelyother autoconfiguration. Otherwise, thecase thathost silently ignores theAddress Prefix Extension andextension for theDrop Prefix Extension can be supported usingpur- poses of autonomous autoconfiguration. If none of theRouting Information Extensions and Change Prefix extensions definedprefixes advertised inneighbor discovery, respectively. The detailsextensions ofcombiningthesemantics ofRouter Adver- tisement have theexisting extensions withAutonomous flag set, then the host uses or contin- ues using DHCPv6 for autoconfiguration. Note thatofthefollowing extensions still needabove procedure should continue tobe worked out. Expires July 31, 1995 [Page 8] INTERNET-DRAFT Address Configuration January 1995 4.1.2. Address Prefix Extension Format +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extension | Length | Reserved |M| Prefix Size | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Subnet Prefix | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Extension TBD Length 18 Reserved Must be zero M When set, indicates more IPv6 parametersoperate when a sys- tem administrator decides toconfigure besides address. Use DHCPv6change the autoconfiguration mode from the autonomous mode toacquire these parameters. Prefix Size LengthDHCPv6, and vice versa. The host should keep track ofsubnet prefix in bits. Subnet Prefix Valid subnet prefix for this link. This extensionthe current autoconfiguration mode, so that it can detect when there isfound in Router Advertisements. 4.1.3. Drop Address Prefix Extension Format +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extension | Length | Reserved | Prefix Size | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Subnet Prefix | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Extension TBD Length 18a change. The system administrator must ensure that, during a changeover, a DHCPv6 server is configured to hand out addresses that are unique per link, particularly with respect to addresses that hosts have configured autonomously and which may not ExpiresJuly 31,September 24, 1995 [Page 9] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995Reserved Must be zero Prefix Size Length of subnet prefix in bits. Subnet Prefix Subnet prefix for this link toyet be invalidated.This extensionTo avoid problems during a changeover, it isfoundrecommended that a DHCP server should use exactly the same algorithm to form a host address as that used inRouter Advertisements. 4.2. Host Operation 4.2.1. Processingthe autonomous mode when the prefix is the same. It is also important to ensure that a DHCPv6 server is configured to hand out addresses only to those hosts that it should, since, if a DHCPv6 server is present on a link, hosts may request the server for addresses (even if the network is configured to be in autonomous mode) when Router Advertisements are not heard because the router is down. For each Prefix-Information extension received over an autoconfigur- able interface, the host updates the address list as follows when the Autonomous flag is set: a) If the prefix advertised matches the prefix of an autoconfigured address already in the list, then set a timer to that of the lifetime specified in the extension. Note there is no timer associated with a link-local address or manually configured address. b) If the prefix advertised does not match the prefix of an address already in the list, then form an address using this network prefix. Appendix A specifies how to form an address for hosts that have IEEE 802 tokens. The extension is ignored if the pre- fix is not the right length for forming an address as specified in Appendix A. Add this address to the list with a timer set to that of the lifetime specified in the extension. 3.3.1. AddressExtensions On hearingDeprecation and Invalidation An address is valid until the timer expires. When the lifetime of an address expires, an address is said to be deprecated. In general, a deprecated address should no longer be used in new communications, but may be used in existing communica- tions. In particular, the internetworking layer should not select a Expires September 24, 1995 [Page 10] INTERNET-DRAFT Stateless Address Configuration March 1995 deprecated address as a source address in new communications. How- ever, a deprecated address should be allowed to be used as a source address if it is in use by the transport layer in existing communica- tions or it is explicitly requested by an application. The internetworking layer must continue to accept datagrams destined to a deprecated address. The transport layer may refuse to accept new communications requests to a deprecated address, however. In addition, a host may send a Remote Redirect[2,3] to correspondents when the source address used in communications is deprecated as long as the host has a valid alternative address. Also, a deprecated address should be removed from the Domain Name System (DNS). This may be done by the host itself, given a DNS dynamic update protocol and sufficient authority, or it may be done on the host's behalf. The time at which aRouter Advertisementdeprecated address becomes invalid (removed from the list of addresses per interface) is dependent onan interface, a host checksthe storage available foran Address Prefix extensionthe address list anda Drop Address Prefix extension.is thus implementation-dependent. A hostprocesses an Address Prefix extension as described in Section 4.2.2 below andshould keep aDrop Address Prefix extensiondeprecated address until it is no longer in use, i.e. it is no longer being used in current communications such as an existing TCP connection, and it is no longer stored or cached inSection 4.2.3. 4.2.2. Address Prefix Extension Processing For eachthe Domain Name System. After this point, a deprecated addressprefix advertised on an autoconfigurable interface,may be removed from the address list. If Router Advertisements stop being heard and all autoconfigured inter-link scope addresses become deprecated, then the hostupdatesmust determine whether a DHCPv6 server is available for address autoconfi- guration. The host follows thelist of addressessame procedure asfollows: 1. Ifdescribed in theprefix advertised matchesinitialisation procedure in this case. 3.4. Detecting Duplicate IPv6 Addresses One of theprefixbasic assumptions ofan address already inthelist, then setautoconfiguration schemes out- lined in this document is that thelifetimehost token is at least unique per link. Tokens are defined toinfinity. 2. Ifbe link-layer dependent, and theprefix advertised does not matchtoken is theprefix of anlink layer addressalreadyin most cases. In practice, two hosts on thelist, then form an inter-link scopesame link may have the same link layer addressusing this network prefix. Section 3 specifies how to formbecause of aninter- link scope address. Addassign- ment error, in which case the resulting IPv6 addresses will not be unique. For thisaddressreason, it is prudent to check that the addresses are indeed unique. In IPv6, it is only necessary to check that one of thelist with an infinite lifetime. 3. All otherautoconfiguredinter-linkaddressesinis unique since thelist havesame token is ExpiresJuly 31,September 24, 1995 [Page10]11] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995their lifetimes setused tozero. An inter-link scope address is valid for as long as the subnet prefix is advertised inform all addresses and theappropriate extension of a Router Advertisement. A lifetime of infinity isprefixes usedin the above algorithmtoindicate this. An address is deprecated whenform thesubnet prefixaddresses are all unique (the autoconfiguration procedure should ensure this). It isno longer advertised in the Address Prefix extension of the Router Advertise- ment, butrecommended that thesubnet prefix has not been explicitly invalidated by a Drop Address Prefix extension. Anlink-local addressis also deprecated when a new Router Advertisement is not heard beforebe theold advertisement times out. A lifetime of zeroaddress checked since it isusedformed once and first, on initialisation. The procedures use General Solicitations and Advertisements specified in [2,3] as modified below. To validate an address, theabove algorithmnode sends a General Solicitation with the source and destination set toindicatethat of the addresshas been deprecated. A deprecated address is likelyto beroutable, although it is not guaranteed to be. In the case wherechecked. The node should specify an appropriate Media-Access extension. On receiving asubnet prefix that has been previously advertised is no longer advertised inGeneral Solicitation with aRouter Advertise- ment (this assumessource address thata hostishearing Router Advertisements), a host should prepare forthetime whensame as the destination addressbecomes invalid:and apparently from itself, a hostshould stop usingmust respond with a General Advertisement. The General Advertisement is sent to theaddress asAll-Nodes Multicast Address with intra-link scope. The Media-Access extension from the General Solicitation MUST NOT be retained. After sending asource address in communica- tions, if other addresses are available, and should stop advertisingGeneral Solicitation, theaddress to othersnode waits for a period of General_Solicitation_Interval. If a General Advertisement is not received inDNS. Also, it should refuse to accept new connectionsresponse tothis address. However,the General Solicitation within the interval, the addressmay still be usedis considered toaccept incoming datagramsbe validated. If a General Advertisement is received with a source address the same as the address being vali- dated, it must cease operation on that interface andto avoid breaking existing connec- tions. Whenindicate an appropriate error. Note that this mechanism is not completely reliable, and so it is possible that duplicate addresses will still exist. If a duplicate addressbecomes deprecated because no Router Adver- tisements are heard (because the routerisdown, for example),discovered, the hostmay still continuewill need touse the address as normal untilbe configured with a new token, or if this is not possible, thenext Router AdvertisementIPv6 addresses will need to be manually configured. DISCUSSION: There isheard. Note thata problem with a race condition when two (or more) nodes boot up at the'M' bit of an address prefix extensionsame time. Both will send out a General Solicitation, receive no advertisement and assume all is well. A fix mayindicatebe to have a node process General Solicitations during thehost thatvali- dation stage and flag an error if itmust use DHCPv6 to acquire other IPv6 configuration parameters (besides the address). 4.2.3. Drop Address Prefix Extension Processing For eachsees more than one General Sol- icitation for an addressprefix advertised, the host updatesit is in thelistprocess ofaddresses as follows: 1. Ifvalidating. DISCUSSION: Should theprefix advertised matchessolicitations be dithered? Note that randomis- ing based on theprefix of an address already intoken (link-layer address) only does not help if thelist, then remove address from list.token is not unique. ExpiresJuly 31,September 24, 1995 [Page11]12] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 1995When an address is invalidated, it should no longer4. SECURITY CONSIDERATIONS To beused at all in communications since the subnet prefix is no longer routable.completed. Expires September 24, 1995 [Page 13] INTERNET-DRAFT Stateless Address Configuration March 1995 5.TRANSITION IMPLICATIONS IPv4-compatible IPv6 addresses are required byAPPENDIX A: FORMING AN IPv6hostsADDRESS FOR IEEE 802 LINKS The token forthe following purposes in the SIT scheme[IPv6-TRANS]: 1) to communicate off a link whenanIPv6 neighboring router is not presentinterface onthean IEEE 802 link or any linkand 2) to communicate with IPv4-only hosts. In orderthatdual IPv4/IPv6 hosts can communicate using IPv6 without the presence of an IPv6 neighboring router,uses IEEE 802 addressing, sucha host should be able to form an IPv4-compatible IPv6 address autonomously. Thisas FDDI, isdone by concatenatingthewell-defined IPv4-compatibility prefix to48-bit IEEE 802 address in canonical format, i.e. thehost's IPv4 address. (ItIndividual/Group bit isnot defined here howthe low-order bit of the furst byte. A hostgetsforms anIPv4 address; the IPv4 address may have been manually configured or autoconfigured using BOOTP, DHCP[RFC1531],etc). An IPv4-compatibleIPv6 addressshould be formed on an interface if no Router Advertise- ment is heard within a reasonable timeframe. On hearingper link by concatenating anIPv6 Router Advertisement, however, the host must carry out80-bit pre- fix with theIPv6IEEE 802 addressautoconfiguration procedureasnormal.follows: | 80 bits | 48 bits | +---------------------------------------+------------------------+ | prefix | IEEE 802 address | +----------------------------------------------------------------+ In the casewhere the router advertises subnet prefixes for autoconfigura- tion purposes, it is possible to tell from the valueof a link-local prefix, thesubnetprefixadvertised what form of addressisto be used.well-defined[1]. Thesubnet prefix advertised may contain the IPv4-compatibility prefix in which case the IPv4-compatible formprefixes ofthe address is used. Otherwise, an IPv6-only address must be formedother types of addresses need toreplace any IPv4-compatible address previously formed as described in Section 3. 6. SECURITY CONSIDERATIONS Tobecompleted.configured. ExpiresJuly 31,September 24, 1995 [Page12]14] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 19957.6. APPENDIX-B: UNIQUENESS OF HOST TOKENSOne of the basic assumptions of the autoconfiguration schemes out- lined in this memo is that the host token is at least unique per link. The only feasible choice for the token is the link layer address in most cases. In practice, two hosts on the same link may haveAs has been mentioned, one of thesame link layer address becausebasic assumptions ofan assignment error,the autoconfi- guration scheme outlined inwhich casethis document is that theresulting IPv6 addresses willhost token is at least unique per link, but that tokens may not always beunique. Thereunique, in practice. A host should check that an address isno automatic detection of such occurrences. Theunique using the scheme proposed in this document. Since this is not completely reli- able, system administrators may also useofDNS toregis- ter name to address mappings mayhelpsystem administratorsdetect when such a problem occurs since two different hosts will register the same IPv6 address.The above problemDuplicate IPv6 addresses may occur as a result of non-unique tokens in any particular network topology. One particular scenario deserves further mention though. Consider a topology consisting of two links with singly-homed hosts attached to each, a multi-homed host attached to both and no router. In this case, because no router is present, hosts will formintra-linklink-local addresses only on all interfaces. It is imperative that hosts have interface tokens that are unique across bothlinks, which islinks. However, this may not be trueif a hostfor two reasons: the links may be of different types and thus the tokens used may not be unique. Also, the token may not be unique if it is defined to be a link layer address and the link-layer address is only defined to be unique per link as is true in some cases. Strictly speaking, we require that host tokens are globally unique to ensure correct operation in these topologies. In practice, link layer addresses are frequentlygloballyglo- bally unique and so the uniqueness problems in this scenario should not be appreciably worse than in more traditional topologies as described above. If twointra-linklink-local scope addresses are detected to be the same in this scenario, there are two solutions: one is to make the multihomed host a router, the other is to manually configure theintra-link scopelink-local address of an offending host. ExpiresJuly 31,September 24, 1995 [Page13]15] INTERNET-DRAFT Stateless Address ConfigurationJanuaryMarch 19958. REFERENCES [RFC1531] R. Droms, "Dynamic Host Configuration Protocol", RFC 1531, Buck- nell University, October 1993. [IPv6-TRANS] Robert E. Gilligan and E. Nordmark, "Transition Mechanisms7. APPENDIX C: Prefix-Information Extension +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Extension | Length |C|A|M| 0 | Prefix Size | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Lifetime | Preference | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Identifier | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Extension As in [3] Length As in [3] C As in [3] A Autonomous Mode Form an address using prefix of advertised identifier. M Administered Mode Use DHCPv6 to autoconfigure other information. Prefix Size Number of bits of identifier defining the routing prefix for this link Preference As in [3] Identifier One of IPv6Hosts and Routers", Internet Draft, November 1994, <draft- gilligan-ipv6-trans-mech-00.txt> [IPv6-SPEC]unicast addresses of this interface This extension is found in Router Advertisements. Expires September 24, 1995 [Page 16] INTERNET-DRAFT Stateless Address Configuration March 1995 8. REFERENCES [1] R. Hinden, "Internet Protocol Version6(IPv6) Specification", Internet Draft,February 1994, <draft-hinden-ipng-ipv6-spec- 00.txt> [IPv6-ROAD] [IPv6-ICMP] A. Conta and S. Deering, "ICMP and IGMP for IPv6", Internet Draft, September 1994, <draft-conta-ipv6-icmp-igmp-00.txt> [IPv6-DISC-FORM]March 1995, <draft-ietf-ipngwg-ipv6-addr-arch- 01.txt> [2] W. A. Simpson, "IPv6 Neighbor Discovery --ICMP Message For- mats",Processing", Internet Draft,November 1994, <draft-simpson-ipv6- discov-formats-01.txt> [IPv6-DISC-PROC]January 1995, <draft-simpson-ipv6-discov-process-02.txt> [3] W. A. Simpson, "IPv6 Neighbor Discovery --Processing",ICMP Message For- mats", Internet Draft,November 1994, <draft-simpson-ipv6-discov-process-01.txt> [IPv6-DHCP] J. Bound, Y. Rekhter and S. Thomson, Internet Draft in progress.January 1995, <draft-simpson-ipv6- discov-formats-02.txt> Acknowledgements The author would like to thank the members of both the IPNG and ADDRCONF working groups for their input.Expires July 31, 1995 [Page 14] INTERNET-DRAFT Address Configuration January 1995In particular, thanks to Jim Bound, Steve Deering and Bill Simpson. Author's Addresses Susan Thomson Bellcore 445 South Street Morristown, NJ 07960 U.S.A. Phone: +1 201-829-4514 Email: set@thumper.bellcore.com ExpiresJuly 31,September 24, 1995 [Page15]17] INTERNET-DRAFT Stateless Address Configuration March 1995 Expires September 24, 1995 [Page 18] ----