书签 分享 收藏 举报 版权申诉 / 99
上传文档赚钱

类型IPv6-技术理论和实务研习班.ppt

  • 上传人(卖家):晟晟文业
  • 文档编号:4523814
  • 上传时间:2022-12-16
  • 格式:PPT
  • 页数:99
  • 大小:777.95KB
  • 【下载声明】
    1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
    2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
    3. 本页资料《IPv6-技术理论和实务研习班.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
    4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
    5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    IPv6 技术 理论 实务 研习
    资源描述:

    1、IPv6-技术理论和实务研习班Content2Content3IPv4定址定址lIPv4以32bit來做定址空間l共四十億個IPv4位址可用lIPv4位址表示方式為xxx.xxx.xxx.xxx例如211.72.211.1lIPv4定址架構(classfull)如下001-126 =Class A 128-191 =Class B192-223 =Class C224-239 =Class D240-254 =Class E4Problems with IPv4(1/2)lAddress depletion/exhaustion and its implications NAT(Network

    2、 Address Translation)CIDRIPv4 address allocation rate5Problems with IPv4(1/2)lScaling problems with Inter-domain routingCIDR(Classless Inter-Domain Routing)lManual configuration requiredDHCP(Dynamic Host Configuration Protocol)lMulticast,Security,Quality of Service and MobilityIP multicast,IPSec,Dif

    3、fServ and IP mobilitylHeader and format limitations that limit future flexibility6NATlNetwork Address Translation allows a site to use private addresses behind a NAT gateway/firewall when communicating locally,land then automatically get a global IPv4 address assigned from a smaller pool when needed

    4、 for Internet communication,lwhich requires changing the IPv4 headers source address on the fly,which has a few problems.7Potential IPv6 ServiceslBroadband Access Subscribers95%FTTH coverage by 20196 millions by 2019l3G and WLAN Services 3G services to be launched in 4Q 2019Public Hotspots deploymen

    5、t plan to make Taiwan a“Wireless IslandlHome network and IA Servicese-Taiwan Projects will catalyze the development of home&IA1.More IP addresses will be consumed 2.More advanced features(e.g.Mobility,Auto-configuration,QoS,Security)will be required8Content9Address Notationl以16進位,每16位元為單位並以:為區隔來表示3F

    6、FE:3600:4368:1234:0008:AB12:98CE:1000IPv4以十進位,每8位元為單位並以 為區隔來表示,如202.39.157.141l為使標示簡潔,位於一單位內前方之0可省略3FFE:3600:4368:1234:8:AB12:98CE:1000l為使標示簡潔,若有連續為0 之位元,可以“:”表示,但一個位址中只能使用一次3FFE:3600:1 與 3FFE:3600:0000:0000:0000:0000:0000:00013FFE:3600:3:0000:1與3FFE:3600:0000:0000:0000:0003:0000:000110IPv6-Addressi

    7、ng Modell Addresses are assigned to interfacesNo change from IPv4 ModellInterface expected to have multiple addresseslAddresses have scopeLink LocalSite LocalGloballAddresses have lifetimeValid and Preferred lifetime11Basic Address TypeslUnicastAddress of a single interfaceDelivery to single interfa

    8、cefor one-to-one communicationlMulticastAddress of a set of interfacesDelivery to all interfaces in the setfor one-to-many communicationlAnycastAddress of a set of interfacesDelivery to a single interface in the setfor one-to-nearest communicationNearest is defined as being closest in term of routin

    9、g distanceMMMAAAU12Address Type Prefixes Address type Binary prefixIPv4-compatible0000.0(96 zero bits)global unicast001link-local unicast1111 1110 10site-local unicast1111 1110 11multicast1111 1111lall other prefixes reserved(approx.7/8ths of total)lanycast addresses allocated from unicast prefixes1

    10、3Aggregatable Global Unicast AddresseslTLA(Top Level Aggregator)=13 bitsTLA routers(default-free router)do not have a default route,only route with 16 bits prefixmay be assigned to providers or exchangeslRes=8 bitsReserved for future use in expanding the size of either the TLA or NLAlNLA(Next Level

    11、Aggregator)=24 bitslSLA(Site level Aggregator)=16 bitslPublic topologyCollection of larger and smaller ISPlSite topologyCollection of subnets within an organizations sitesitetopology(16 bits)interfaceidentifier(64 bits)publictopology(45 bits)interface IDsubnetNLATLA001Res14Link-Local Unicast Address

    12、eslmeaningful only in a single link zone,and may be re-used on other linkslLink-local addresses for use during auto-configuration and when no routers are presentlRequired for Neighbor Discovery process,always automatically configurationlAn IPv6 router never forwards link-local traffic beyond the lin

    13、klPrefix=FE80:/64interface ID0111111101010 bits54 bits64 bits15Site-Local Unicast Addresseslmeaningful only in a single site zone,and may be re-used in other siteslEquivalent to the IPv4 private address spacelAddress are not automatically configured and must be assignedlPrefix=FEC0:/48subnet IDinter

    14、face ID0111111101110 bits38 bits64 bits16 bits16Special IPv6 addresslUnspecified address(0:0:0:0:0:0:0:0 or:)Indicate the absence of an addressEquivalent to IPv4 0.0.0.0Never assigned to an interface or used as a destination addresslLoopback address(0:0:0:0:0:0:0:1 or:1)Identify a loopback interface

    15、lIPv4-compatible address(0:0:0:0:0:0:w.c.x.z or:w.c.x.z)Used by dual-stack nodesIPv6 traffic is automatically encapsulated with an IPv4 header and send to the destination using the IPv4 infrastructurelIPv4 mapped address(0:0:0:0:0:FFFF:w.c.x.z or:FFFF:w.c.x.z)Represent an IPv4-only node to an IPv6 n

    16、odeNever used as a source or destination address of IPv6 packetlNSAP(Network Service Access Point)address(FP=0000001)lIPX(Internetwork Packet Exchange)address(FP=0000010)17Multicast IPv6 addresseslMulticast address can not be used as source or as intermediate destination in a Routing headerllow-orde

    17、r Transient(T)flag indicates permanent(T=0)/transient(T=1)group;three other flags reservedlScope field1:node-local2:link-local5:site-local8:organization-localE:globalOthers:reserved4112 bits8group IDscopeflags11111111418Other IPv6 addresseslSolicited-node addressFacilitates the efficient query of ne

    18、twork node during address resolutionPrefix=FF02:1FF00/104 and the last 24-bits of IPv6 addresslAnycast IPv6 addressAssigned to multiple interfaceOnly used as destination addressOnly assigned to routeranycast addresses are indistinguishable from unicastSubnet-router anycast address is predefined and

    19、requiresn bits128-n bits000000Subnet Prefix19IPv6 interface identifierlLowest-order 64-bit field of unicast address lGlobally unique or locally unique within a subnetlFuture higher-layer protocols may take advantage of globally-unique interface IDs to identify nodes independently of their current lo

    20、cationlConfigure interface identifiermanual configurationDHCPv6(configures whole address)automatic derivation from MAC address or other hardware serial numberpseudo-random generation(for client privacy)the latter two choices enable“serverless”or“stateless”autoconfiguration,when combined with high-or

    21、der part of the address learned via Router Advertisements20The conversion of a universally administered,unicast IEEE The conversion of a universally administered,unicast IEEE 802 address to an IPv6 interface identifier802 address to an IPv6 interface identifier 21Content22IPv6 vs.IPv4 Packet Data Un

    22、itminimum20 octetsmaximum65535 octetsIPv4 PDUFixed40 octetsmaximum65535 octetsIPv6 PDU0 or moreIPv4 HeaderData FieldTransport-level PDUIPv6 HeaderExtensionHeaderExtensionHeader23Comparison of IPv4 and IPv6 HeaderDestination AddressSource AddressVer IHLService TypeIdentificationFlagsOffsetTTLProtocol

    23、Header ChecksumSource AddressDestination AddressOptions+PaddingTotal LengthVerFlow LabelPayload LengthNext HeaderHop LimitTraffic Class32 bits24Summary of Header Changes between IPv4&IPv6lStreamlined Fragmentation fields moved out of base header IP options moved out of base header Header Checksum el

    24、iminated Header Length field eliminated Length field excludes IPv6 header Alignment changed from 32 to 64 bitslRevised Time to Live Hop Limit Protocol Next Header Precedence&TOS Traffic Class Addresses increased 32 bits 128 bitslExtended Flow Label field added25IPv6 extension headerlHop-by-hop optio

    25、ns headerlRouting headerlFragment headerlAuthentication headerlEncapsulating security payload headerlDestination options headerIPv6 PDU general formTransport-level PDUIPv6 HeaderExtensionHeaderExtensionHeader40 octets0 or more26IPv6 extension header(cont.)lIPv6 specification recommended order:IPv6 h

    26、eaderHop-by-hop options headerDestination options header(for intermediate destination when the routing header is present)Routing headerFragment headerAuthentication headerEncapsulation security payload headerDestination options header(for final destination)IPv6 packet with all extension headersOctet

    27、s:40VariableVariableVariableVariableVariableVariable8=Next header fieldIPv6 headerHop-by-hop options headerRouting headerFragment headerAuthentication headerEncap security payload headerTCP headerApplication data27Hop-by-Hop option headerlSpecify delivery parameters at each hop on the path to the de

    28、stinationHeader Extension LengthlNo of 8-byte block in Hop-by-Hop option headerlNot including first 8 bytesOption lType-Length-Value(TLV)formatl0:Pad1 insert single byte of paddingl1:PadN insert 2 or more byte of paddingl5:Router Alert indicate to the router the packets require additional processing

    29、(MLD and RSVP)l194:Jumbo Payload indicate payload size over 65,535(65,535232-1)28Destination option headerlSpecify packet delivery parameter for either intermediate destinations or final destinationslIf Routing header exists,it specifies delivery or processing options at each intermediate destinatio

    30、n29Routing headerlSimilar to the source routing in IPv4lUse of Routing header with anycast addresses allows routing packets through particular regionse.g.,for provider selection,policy,performance,etc.30Example:Header when S to ASABD31Example:Header when A to BSABD32Example:Header when B to DSABD33F

    31、ragment headerlFragmentation and reassembly services is an end-to-end function;routers do not fragment packets en-route if too bigthey send ICMP“packet too big”insteadlSupport only on source nodes 34Authentication headerlProvide data authentication verification of the node that sent the packet lProv

    32、ide data integrityverification that the data was not modified in transit lProvide anti-replay protection assurance that captured packets cannot be retransmitted and accepted as valid data 35Encapsulating security payload(ESP)header and trailerlProvides data confidentiality,data authentication,and da

    33、ta integrity36Content37Features of ICMPv6lAn integral part of IPv6 and MUST be fully implement by every IPv6 node(RFC 2463)lNext Header value=58lReport delivery or forwarding errorslProvide simple echo service for troubleshootinglMulticast Listener discovery(MLD)3 ICMP messageslNeighbor Discovery(ND

    34、)5 ICMP messages38ICMPv6 message format39Two types of ICMP messageslError messagesReport error in the forwarding or deliverylInformational messagesProvide diagnostic function,MLD,and ND 40Error message(Destination Unreachable)lSend by router or destination host41Error message(Packet Too Big)lSend wh

    35、en link MTU is smaller than the size of packetlUsed for IPv6 Path MTU Discovery process42Error message(Time Exceeded)lSend by router when Hop limit field is zeroCode field:l0:Hop limit=0Hop limit of outgoing packets is not large enough to reach destination,orRouting loop existl1:fragmentation reasse

    36、mbly time of destination host is exceeded43Error message(Parameter Problem)lSend by router or destination host when errors of IPv6 header or extension header44Informational messagelEcho Request messagelEcho Reply messagelIdentifier and Sequence Number are send by host and used to match incoming Echo

    37、 Reply with corresponding Echo Request(same as IPv4)lMulticast Listener Query messages:Query,Report,done(like IGMP for IPv4)45Minimum MTUlLink MTUA links maximum transmission unit(ex:the max IP packet size that can be transmitted over the link)lPath MTUThe minimum MTU of all the links in a path betw

    38、een a source and a destinationlMinimum link MTU for IPv6 is 1280 octets vs 68 octets for IPv4lOn links with MTU 1280,link-specific fragmentation and reassembly must be usedlOn links that have a configurable MTU,its recommended a MTU of 1500 bytes46Path MTU DiscoverylRFC 1981lImplementations are expe

    39、cted to perform path MTU discovery to send packets bigger than 1280 octetsFor each destination,start by assuming MTU of first-hop linkIf a packet reach a link in which it cant fit,will invoke ICMP“packet too big”message to source,reporting the links MTU;MTU is cached by source for specific destinati

    40、onOccasionally discard cached MTU to detect possible increaselMinimal implementation can omit path MTU discovery as long as all packets kept=1280 octetsEx:in a boot ROM implementation47Content48Neighbor Discovery(ND)Neighbor Discovery(ND)lRFC 2461lNode(Hosts and Routers)use ND to determinate the lin

    41、k-layer addresses for neighbors known to reside on attached links and quick purge cached valued that become invalidlHosts also use ND to find neighboring router that willing to forward packets on their behalflNodes use the protocol to actively keep track of which neighbors are reachable and which ar

    42、e not,and to detect changed link-layer addresseslReplace ARP,ICMP Router Discovery,and ICMP Redirect used in IPv4 49IPv6 ND processeslRouter discoveryDiscover the local hosts on an attached linkEquivalent to ICMPv4 Router DiscoverylPrefix discoveryDiscovery the network prefixEquivalent to ICMPv4 Add

    43、ress Mask Request/ReplylParameter discoveryDiscovery additional parameter(ex:link MTU,default hop limit for outgoing packet)lAddress autoconfigurationConfigure IP address for interfaceslAddress resolutionEquivalent to ARP in IPv450IPv6 ND processes(cont.)lNext-hop determinationDestination address,or

    44、Address of an on-link default routerlNeighbor unreachable detection(NUD)lDuplicate address detection(DAD)Determine that an address considered for use is not already in use by a neighboring nodelFirst-hop Redirect functionInform a host of a better first-hop IPv6 address to reach a destinationEquivale

    45、nt to ICMPv4 Redirect51ND message formatl5 ND messages:Router solicitationRouter AdvertisementNeighbor SolicitationNeighbor AdvertisementRedirectlAll ND message are send with hop limit=255.If it is not set to 255,the message is silently discardedProvide Protection from ND-based network attacks launc

    46、hed from off-link nodesRouter can not have forwarded the ND message from an off-link node52Neighbor Discovery optionslSource/Target link-layer address optionSource link-layer addresslIndicate the link-layer address of the ND senderlIncluded in Neighbor Solicitation,Router Solicitation,and Router Adv

    47、ertisementlType=1Target link-layer addresslIndicate the link-layer address of the neighbor nodelIncluded in Neighbor Advertisement and RedirectlType=2Example for Ethernet53Neighbor Discovery options(cont.)lPrefix information optionIndicate both address prefixes and information about address autoconf

    48、igurationIncluded in Router AdvertisementCan be multiple prefix information options in Router Advertisement messageAutonomous flag:stateless address configuration54Neighbor Discovery options(cont.)lRedirect header optionlMTU option55ND Autoconfiguration,Prefix&Parameter DiscoverylRouter solicitation

    49、 are sent by booting nodes to request RAs for configuring the interfaces.1.RS:ICMP Type=133Src=:Dst=All-Routers multicast Addressquery=please send RA2.RA2.RA1.RS2.RA:ICMP Type=134Src=Router Link-local AddressDst=All-nodes multicast addressData=options,prefix,lifetime,autoconfig flag56ND Address Reso

    50、lution&Neighbor Unreachability DetectionICMP type=135(NS)Src=A Dst=Solicited-node multicast of B Data=link-layer address of AQuery=what is your link address?ABICMP type=136(NA)Src=B Dst=A Data=link-layer address of BA and B can now exchange packets on this link57ND RedirectlRedirect is used by a rou

    展开阅读全文
    提示  163文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:IPv6-技术理论和实务研习班.ppt
    链接地址:https://www.163wenku.com/p-4523814.html

    Copyright@ 2017-2037 Www.163WenKu.Com  网站版权所有  |  资源地图   
    IPC备案号:蜀ICP备2021032737号  | 川公网安备 51099002000191号


    侵权投诉QQ:3464097650  资料上传QQ:3464097650
       


    【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。

    163文库