Chapter176RDConguration
ACEassignstheIPv6addressoftheCELANsidetoadownstreamuserthroughDHCPv6
orSLAACbasedontheprex.
MessageForwarding
lForwardingamessageina6rddomain
AsshowninFigure17-4,uponarrivalofamessagefromPC1,CPE1obtainstheIPv4
addressfromtheIPv6destinationaddressafteradecapsulation,encapsulatesthe
messageintoa6in4tunnel,andforwardsittoCPE2.Uponreceiptofthemessage,
CPE2obtainstherawmessageafteradecapsulation,andforwardsittoPC3.PC1
andPC2canbeonthesameIPv6subnet.ThebluelineinFigure17-4illustratesthe
messageforwardingdirection.
Figure17-4ForwardingaMessageina6rdDomain
CPE1worksasfollows.
1.Uponreceiptofamessagedestinedfor2001:db8:0a0a:100::0:0202:0202,CPE1
determinesthatthenext-hopisthetunnelbasedontheIPv6route(::/0->tunnel1
via2001:db8:0:100:).
2.TheIPv6destinationaddressindicatesthatthisIPv6messageisaddressedto
thesamedomain.CPE1thenencapsulatesthemessageintoatunnelwiththe
carriedIPv4addressbeingthedestinationaddress.
3.Searchtheroute,andforwardthemessagetoCPE2.
CPE2worksasfollows.
1.Upondetectinga6rdlabelontheIPV4route,CPE2decapsulatesthereceived
IPv4message,andobtainstherawIPv6message.
2.ForwardtherawIPv6messageto(2001:db8:0a0a:100::0:0202:0202).
lForwardingamessageoutofa6rddomain
AsshowninFigure17-5,uponreceiptofamessagefromPC1,CPE1determinesthat
themessageisaddressedtoanout-of-domainareabymatchingtheIPv6prex.It
thenencapsulatesthemessageintoa6in4tunnelwiththedestinationaddressbeing
17-3
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential