Chapter16IPv6TunnelConguration
interfacev6_tunnel2
tunnelmodeipv6ip6to4
tunnelsourceipv41.1.1.1
!</ipv6-tunnel>
R1(config)#showipv6interfacebrief
v6_tunnel2[up/up]
fe80::101:101
2002:101:101:1::1/64
16.2ISATAPTunnelConguration
16.2.1ISATAPTunnelOverview
ISATAPTunnelIntroduction
WiththewideapplicationsofIPv6technology,therearemoreIPv6hostsonthe
currentIPv4network.Intra-SiteAutomaticTunnelAddressingProtocol(ISATAP)tunnel
technologyprovidesagoodsolutionforsuchapplication.ISATAPcanobtainthe
destinationofatunnelautomaticallybyembeddinganIPv4addressinthedestination
addressofanIPv6packet.
WhenanISATAPtunnelisused,thedestinationaddressofanIPv6packetandtheIPv6
addressofatunnelinterfaceshouldusespecialISATAPaddresses.Theformatofan
ISATAPaddressisPrex(64bit):0:5EFE:ip-address.The64-bitprexistheprexofa
legalIPv6unicastaddress,andtheip-addressisa32-bitIPv4sourceaddress(inthe
a.b.c.dformatorabcd:efghformat).ThroughthisembeddedIPv4address,atunnelcan
beestablishedautomaticallytotransmitIPv6packets.ISATAPtunnelsaremainlyusedto
establishconnectionsbetweenIPv6routers,andbetweenIPv6hostsandIPv6routerson
theIPv4network.
ISATAPTunnelWorkFlow
ISATAPencapsulationanddecapsulationaredescribedbelow.
lEncapsulationprinciple:WhenanIPv6issent,theegressisantunnelinterface.The
tunneltypeisdeterminedaccordingtopacketcall-backontheinterface.Ifitisan
ISATAPtunnel,IPv4headerencapsulationisperformed.AnISATAPtunnelfollowsthe
encapsulationformatofa6in4tunnel.TheouterIPv4destinationaddressistheIPv4
addressembeddedinthedestinationaddressoftheIPv6packet,andtheouterIPv4
sourceaddressisthesourceaddressoftheISATAPtunnel.Aftertheencapsulation,
thepacketishandledaccordingtothecommonIPv4packetsendingow.
lDecapsulationprinciple:ThedecapsulationowofanISATAPtunnelisthesameas
thatofa6in4tunnel.WhenanIPv4packetisreceivedandtheprotocolnumberin
theIPv4headeris41,theprotocolnumberprocessingfunctionsregisteredforIPv4
arecalledandthe6in4decapsulationfunctionisused.Thedevicesearchesforthe
matchedtunnelentityaccordingtothesourceaddressanddestinationaddressof
16-13
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential