tag:blogger.com,1999:blog-27396242232110841482024-03-07T19:20:08.060-08:00Networker NinjaExplore the knowledge of Networking.....Jenish Patelhttp://www.blogger.com/profile/01822208395993231240noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-2739624223211084148.post-84507290031390398712014-12-04T00:15:00.000-08:002014-12-04T00:15:19.984-08:00IPv6 interface identifiers<div dir="ltr" style="text-align: left;" trbidi="on">
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">IPv6 interface identifiers</span></h2>
<div class="section" id="sectionSection0">
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">The last 64 bits of an IPv6 address are the interface identifier that is unique to the 64-bit prefix of the IPv6 address. The ways in which an interface identifier is determined are as follows:</span></div>
<ul>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">RFC 2373 states that all unicast addresses that use the prefixes 001 through 111 must also use a 64-bit interface identifier that is derived from the Extended Unique Identifier (EUI)-64 address. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">RFC 3041 describes a randomly-generated interface identifier that changes over time to provide a level of anonymity. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">An interface identifier that is assigned during stateful address autoconfiguration (for example, through DHCPv6). DHCPv6 standards are currently being defined. The IPv6 protocol for the Windows Server 2003 family and Windows XP does not support stateful address configuration or DHCPv6. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">An interface identifier that is manually configured. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 14.039999008178711px;"><br /></span></div>
</li>
</ul>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">EUI-64 address-based interface identifiers</span></h2>
<div class="section" id="sectionSection1" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;">
<div style="line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">The 64-bit EUI-64 address is defined by the Institute of Electrical and Electronic Engineers (IEEE). EUI-64 addresses are either assigned to a network adapter or derived from IEEE 802 addresses.</span></div>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">IEEE 802 addresses</span></h2>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><span style="color: #eeeeee;"><img alt="The structure of the 48-bit IEEE 802 address" src="http://i.technet.microsoft.com/dynimg/IC95108.gif" height="76" id="13651be5-7fb3-41b8-89f8-03e5033ad5cf" style="border: 0px; font-size: 12.800000190734863px; margin-left: auto; margin-right: auto;" title="The structure of the 48-bit IEEE 802 address" width="400" xmlns="" /></span></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><span style="color: #eeeeee;">Add caption</span></td></tr>
</tbody></table>
<div class="section" id="sectionSection2">
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">Traditional interface identifiers for network adapters use a 48-bit address called an IEEE 802 address. This address consists of a 24-bit company ID (also called the manufacturer ID), and a 24-bit extension ID (also called the board ID). The combination of the company ID, which is uniquely assigned to each manufacturer of network adapters, and the board ID, which is uniquely assigned to each network adapter at the time of assembly, produces a globally unique 48-bit address. This 48-bit address is also called the physical, hardware, or media access control (MAC) address.</span></div>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">Defined bits within the IEEE 802 address are the following:</span></div>
<ul>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Universal/Local (U/L) </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><div style="text-align: justify;">
The U/L bit is the seventh bit of the first byte and is used to determine whether the address is universally or locally administered. If the U/L bit is set to 0, the IEEE, through the designation of a unique company ID, has administered the address. If the U/L bit is set to 1, the address is locally administered. The network administrator has overridden the manufactured address and specified a different address.</div>
</span><div style="text-align: justify;">
<span style="color: #eeeeee;"><br /></span></div>
</li>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Individual/Group (I/G) </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><div style="text-align: justify;">
The I/G bit is the low order bit of the first byte and is used to determine whether the address is an individual address (unicast) or a group address (multicast). When set to 0, the address is a unicast address. When set to 1, the address is a multicast address.</div>
</span><div style="text-align: justify;">
<span style="color: #eeeeee;"><br /></span></div>
</li>
</ul>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">For a typical 802.x network adapter address, both the U/L and I/G bits are set to 0, corresponding to a universally administered, unicast MAC address.</span></div>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">IEEE EUI-64 addresses</span></h2>
<div class="section" id="sectionSection3" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;">
<div style="line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">The IEEE EUI-64 address represents a new standard for network interface addressing. The company ID is still 24-bits in length, but the extension ID is 40 bits, creating a much larger address space for a network adapter manufacturer. The EUI-64 address uses the U/L and I/G bits in the same way as the IEEE 802 address.</span></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="font-size: 12.800000190734863px; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><span style="color: #eeeeee; font-size: small;"><img alt="Structure of the EUI-64 address" src="http://i.technet.microsoft.com/dynimg/IC81014.gif" id="aacd7abc-9dbc-479b-9301-493d5cc26882" style="border: 0px; margin-left: auto; margin-right: auto;" title="Structure of the EUI-64 address" xmlns="" /></span></td></tr>
<tr><td class="tr-caption" style="font-size: 10px;"><span style="color: #eeeeee; font-size: small;">Add caption</span></td></tr>
</tbody></table>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">Mapping IEEE 802 addresses to EUI-64 addresses</span></h2>
<div class="section" id="sectionSection4" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;">
<div style="line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">To create an EUI-64 address from an IEEE 802 address, the 16 bits of 11111111 11111110 (0xFFFE) are inserted into the IEEE 802 address between the company ID and the extension ID. The following illustration shows the conversion of an IEEE 802 address to an EUI-64 address.</span></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><span style="color: #eeeeee;"><img alt="Conversion of IEEE 802 address to EUI-64 address" src="http://i.technet.microsoft.com/dynimg/IC65066.gif" id="a655a650-11bd-4b7d-bfe7-ed8d7eb3e48a" style="border: 0px; margin-left: auto; margin-right: auto;" title="Conversion of IEEE 802 address to EUI-64 address" xmlns="" /></span></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><span style="color: #eeeeee; font-size: small;">Add caption</span></td></tr>
</tbody></table>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">Mapping EUI-64 addresses to IPv6 interface identifiers</span></h2>
<div class="section" id="sectionSection5" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;">
<div style="line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">To obtain the 64-bit interface identifier for IPv6 unicast addresses, the U/L bit in the EUI-64 address is complemented (if it is a 1, it is set to 0; and if it is a 0, it is set to 1). The following illustration shows the conversion for a universally administered, unicast EUI-64 address.</span></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><span style="color: #eeeeee;"><img alt="EUI-64 address converted to IPv6 identifier" src="http://i.technet.microsoft.com/dynimg/IC86934.gif" id="183c5c38-e3d4-4449-ba91-1a513453369e" style="border: 0px; margin-left: auto; margin-right: auto;" title="EUI-64 address converted to IPv6 identifier" xmlns="" /></span></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><span style="color: #eeeeee; font-size: small;">Add caption</span></td></tr>
</tbody></table>
<div style="line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">To obtain an IPv6 interface identifier from an IEEE 802 address, you must first map the IEEE 802 address to an EUI-64 address, and then complement the U/L bit. The following illustration shows the conversion process for a universally administered, unicast IEEE 802 address.</span></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><span style="color: #eeeeee;"><img alt="IEEE 802 address converted to IPv6 identifier" src="http://i.technet.microsoft.com/dynimg/IC1480.gif" id="b947a30a-487b-46fa-998e-f4302e6e2db2" style="border: 0px; margin-left: auto; margin-right: auto;" title="IEEE 802 address converted to IPv6 identifier" xmlns="" /></span></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><span style="color: #eeeeee; font-size: small;">Add caption</span></td></tr>
</tbody></table>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">IEEE 802 address conversion example</span></h2>
<div class="section" id="sectionSection6">
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">Host A has the Ethernet MAC address of 00-AA-00-3F-2A-1C. First, it is converted to EUI-64 format by inserting FF-FE between the third and fourth bytes, yielding 00-AA-00-FF-FE-3F-2A-1C. Next, the U/L bit, which is the seventh bit in the first byte, is complemented. The first byte in binary form is 00000000. When the seventh bit is complemented, it becomes 00000010 (0x02). The final result is 02-AA-00-FF-FE-3F-2A-1C which, when converted to colon-hexadecimal notation, becomes the interface identifier 2AA:FF:FE3F:2A1C. As the result, the link-local address that corresponds to the network adapter with the MAC address of 00-AA-00-3F-2A-1C is FE80::2AA:FF:FE3F:2A1C.</span></div>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<strong><span style="color: #eeeeee;">Note</span></strong></div>
<ul>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">When complementing the U/L bit, add 0x2 to the first byte if the EUI-64 address is universally administered, and subtract 0x2 from the first byte if the EUI-64 address is locally administered. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 14.039999008178711px;"><br /></span></div>
</li>
</ul>
</div>
<h2 class="heading" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 1.692em; font-weight: normal; margin: 0px; padding-bottom: 5px; padding-top: 5px; text-align: justify;">
<span style="color: #eeeeee;">Temporary address interface identifiers</span></h2>
<div style="text-align: justify;">
<span style="color: #eeeeee;"><a href="https://www.blogger.com/null" id="anon" style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"></a><span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"></span><br /></span></div>
<div class="section" id="sectionSection7">
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">In today's IPv4-based Internet, a typical Internet user connects to an Internet service provider (ISP) and obtains an IPv4 address by using the Point-to-Point Protocol (PPP) and the Internet Protocol Control Protocol (IPCP). Each time the user connects, a different IPv4 address might be obtained. Because of this, it is difficult to track a user's traffic on the Internet on the basis of IP address.</span></div>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">For IPv6-based dial-up connections, the user is assigned a 64-bit prefix after the connection is made through router discovery and stateless address autoconfiguration. If the interface identifier is always based on the EUI-64 address (as derived from the static IEEE 802 address), it is possible to identify the traffic of a specific node regardless of the prefix, making it easy to track a specific user and their use of the Internet. To address this concern and provide a level of anonymity, an alternative IPv6 interface identifier that is randomly generated and changes over time is described in RFC 3041.</span></div>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">The initial interface identifier is generated by using random numbers. For IPv6 systems that cannot store any historical information for generating future interface identifier values, a new random interface identifier is generated each time the IPv6 protocol is initialized. For IPv6 systems that have storage capabilities, a history value is stored and, when the IPv6 protocol is initialized, a new interface identifier is created through the following process:</span></div>
<ol class="ordered">
<li><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Retrieve the history value from storage and append the interface identifier based on the EUI-64 address of the adapter. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Compute the Message Digest-5 (MD5) one-way encryption hash over the quantity in step 1. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Save the last 64 bits of the MD5 hash computed in step 2 as the history value for the next interface identifier computation. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Take the first 64 bits of the MD5 hash computed in Step 2 and set the seventh bit to zero. The seventh bit corresponds to the U/L bit which, when set to 0, indicates a locally administered interface identifier. The result is the interface identifier. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
</ol>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">The resulting IPv6 address, based on this random interface identifier, is known as a temporary address. Temporary addresses are generated for public address prefixes that use stateless address autoconfiguration. Temporary addresses are used for the lower of the following values of the valid and preferred lifetimes:</span></div>
<ul>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">The lifetimes included in the Prefix Information option in the received Router Advertisement message. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
<li class="unordered" style="list-style-image: none;"><div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px; text-align: justify;">
<span style="color: #eeeeee;">Local default values of 1 week for valid lifetime and 1 day for preferred lifetime. </span></div>
<div style="text-align: justify;">
<span style="color: #eeeeee; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 14.039999008178711px;"><br /></span></div>
</li>
</ul>
<div style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; line-height: 18px; padding-bottom: 15px; text-align: justify;">
<span style="color: #eeeeee;">After the valid lifetime of a temporary address expires, a new interface identifier and temporary address are generated.</span><br />
<div>
<span style="color: #eeeeee;"><br /></span></div>
</div>
<div>
</div>
</div>
</div>
Jenish Patelhttp://www.blogger.com/profile/01822208395993231240noreply@blogger.com0