版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
主要知識(shí)點(diǎn)2013年6月第一章概述網(wǎng)絡(luò)概念及分類協(xié)議分層基本概念:協(xié)議,服務(wù)ISOOSI/RMTCP/IP/RM傳輸時(shí)延,傳播時(shí)延Protocol,Service,InterfaceProtocolServicePrimitivesServicePrimitivesServiceUserServiceService
providerLayernLayern+1ServiceUserSAPSAPInterfaceInterfaceSAP--ServiceAccessPointRelationshipofServicestoProtocolsRecap:Service–sayswhatalayerdoesInterface–sayshowtoaccesstheserviceProtocol–sayshowistheserviceimplemented.:AsetofrulesandformatsthatgovernthecommunicationbetweentwopeersAlayerprovidesaservicetotheoneabove [vertical]Alayertalkstoitspeerusingaprotocol [horizontal]ISOOSI/RM與TCP/IP/RM計(jì)算機(jī)網(wǎng)絡(luò)的主要性能指標(biāo)帶寬(bandwidth)時(shí)延(timedelay,latency)時(shí)延帶寬積(BDP:Bandwidth-delayproduct)和往返時(shí)延(RTT:Round-TripTime)1.帶寬(bandwidth)信號(hào)的帶寬信號(hào)具有的頻率寬度,單位為HZ、KHZ、MHZ線路的帶寬模擬線路:通信線路允許通過的頻帶范圍,單位HZ數(shù)字線路:用數(shù)據(jù)率(傳送數(shù)字信號(hào)的速率)作為線路帶寬單位為bps,kbps,Mbps,Gbps,Tp/s吞吐量
指每秒實(shí)際發(fā)送的比特?cái)?shù);對(duì)數(shù)字線路,帶寬也表示吞吐量隨著帶寬的增大,數(shù)字信號(hào)在時(shí)間軸上的帶寬就越窄2.時(shí)延(timedelay,latency)發(fā)送時(shí)延:發(fā)送數(shù)據(jù)時(shí)使數(shù)據(jù)塊從結(jié)點(diǎn)進(jìn)入到傳輸介質(zhì)所需的時(shí)間發(fā)送時(shí)延=數(shù)據(jù)塊長(zhǎng)度/信道帶寬(傳輸速率)
傳播時(shí)延:電磁波在信道中需要傳播一定的距離而花費(fèi)的時(shí)間
傳播時(shí)延=信道長(zhǎng)度/電磁波在信道上的傳播速度處理時(shí)延:數(shù)據(jù)在交換結(jié)點(diǎn)進(jìn)行存儲(chǔ)轉(zhuǎn)發(fā)所花費(fèi)的時(shí)間一般可用排隊(duì)時(shí)延作為處理時(shí)延總時(shí)延=發(fā)送時(shí)延+傳播時(shí)延+處理時(shí)延傳輸速率(發(fā)送速率)和傳播速率不同傳輸速率是指某個(gè)端口或某個(gè)點(diǎn)上的發(fā)送速率,單位為b/s;傳播速率是指?jìng)鬏斁€路上比特的傳播速率,單位為km/s.三種時(shí)延產(chǎn)生的地方2.時(shí)延(續(xù))3.時(shí)延帶寬積和往返時(shí)延時(shí)延帶寬積=傳播時(shí)延X帶寬
時(shí)延帶寬積表示鏈路可以容納多少比特,又稱為以比特為單位的鏈路長(zhǎng)度。往返時(shí)延(Round-TripTime):
從發(fā)送端發(fā)送數(shù)據(jù)開始,到發(fā)送端收到來(lái)自接收端的確認(rèn),總共經(jīng)歷的時(shí)延。往返時(shí)延帶寬積=往返時(shí)延X帶寬
表示當(dāng)發(fā)送端發(fā)送數(shù)據(jù)時(shí),在收到對(duì)方的確認(rèn)之前,發(fā)送到鏈路上的比特?cái)?shù)。第二章物理層四個(gè)特性奈奎斯特定理信道復(fù)用技術(shù)傳輸介質(zhì)電路交換,包交換FromSignalstoPackets001011100010100010101011100101010101011101110000001111010101110101010101101Header/BodyHeader/BodyHeader/BodyReceiverSenderApplicationPresentationSessionTransportNetworkDatalinkPhysicalFourcharacteristicsMechanicalcharacteristics:mechanicalspecificationofelectricalconnectorsandcables,forexamplemaximumcablelengthElectricalcharacteristics:electricalspecificationoftransmissionlinesignallevelandimpedanceFunctionalcharacteristics:thefunctionlogicofelectricsignalsgeneratedoncertainwiresinthephysicalmediaProceduralcharacteristics:theproceduresofprotocolsthatcontrolthesequenceofeventsMaximumDataRateofaChannelNyquist’stheoremrelatesthedataratetothebandwidth(B)andnumberofsignallevels(V):Shannon'stheoremrelatesthedataratetothebandwidth(B)andsignalstrength(S)relativetothenoise(N):
Oftenexpressedindecibels(db)::=10log10(S/N)Max.datarate=2Blog2Vbits/secMax.datarate=Blog2(1+S/N)bits/secHowfastsignalcanchangeHowmanylevelscanbeseenMultiplexingTechniquesmultiplexingschemesshareachannelamongusers.FrequencyDivisionMultiplexingTimeDivisionMultiplexingWavelengthDivisionMultiplexingCodeDivisionMultipleAccessTransmissionMedia
GuidedTransmissionMedia
Realitycheck:Storagemedia
Wires:Twistedpairs,Coaxialcable,Powerlines
Fibercables
WirelessTransmission
CommunicationSatellitesSwitchingcircuitswitched
networksvs.packet-switchednetworksDatagramPacketSwitchingvs.Virtual-CircuitPacketSwitching第三章數(shù)據(jù)鏈路層零比特插入——解決透明傳輸問題CRC校驗(yàn)碼計(jì)算停止等待協(xié)議滑動(dòng)窗口連續(xù)AQR,gobacknHDLC(High-LevelDataLinkControl)PPP(Point-to-PointProtocol)ARQ:AutomaticRepeatreQuestPAR:PositiveAcknowledgementwithRetransmissionAone-bitSlidingProtocol:Stop-and-WaitProtocolContinualARQProtocol:Go-Back-NSelectiveARQ(2)SlidingWindowProtocolbeusedtodescribeandimplementtheARQsProtocolifWT=1,WR=1thenSlidingWindowProtocol=one-bitStop-and-WaitProtocolifWT>1,WR=1thenSlidingWindowProtocol
=ContinualARQifWT>1,WR>1thenSlidingWindowProtocol=SelectiveARQ
SlidingWindowProtocolandARQs第四章MACALOHA,CSMA,CSMA/CD,CSMA/CA,RTS/CTS隱蔽站,暴露站IEEE802體系結(jié)構(gòu)MACAddressEthernetMACFrame,最短幀長(zhǎng),幀突發(fā)技術(shù)互連設(shè)備,網(wǎng)橋/交換機(jī)的工作原理 VLAN802.11WLAN(不同幀間隔)MultipleaccessprotocolsFDMATDMACDMAControlled-accessprotocolStaticmodelDynamicmodelWDMAswitchingRandomAccessProtocolMultiplexingallowsseveraltransmissionsourcestosharealargertransmissioncapacity.Oftenusedinhierarchicalstructures.Multipleaccess:twoormoresimultaneoustransmissionsshareabroadcastchannel.OftenusedinaccessnetworksMultipleAccessProtocolLimited-ContentionProtocolOne-bitmapBinaryCountdownTreewalkIfthetwonodesinvolvedinacollisionarethemaximumdistanceapart,thesignalfromthefirsttakestimetoreachthesecond,andtheeffectofthecollisiontakesanothertime
toreachthefirst.Sotherequirementisthatthefirstnodemuststillbetransmittingafter2.MinimumFrameSizeisnecessaryinCSMA/CDMinimumFrameSize=2×Ts(transmissionrate)
Repeaters,Hubs,Bridges,Switches,Routers&GatewaysVLAN:VirtualLANPort-basedVLANMAC-basedVLANProtocol-basedVLANIPAddress-basedVLANDifferentIFSDifferentIFSs(differentinterframespaces)havedifferentpriorityrightstoacquirethechannel
SFIS<PIFS<DIFS<EIFS(SFIS<AIFS1<DIFS<AIFS2<EIFS,AIFs:Arbitraryinter-framespace,IEEE802.11e,QoS)SIFS(ShortestInterFrameSpace),28μshighestpriority,forACK,RTS,CTS,pollingresponseetc.PIFS(PCFIFS)(DCF->PCF)(PCFInterFrameSpacing),28+50=78μsmediumpriority,fortime-boundedserviceusingPCFDIFS(DCFIFS)(DCFInterFrameSpacing),78+50=128μslowestpriority,forasynchronousdata
serviceEIFS:ExtendedInterFrameSpacing第五章網(wǎng)絡(luò)層面向連接和無(wú)連接路由算法:DV,LS路由器IP協(xié)議(頭部字段及含義、分片)分類地址、子網(wǎng)劃分、超網(wǎng)、CIDR(地址聚集,路由最長(zhǎng)匹配)、網(wǎng)絡(luò)地址規(guī)劃IP報(bào)文轉(zhuǎn)發(fā)過程擁塞控制、QoS組播移動(dòng)IPNATIPv6(了解)ICMP,ARPRIP,OSPFBGP(了解)MPLS(了解)PositionofIPv4inTCP/IPprotocolsuite29CollegeofComputerScience
10000000000010110000001100011111100000000000101100000011000111111128
11331DotteddecimalnotationRoutingtablesIPdeliverybasingonipandsubnetEachrouterandeachhostkeepsaroutingtablewhichtellstherouterhowtoprocessanoutgoingpacketMaincolumns:Destinationaddress:whereistheIPdatagramgoingto?SubnetMasksNexthoporinterface:howtosendtheIPdatagram?RoutingtablesaresetsothatadatagramgetsclosertotheitsdestinationRoutingtableofahostorrouterIPdatagramscanbedirectlydelivered(“direct”)oraresenttoanexthoprouter(“R2”)DestinationnetworkaddressSubnetmaskNexthop282828Interface0Interface1R231CollegeofComputerScienceIPAddresses:CIDRAddressesareallocatedinblockscalledprefixesPrefixisdeterminedbythenetworkportionHas2Laddressesalignedon2LboundaryWrittenaddress/length,e.g.,/2432CollegeofComputerScienceIPAddresses–CIDRAggregationAggregationjoinsmultipleIPprefixesintoasinglelargerprefixtoreduceroutingtablesizeISPcustomershavedifferentprefixesISPadvertisesasingleprefixClasslessInter-DomainRouting33CollegeofComputerScienceIPAddress
andPhysicalAddress
TCPmessageIPDatagramMACFrameDataofApplicationLayerHeaderHeaderTailHeaderLinklayerandthefollowingusingthePhysicaladdressPhysicalAddressNetworklayerandaboveusingtheIPaddress
IPAddressPhysicalAddressHardwareAddressMACAddress34CollegeofComputerScience35CollegeofComputerScienceIPAddresses(3)–CIDRAggregationAggregationjoinsmultipleIPprefixesintoasinglelargerprefixtoreduceroutingtablesizeISPcustomershavedifferentprefixesISPadvertisesasingleprefixClasslessInter-DomainRoutingAS,IGPandEGPIGPEGPPopularroutingprotocols(OpenShortestPathFirst)--LinkStateRouting(RoutingInformationProtocol)--DistanceVectorRouting(BorderGatewayProtocol)112131FEDCBA51612151314141611151net
3net
2net
4net
6net
5net
1First,eachrouterhastherouteinformationofitsneighborrouterRIP112131FEDCBA51612151314141611151BreceivedroutingtableofAandCnet
3net
2net
4net
6net
5net
1112131416112A22A314162Cupdate112131FEDCBA51612151314141611151net
3net
2net
4net
6net
5net
1112131416112A22A314162Cupdate112131FEDCBA51612151314141611151net
3net
2net
4net
6net
5net
1112131416112A22A314162Cupdate112131FEDCBA51612151314141611151net
3net
2net
4net
6net
5net
1112131416112A22A314162Cupdate112131FEDCBA51612151314141611151net
3net
2net
4net
6net
5net
1112131416112A22A314162CupdateFinally,routingtableofallroutersupdated.FEDCBA11213142B52E63B1122A32A43A5162F12E22D33C42C516113B23B32B4152F61net
2net
6net
5net
1net
3net
412A2132A43A5162F12A22A314153C62COSPF:ConceptofLinkStateRoutingExampleofformationofShortestPathTreeCalculatingofRoutingTablefromShortestPathTreeTable14.1RoutingtablefornodeA47CollegeofComputerScienceNATNAT(NetworkAddressTranslation)boxmapsoneexternalIPaddresstomanyinternalIPaddressesUsesTCP/UDPporttotellconnectionsapartViolateslayering;verycommoninhomes,etc.第六章運(yùn)輸層端口UDP,偽首部TCP,連接建立三次握手,連接釋放四次握手,可靠傳輸,流控機(jī)制,MSS擁塞控制:慢啟動(dòng),擁塞避免,快恢復(fù)客戶/服務(wù)器Thenetworklayerisresponsibleforthe
deliveryofindividualpacketsfromthesourcehosttothedestinationhost.ThetransportlayerisresponsibleforthedeliveryofamessagefromoneprocesstoanotherTransportlayer
溫馨提示
- 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 《中國(guó)法上物權(quán)合同的適用范式》
- 二零二五年度化妝品線上線下整合營(yíng)銷代理銷售合同
- 2025年度北京市房屋出租經(jīng)紀(jì)服務(wù)與租賃保證金合同
- 2025年度提前終止商業(yè)地產(chǎn)租賃合同書(甲級(jí)寫字樓)
- 二零二五年度教育行業(yè)發(fā)展戰(zhàn)略咨詢費(fèi)合同
- 二零二五年度雙方智慧農(nóng)業(yè)物聯(lián)網(wǎng)技術(shù)服務(wù)合同書
- 二零二五年度創(chuàng)新型企業(yè)廠房租賃合同
- 2025年度合作社職業(yè)經(jīng)理人股權(quán)激勵(lì)及聘用合同
- 二零二五年度高新技術(shù)企業(yè)員工解除勞動(dòng)合同及培訓(xùn)補(bǔ)償協(xié)議
- 二零二五年度跨境電商合伙開店合同示范文本
- 北師大版七年級(jí)數(shù)學(xué)寒假班講義(基礎(chǔ)班)
- 2025年駕照C1證考試科目一必考題庫(kù)770題及答案
- 證券公司合規(guī)管理有效性評(píng)估參考表
- 消防維保流程
- 2024-2025學(xué)年北師版八年級(jí)物理上冊(cè)期末考試綜合測(cè)試卷
- 2025年學(xué)校中考備考方案
- 100以內(nèi)加減法混合[列豎式運(yùn)算練習(xí)]
- 深圳市建設(shè)工程施工圍擋圖集(試行版_下半部分).pdf
- 全國(guó)城市雕塑行業(yè)設(shè)計(jì)收費(fèi)標(biāo)準(zhǔn)
- 質(zhì)量管理組織機(jī)構(gòu)及職責(zé)
- 園區(qū)保安隊(duì)長(zhǎng)的工作職責(zé)
評(píng)論
0/150
提交評(píng)論