138 Understanding IPv6,Second Edition TypeL =134 Code e w =o Checksum Current Hop Limit Managed Address Configuration Flag Other Stateful Configuration Flag Home Agent Flag Default Router Preference Reserved Router Lifetime Reachable TimeLwlLI Retrans Timer Options lwwL... Figure 6-13 The structure of the Router Advertisement message The fields in the Router Advertisement message are as follows: Type The value of this field is 134. Code The value of this field is 0. Checksum The value of this field is the ICMPv6 checksum. Current Hop Limit The Current Hop Limit field indicates the default value of the Hop Limit field in the IPv6 header for packets sent by hosts that receive this Router Adver- tisement message.The size of this field is 8 bits.A current hop limit of 0 indicates that the default value of the Hop Limit field is not specified by the router. Managed Address Configuration flag The Managed Address Configuration flag indi- cates,when set to 1,that hosts receiving this Router Advertisement message must use an address configuration protocol such as DHCPv6 to obtain addresses in addition to the addresses that might be derived from stateless address autoconfiguration.The size of this field is 1 bit. Other Stateful Configuration flag The Other Stateful Configuration flag indicates. when set to 1,that hosts receiving this Router Advertisement message must use an address configuration protocol (for example,DHCPv6)to obtain non-address configu- ration information.The size of this field is I bit. Home Agent flag The Home Agent flag is defined in RFC 3775 for Mobile IPv6.For more information,see Appendix F. Default Router Preference The Default Router Preference field indicates the level of preference for this router as the default router.If multiple routers advertise themselves as default routers,you can configure the routers so that they advertise with different pref- erence levels.Valid values in binary are 01 (High),00(Medium),and 11 (Low).If the
!"#$!#"%&!'%#!"()*"!+ ,-!, ./ 01234256748912:;<92=>6?2=9472@289@277AB2A=2A73;55;C7D E FGH 012?A5<2;391473425647IJKL E M 012?A5<2;391473425647NL E MOP Q 012?A5<2;391473425647912RSTU?VW12WX7<@L E M YHZQ 012S<==289[;\]4@49342564864WA927912623A<59?A5<2;3912[;\ ]4@493425648912RU?V12A62=3;=\AWX2977289^_1;79791A9=2W24?29147:;<92=>6?2=` 9472@289@277AB2L01274a2;391473425647b^497L>W<==2891;\54@49;3N4864WA92791A9 912623A<59?A5<2;3912[;\]4@4934256478;97\2W43426^_912=;<92=L E c d Me ef 012TA8AB26>66=277S;834B<=A94;835AB4864` WA927gC1287299;Ig91A91;797=2W24?48B9147:;<92=>6?2=9472@289@277AB2@<79<72A8 A66=277W;834B<=A94;8\=;9;W;57<W1A7h[SU?V9;;^9A48A66=2772748A66494;89;912 A66=2772791A9@4B19^262=4?263=;@79A925277A66=277A<9;W;834B<=A94;8L01274a2;3 91473425647I^49L E i O efMe ef 012j912=k9A923<5S;834B<=A94;835AB4864WA927g C1287299;Ig91A91;797=2W24?48B9147:;<92=>6?2=9472@289@277AB2@<79<72A8 A66=277W;834B<=A94;8\=;9;W;5l3;=2mA@\52gh[SU?Vn9;;^9A488;8oA66=277W;834B<` =A94;8483;=@A94;8L01274a2;391473425647I^49L E YQd ef 012[;@2>B28935AB47623482648:pSJqqr3;=T;^452RU?VLp;= @;=2483;=@A94;8g722>\\2864mpL E sef t e 012h23A<59:;<92=U=232=28W2342564864WA92791252?25;3 \=232=28W23;=9147=;<92=A7912623A<59=;<92=LR3@<594\52=;<92=7A6?2=9472912@725?27A7 623A<59=;<92=7g_;<WA8W;834B<=2912=;<92=77;91A9912_A6?2=9472C49164332=289\=23` 2=28W252?257LuA546?A5<2748^48A=_A=2NIl[4B1ngNNlT264<@ngA86IIl];CnLR3912 vwxy z{| }~ zy zy{x y|||y z{{ yyz{{ {yy y{yyyyy y yy| {yyy yyvy y vy x{
Chapter 6 Neighbor Discovery 139 preference is set to 10,the receiving host should assume a value of 0 for the Router Lifetime field,effectively disabling the advertising router as a default router.The size of this field is 2 bits.This field is described in RFC 4191. A typical configuration that can use the default router preference is a subnet that has two routers connected to the Internet or an organization intranet-one router is the primary router,and another router is a slower,secondary router intended to provide fault toler- ance for the primary router.Both routers advertise themselves as default routers:how- ever,the primary router advertises a default router preference of 0l (High)and the secondary router advertises a default router preference of 00(Medium).If the primary router becomes unavailable,the hosts on the subnet will use the secondary router until the primary router becomes available. Reserved This is a 3-bit field reserved for future use and set to 0. Router Lifetime The Router Lifetime field indicates the lifetime (in seconds)of the router as the default router.The size of this field is 16 bits.The maximum Router Life- time value is 65,535 seconds (about 18.2 hours).A value of 0 indicates that the router cannot be considered a default router:however,all other information contained in the Router Advertisement is still valid.A computer running Windows Server 2008. Windows Vista,Windows XP,or Windows Server 2003 acting as an IPv6 router that does not have a default route that is configured to be published sets the Router Lifetime field to 0. Reachable Time The Reachable Time field indicates the amount of time (in millisec- onds)that a node can consider a neighboring node reachable after receiving a reachabil- ity confirmation.The size of this field is 32 bits.A value of 0 indicates that the router does not specify the reachable time.For more information,see the "Neighbor Unreach- ability Detection"section in this chapter. Retransmission Timer The Retransmission Timer field indicates the amount of time(in milliseconds)between retransmissions of Neighbor Solicitation messages.The size of this field is 32 bits.The retransmission timer is used during neighbor unreachability detection.A value of 0 indicates that the router does not specify the retransmission timer value. The options that can be present in a Router Advertisement message are the following: Source Link-Layer Address option When present,the Source Link-Layer Address option contains the link-layer address of the interface on which the Router Advertise- ment message was sent.This option can be omitted when the router is load-balancing across multiple link-layer addresses. MTU option When present,the MTU option contains the MTU of the link.It is typi- cally sent on links that have a variable MTU or in switched environments that have mul- tiple link-layer technologies on the same link
!"#$%&$ $ '()*'+*%*(' " $, ' -+()#%(.)*/(&$*)%& '**)*'( '01$2 $()3/01$())/),456!7!0 8.*( &'* $**'$)*'( '*'/$*$*9 ' ) $: * &*2* *; '$+*. '#*)* $ '*( 9# )*. ')) %)*'( (< * $+*. '0= $ '*)%$+(%*)*'( '>$ 9< %#$+*. '*)%*)*'( ' "!?@&$A*)$ )*. '*)%*)*'( ' ""?B)'+A0:$+*. '/ +'*%*(*/(#$$ $'/9(('$ )*. ''( $+*. '/ +*%*(*/(0 C DE 1$*F</()%) '''*) "0 C DGHIJ 1$, '-+())*$(+? )A $ '*$)*'( '01$2 $()!K/01$+*L+'+, '-< +%*('KM#MFM )?*/ '!N03$ 'A08%*(' ")*$*$ ' * / ))*)*'( '>$ 9%#*(( $ +* *)$ , '8)%+((%*()08 +''&O) 9P%3""N# O) 9Q*#O) 9RS# O) 9P%3""F*&**:S%K '$* ) $*%*)*'( '$* &') /'/($)$, '-+ () "0 C D TUJ 1$,*$*/(1+())*$*+ ' +?+((< )A$** )* )*&$/ & )*$*/(*%&**$*/(< . +* 01$2 $()F3/08%*(' ")*$*$ ' ) .$*$*/(+04 + +* #$VW&$/ X*$< */(.Y Z $$*0 C D[J[UJ 1$,*+ 1+())*$*+ ' +? +(( )A/9*+ W&$/ P (* +*&01$2 $()F3/01$*+ +'))'&&$/ '*$*/(. ) 08%*(' ")*$*$ ') .$*+ + %*('0 1$ $**/*, '8)%++*&*$ (( 9&\ C ]GH[^_H`EE[ O$#$P '-a<-*.8)) *$(a<(*.*)) $* 9$$$, '8)%< ++*&9*01$ */ +)9$$ '( *)</*(*& * +'(((a<(*.*))0 C bUc[ O$#$B1X *$B1X $(a0:.< *((. (a$*$*%*%**/(B1X 9$)% +$*$*%+'(< ((a<(*.$ ( & $*+(a0