Chapter 3 IPv6 Addressing 59 Unique Local Addresses Site-local addresses provide a private addressing alternative to global addresses for intranet traffic.However,because the site-local address prefix can be reused to address multiple sites within an organization,a site-local address prefix can be duplicated.The ambiguity of site- local addresses in an organization adds complexity and difficulty for applications,routers, and network managers.For more information,see section 2 of RFC 3879 To replace site-local addresses with a new type of address that is private to an organization yet unique across all the sites of the organization,RFC 4193 defines unique local IPv6 unicast addresses.Figure 3-5 shows the structure of the unique local address. 40 bits 16 bits 64 bits Global ID Subnet ID Interface ID L1111110 Figure 3-5 The structure of the unique local address The first 7 bits have the fixed binary value of 1111110.All local addresses have the address prefix FCOO::/7.The Local(L)flag is set 1 to indicate that the prefix is locally assigned.The L flag value set to 0 is not defined in RFC 3879.Therefore,unique local addresses within an organization with the L flag set to 1 have the address prefix of FD00::/8.The Global ID iden- tifies a specific site within an organization and is set to a randomly derived 40-bit value.By deriving a random value for the Global ID,an organization can have statistically unique 48-bit prefixes assigned to their sites.Additionally,two organizations that use unique local addresses that merge have a low probability of duplicating a 48-bit unique local address pre- fix,minimizing site renumbering.Unlike the Global Routing Prefix in global addresses,the Global IDs in unique local address prefixes are not designed to be summarized. Unique local addresses have a global scope,but their reachability is defined by routing topology and filtering policies at Internet boundaries.Organizations will not advertise their unique local address prefixes outside of their organizations or create DNS entries with unique local addresses in the Internet DNS.Organizations can easily create filtering policies at their Internet boundaries to prevent all unique local-addressed traffic from being forwarded. Because they have a global scope,unique local addresses do not need a zone ID. The global address and unique local address share the same structure beyond the first 48 bits of the address.In both addresses,the 16-bit Subnet ID field identifies a subnet within an organization.Because of this,you can create a subnetted routing infrastructure that is used for both local and global addresses
!"#$%"%&&' (( ()'#*& %)'*% %&&' ((+,%" '+%* #,"#-%"%&&' (( (.#'+'%+ '%..$/0#1 * '2- $%3( 4 ( !"#$%"%&&' (()' .5$%+- ' 3( &#%&&' ((63")" ( ( 14+%+#',%+7%#+2%( !"#$%"%&&' (()' .5$%+- &3)"$% &/84 %6-,39#.( ! "#$%"%&&' (( (+%+#',%+7%#+%&&($#6)" 59%+&&..$3"9.#'%))"$%#+(2'#3 '(2 %+&+ 1#':6%+%, '(/;#'6#' +.#'6%#+2( ( $#+<#.=;>?@AB/ 8#' )"%$ ( !"#$%"%&&' (( (14%+ 19) #.%&&' ((4%()'*% #%+#',%+7%#+9 3+C3 %$'#((%""4 ( (#.4 #',%+7%#+2=;>DEB?& .+ (3+C3 "#$%"FG*H3+$%( %&&' (( (/;,3' ?!I(4#1(4 ('3$3' #.4 3+C3 "#$%"%&&' ((/ J KL MNOPQRSTQSROUVQNOSWXYSOZUT[Z[\\ROPP 84 .'(A-(4%* 4 .5 &-+%'9*%"3 #.EEEEEE]/^"""#$%"%&&' (( (4%* 4 %&&' (( )' .5;>]]__`A/84 a#$%"bac."%,(( E#+&$% 4%4 )' .5("#$%""9%((,+ &/84 a ."%,*%"3 ( #](+#& .+ &+=;>?@AB/84 ' .#' 23+C3 "#$%"%&&' (( (14+%+ #',%+7%#+144 a."%,( #E4%* 4 %&&' (()' .5#.;d]]__`@/84 e"#-%"Fd& +! . (%() $.$( 14+%+#',%+7%#+%+&(( #%'%+"9& '* &D]!-*%"3 /f9 & '*+,%'%+*%"3 .#'4 e"#-%"Fd2%+#',%+7%#+$%+4%* (%($%""93+C3 D@!- )' .5 (%((,+  '( (/^&&#+%""921##',%+7%#+(4%3( 3+C3 "#$%" %&&' (( (4%6 ', 4%* %"#1)'#-%-"9#.&3)"$%+,%D@!-3+C3 "#$%"%&&' (()' ! .526+67+,( ' +36- '+,/g+": 4 e"#-%"=#3+,G' .5+,"#-%"%&&' (( (24 e"#-%"Fd(+3+C3 "#$%"%&&' (()' .5 (%' +#& (,+ &#- (366%'7 &/ g+C3 "#$%"%&&' (( (4%* %,"#-%"($#) 2-34 '' %$4%-"9(& .+ &-9'#3+,#)#"#,9 %+&." '+,)#"$ (%F+ '+ -#3+&%' (/h',%+7%#+(1""+#%&* '( 4 '3+C3 "#$%"%&&' (()' .5 (#3(& #.4 '#',%+7%#+(#'$' % di +' (143+C3 "#$%" %&&' (( (+4 F+ '+ di/h',%+7%#+($%+ %("9$' % ." '+,)#"$ (%4 ' F+ '+ -#3+&%' (#)' * +%""3+C3 "#$%"!%&&' (( &'%..$.'#6- +,.#'1%'& &/ f $%3( 4 94%* %,"#-%"($#) 23+C3 "#$%"%&&' (( (&#+#+ &%7#+ Fd/ 84 ,"#-%"%&&' ((%+&3+C3 "#$%"%&&' (((4%' 4 (%6 ('3$3' - 9#+&4 .'(D@-( #.4 %&&' ((/F+-#4%&&' (( (24 EH!-3-+ Fd. "&& +. (%(3-+ 14+%+ #',%+7%#+/f $%3( #.4(29#3$%+$' % %(3-+ &'#3+,+.'%('3$3' 4%(3( &.#' -#4"#$%"%+&,"#-%"%&&' (( (/ jklmn opklmn qrklmn roklmn }~kx~sz {|ktumsz stmuvwxyusz qqqqqqp
60 Understanding IPv6,Second Edition For example,a specific subnet of your organization can be assigned both the global prefix 2001:DB8:4D1C:221A::/64 and the local prefix FDOE:2D:BA9:221A::/64.where the subnet is identified for both types of prefixes by the Subnet ID value of 221A.Although the subnet identifier is the same for both prefixes,routes for both prefixes must still be propagated throughout the routing infrastructure so that addresses based on both prefixes are reachable. Special IPv6 Addresses The following are special IPv6 addresses: ■Unspecified address The unspecified address(0:0:0:0:0:0:0:0or::)is used only to indicate the absence of an address.It is equivalent to the IPv4 unspecified address of 0.0.0.0.The unspecified address is typically used as a source address when a unique address has not yet been determined.The unspecified address is never assigned to an interface or used as a des- tination address. ■Loopback address The loopback address (0:0:0:0:0:0:0:1 or :1)is assigned to a loopback interface, enabling a node to send packets to itself.It is equivalent to the IPv4 loopback address of 127.0.0.1.Packets addressed to the loopback address must never be sent on a link or for- warded by an IPv6 router Transition Addresses To aid in the transition from IPv4 to IPv6 and the coexistence of both types of hosts,the fol- lowing addresses are defined: IPv4-compatible address The IPv4-compatible address,0:0:0:0:0:0:w.x.y.z or::w.x.y.z(where w.x.y.z is the dotted- decimal representation of a public IPv4 address),is used by IPv6/IPv4 nodes that are communicating with IPv6 over an IPv4 infrastructure that uses public IPv4 addresses, such as the Internet.IPv4-compatible addresses are deprecated in RFC 4291 and are not supported in IPv6 for Windows Vista and Windows Server 2008. ■IPv4-mapped address The IPv4-mapped address,0:0:0:0:0:FFFF:w.x.y.z or FFFF:w.x.y.z,is used to represent an IPv4 address as a 128-bit IPv6 address. ■6to4 address An address of the type 2002:WWXX:YYZZ:Subnet ID:Interface ID,where WWXX:YYZZ is the colon hexadecimal representation of w.x.y.z(a public IPv4 address),is assigned a node for the 6to4 IPv6 transition technology
!"#$#" !%&'( $ )% *'#+(#' "' & !!#*', &(- (- *& $# .//01234152061..0711895 ', (- " $# 2/:1.2137;1..0711895 <- (- !%&'( #! #,'(#$#, $ &(- ()! $ $#! &) (- =%&'( >2 ?% $ @@ABC 7(-%*- (- !%&'( #,'(#$##! (- ! $ &(- $#! %(! $ &(- $#! %!( !(# & *(, (-%*-%( (- %(#'* #'$!(%"(% ! (-( ,,!!! &!, ' &(- $#! "-&C D E F G- $<#'* !"# >H?9 ,,!!!1 I JKLMNOPQPNR SRRTNLL G- %'!"#$#, ,,!! U/1/1/1/1/1/1/1/ 11V #! %!, ') ( #',#"( (- &!'" $ ' ,,!!C >( #! W%#?'( ( (- >H?5 %'!"#$#, ,,!! $ /C/C/C/C G- %'!"#$#, ,,!! #! ()#") %!, ! !%" ,,!! <-' %'#W% ,,!! -! '( )( &' ,(#',C G- %'!"#$#, ,,!! #! '? !!#*', ( ' #'($" %!, ! ,!X (#'(#' ,,!!C I YZZM[SO\ SRRTNLL G- &"] ,,!! U/1/1/1/1/1/1/10 110V #! !!#*', ( &"] #'($" '&#'* ', ( !', "](! ( #(!$C >( #! W%#?'( ( (- >H?5 &"] ,,!! $ 0.^C/C/C0C H"](! ,,!!, ( (- &"] ,,!! %!( '? & !'( ' #'] $X <,, &) ' >H?9 %(C _ F G #, #' (- ('!#(#' $ >H?5 ( >H?9 ', (- "#!('" $ &(- ()! $ -!(! (- $X <#'* ,,!!! ,$#',1 I `abcdOZeMSfP[gN SRRTNLL G- >H?5X"(#& ,,!! /1/1/1/1/1/1hijikil 11hijikil U<- hijikil #! (- ,((,X ,"# !'((#' $ %&#" >H?5 ,,!!V #! %!, &) >H?98>H?5 ',! (-( "%'#"(#'* <#(- >H?9 ? ' >H?5 #'$!(%"(% (-( %!! %&#" >H?5 ,,!!! !%"- ! (- >'('(C >H?5X"(#& ,,!!! ,"(, #' m6 5.;0 ', '( !%(, #' >H?9 $ n#',<! o#!( ', n#',<! =? .//4C I `abcdeSMMNR SRRTNLL G- >H?5X, ,,!! /1/1/1/1/11hijikil 111 hijikil #! %!, ( !'( ' >H?5 ,,!! ! 0.4X&#( >H?9 ,,!!C I pfZc SRRTNLL 7' ,,!! $ (- () .//.1qqrr1sstt1uvwxyz {|1{xzy}~y {| <- qqrr1sstt #! (- "' -,"# !'((#' $ hijikil U %&#" >H?5 ,,!!V #! !!#*', ', $ (- 9(5 >H?9 ('!#(#' ("-'*)C