异构无线网络融合技术 教案 PPT Part3

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1補充InternetMulticastProtocols2CommunicationModelsUnicast(1:1)Multicast(1:n)Concast(m:1)Multipeer/multipoint(m:n)3OutlineReliableMulticastMulticast-capablenetworkprotocolsConnectionlesstransportprotocolOtherconnect-ionorientedprotocolsTransportlayerNetworklayerDataorderingprotocolApplications4MotivationResourceconservationDeliverasinglemessagetoasetofsiteswithoutusingmultipleunicastsSource5StrengthsofMulticastInformationdisseminationWeatherreports,news,roadtraffic,commercialsDistantlearning(遠距教學)InternetTV,digitalaudio/videodeliveryDistributedcooperativeapplicationsReplicatedcache/file/databaseupdateMulti-partyconversation,videoconferencing,on-linegameMandatoryL3functionforeachIPv6nodeNeighbordiscovery,duplicateaddressdetection6PotentialWeaknessesMulticastisUDPbasedMostlybest-effort(unreliable?)deliveryReliablemulticastisanactiveresearchareaNocongestioncontrolLackofTCPwindowand“slow-start”mechanismsDuplicatesApplicationsshouldoperateinthepresenceofduplicatepacketsOutofordermessagedelivery7Out-of-OrderMessageDeliveryNeedtoregulatemessagedeliverytooverlyingapplicationsforaconsistentorderofeventsaffectingagroupIfsend(m)gsend(m’),thenanyprocessthatdeliversbothmessagesdeliversmpriortom’S1S2S3m:D:=D+50m':D:=D*2Time8Network-layerProtocols—Pathselectionforroutingmulticasttraffic—9MulticastAddressClassDIPaddress224.0.0.0~239.255.255.255MappingtoEthernetaddressAddressResolutionProtocolisnotrequired!1110Groupidentity000000010000000001011110001005E23bits10AddressScoping224.0.0.0/24,link-local(TTL1)Foradministrativeandsystemlevelroutingchores224.0.0.1—allsystemsonthesubnet224.0.0.2—allroutersonthesubnet224.0.1.0~238.255.255.255,globallyscopedForenduserapplications224.0.1.1—NetworkTimeProtocol(NTP)224.0.1.9—MulticastTransportProtocol(MTP)232.0.0.0/8,SourceSpecificMulticast233.0.0.0/8,GLOPaddresses11AddressScoping(cont’d)239.0.0.0/8Limited(administratively)scoped239.255.0.0~239.255.255.255,AutonomousSystem-widelocalscope239.253.0.0~239.254.255.255,Expansionofthelocalscope239.192.0.0~239.195.255.244,Organizationscope—E.g.,TANET239.0.0.0~239.191.255.255,Expansionoftheorganizationalscope12Time-to-Live(TTL)ScopingThresholdScope0Restrictedtothesamehost1Restrictedtothesamesubnet15Restrictedtothesamesite31Restrictedtothesamedomain63Restrictedtosameregion127Worldwide255Unrestrictedinscope13UsingNetwork-LayerMulticastNormalIP-Send,withanIPmulticastaddressspecifiedasthedestinationReceivepacketsviaordinaryIP-Receive,withanopenandclosesocket,except...SpecifyanaddressonwhichtoreceiveJOIN-IP-MULTICAST-GROUP(group-address,interface)LEAVE-IP-MULTICAST-GROUP(group-address,interface)14IPMulticastArchitectureGroupmanagementInter-domainroutingIntra-domainrouting15GroupManagementInternetGroupManagementProtocol(IGMP)LearnwhichgrouppresentoneachlocalnetworkRFC1112(obsolete),RFC2236,InternetdraftMessageformatIPheader20bytes8bytesVer.TypeUnusedChecksumGroupAddressIGMPMessage37153116IGMPOverviewOneachlocalnetwork,oneQuerierrouterQuerierperiodically,per125s,sendsaMembershipQuerymessagetotheall-systemsgroup(224.0.0.1)Onreception,hostsstartrandomtimersof10secsforeachparticipantgroupWhenahost’stimerforgroupgexpires,itsendsaMembershipReporttogroupg,withTTL=1OthermembersofgroupgoverhearthereportandstoptheirtimersRouterstimeoutnon-respondinggroupsLeavelatencyupto260s17IGMPOverview(cont’d)g1g1,g2g2jMembershipQuerykkkkQuerierPeriodicallysendsGeneralQueriesto224.0.0.1todeterminememberships18IGMPOverview(cont’d)g1g1,g2g2jMembershipQuerykkklReport(g1)m{g1,…}JoiningmembersendsReportto224.1.1.1immediatelyuponjoining19IGMPVersion2(RFC2236)Changesfromversion1Reduce“leavelatency”(260s)—LasthostthatrepliedReport(g)initiatesaLeave-Group(g)messagetoleavegroupg‘Version’and‘Type’fieldsmergedintooneg1g1,g2g2MembershipQuery(g1)224.1.1.1oLeave-Group(g1)destined224.0.0.2npReport(g1)20IGMPVersion2(cont’d)MessageformatType0x11=MembershipQuery(GeneralQuery,Group-SpecificQuery)0x12=Version1MembershipReport0x16=Version2MembershipReport0x17=LeaveGroupTypeMax.ResponseTimeChecksumGroupAddress21IGMPVersion2(cont’d)MessageformatMax.ResponseTimeMax.timebeforesendingaMembershipReportin1/10sec.(Default=10sec.)EnablesIGMPv2hostsastheupperboundwhenrandomlychoosingthevalueofresponsetimersControltheburstinessofMembershipReportsTypeMax.ResponseTimeChecksumGroupAddress22IGMPVersion3IETFdraft-ieft-idmr-igmp-v3-05.txtEmergingstandardChangesfromversion2—“sourcefiltering”EnablehoststoreceiveorexcludemulticasttrafficfromspecificsourceaddressesAPI—IPMulticastListen(socket,interface,multicast-address,filter-mode,source-list)—filter-mode:INCLUDEorEXCLUDE23IGMPVersion3(cont’d)Source=1.1.1.1Group=224.1.1.1Memberof224.1.1.1Source=2.2.2.2Group=224.1.1.1Join1.1.1.1,224.1.1.1Leave2.2.2.2,224.1.1.1Recordsource-grouppair{(s,g),…}24IGMPVersion3(cont’d)QueryMessageformatQRV:QuerierRobust-nessValueQQIC:Querier’sQueryIntervalCode25IGMPVersion3(cont’d)ReportMessageformatRecordtypeMODE_IS_INCLUDE,MODE_IS_EXCLUDE26IPMulticastArchite

1 / 82
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功