ZXR10ZSRV2CongurationGuide(IPv6)
IPv4andIPv6HeaderFormat
ThefollowingaredifferencesbetweenIPv4andIPv6inheaderformat.
TheheaderformatsofIPv4andIPv6asshowninFigure2-1andFigure2-2respectively.
(Numbersintheguresrefertobitnumbers.)
Figure2-1IPv4HeaderFormat
Figure2-2IPv6HeaderFormat
IPv6headerissimplerthanIPv4headerinstructurebecausemanyeldsinIPv4header
thatarenotfrequentlyusedaredeletedfromIPv6header,andareputintoitsoptionsand
headerextension,whicharedenedmorestrictly.
lIPv4containsteneldswithxedlength,twoaddressspacesandsomeoptions,while
IPv6containsonlysixeldsandtwoaddressspaces.
lAlthoughIPv6headeroccupies40bytes,whichis1.6timesofIPv4headerwith
24-bytes,itdoesnotconsumetoomuchmemorycapacityduetoitsxedlength(the
lengthoftheIPv4headerisvariable).
lThefollowingsixeldsaredeletedfromIPv4header:headerlength,typeofservice,
identier,ags,fragmentedoffsetsandheaderchecksum.Namesandsomefunctions
ofthethreeeldsoftotallength,protocolandTimetoLive(TTL)arechanged,and
itsoptionalfunctionsarecompletelychanged.Apartfromthis,twoeldsareadded:
trafctypeandowlabel.
lIPv6headerformatisgreatlysimplied,whicheffectivelyparesdownoverheadof
processingheadersbyarouterorswitch.Atthesametime,IPv6enhancesthe
2-2
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential