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

上传人(卖家):晟晟文业 文档编号:4523814 上传时间:2022-12-16 格式:PPT 页数:99 大小:777.95KB
下载 相关 举报
IPv6-技术理论和实务研习班.ppt_第1页
第1页 / 共99页
IPv6-技术理论和实务研习班.ppt_第2页
第2页 / 共99页
IPv6-技术理论和实务研习班.ppt_第3页
第3页 / 共99页
IPv6-技术理论和实务研习班.ppt_第4页
第4页 / 共99页
IPv6-技术理论和实务研习班.ppt_第5页
第5页 / 共99页
点击查看更多>>
资源描述

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

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公、行业 > 各类PPT课件(模板)
版权提示 | 免责声明

1,本文(IPv6-技术理论和实务研习班.ppt)为本站会员(晟晟文业)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

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


163文库-Www.163Wenku.Com |网站地图|