计算机网络-自顶向下方法与INTERNET特色.ppt
《计算机网络-自顶向下方法与INTERNET特色.ppt》由会员分享,可在线阅读,更多相关《计算机网络-自顶向下方法与INTERNET特色.ppt(128页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Chapter 4 The Network Layer Computer Networking A Top-Down Approach Featuring the Internet计算机网络计算机网络-自顶向下方法与自顶向下方法与Internet特色特色School of Computer Science&Technology2 2IntroductionrChapter goalsqunderstand principles behind network layer services:prouting(path selection)pdealing with scalephow a rout
2、er workspadvanced topics:IPv6,mobilityqinstantiation and implementation in the InternetSchool of Computer Science&Technology3 3roadmaprr4.1 Introduction4.1 Introductionrr4.2 Virtual circuit and datagram networks4.2 Virtual circuit and datagram networksrr4.3 Whats inside a router4.3 Whats inside a ro
3、uterrr4.4 IP:Internet Protocol4.4 IP:Internet Protocolr4.5 Routing algorithmsqLink state、Distance Vector、Hierarchical routingr4.6 Routing in the InternetqRIP、OSPF、BGPrr4.7 4.7 Broadcast and multicast routingBroadcast and multicast routingrSummarySchool of Computer Science&Technology4 44.1 Network la
4、yer introductionrServices descriptionrKey Network-Layer FunctionsqRoutingqForwardingqConnection setuprNetwork service modelSchool of Computer Science&Technology5 51、Key Network-Layer FunctionsForwarding move packets from routers input to appropriate router outputRouting determine the route(path)take
5、n by packets from source to dest.rrouting algorithms4.1 introductionSchool of Computer Science&Technology6 61、Key Network-Layer FunctionsConnection setupq3rd important function in some network architectures:pATM,frame relay,X.25qBefore datagrams flow,two hosts and intervening routers establish virtu
6、al connectionpRouters get involved4.1 introductionSchool of Computer Science&Technology7 7rNetwork and transport layer service:qNetwork Layer:pbetween two hostsppoint to point.qTransport Layer:pbetween two processespend to end.4.1 introduction2、Network service modelSchool of Computer Science&Technol
7、ogy8 82、Network service model4.1 introductionQ:Whats the service model of the channel connecting the transporting layer in the sending and receiving hosts?qExample services for individual datagrams:Example services for individual datagrams:pguaranteed deliverypGuaranteed delivery with less than 40 m
8、sec delayqExample services for a flow of datagrams:Example services for a flow of datagrams:pIn-order datagram deliverypGuaranteed minimum bandwidth to flowpRestrictions on changes in inter-packet spacing(delay jitter)School of Computer Science&Technology9 92、Network service model4.1 introductionNet
9、workArchitectureInternetATMATMATMATMServiceModelbest effortCBRVBRABRUBRBandwidthnoneconstantrateguaranteedrateguaranteed minimumnoneLossnoyesyesnonoOrdernoyesyesyesyesTimingnoyesyesnonoCongestionfeedbackno(inferredvia loss)nocongestionnocongestionyesnoGuarantees?School of Computer Science&Technology
10、1010roadmaprr4.1 Introduction4.1 Introductionrr4.2 Virtual circuit and datagram networks4.2 Virtual circuit and datagram networksrr4.3 Whats inside a router4.3 Whats inside a routerrr4.4 IP:Internet Protocol4.4 IP:Internet Protocolr4.5 Routing algorithmsqLink state、Distance Vector、Hierarchical routi
11、ngr4.6 Routing in the InternetqRIP、OSPF、BGPrr4.7 4.7 Broadcast and multicast routingBroadcast and multicast routingrSummarySchool of Computer Science&Technology1212IntroductionrDatagram network provides network-layer connectionless servicerVC network provides network-layer connection servicerAnalogo
12、us to the transport-layer services,but:qService:host-to-host(aka.End to End)qNo choice:network provides one or the otherqImplementation:in the network core4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks sSchool of Computer Science&Technolog
13、y13131、Virtual-Circuit Networks4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks s“source-to-dest path behaves much likelike telephone circuittelephone circuit”,but there are crucial differences,so called virtual circuit rather than circuit.s
14、hared or dedicated resource actions along source-to-dest path Router determines the packets path according to the information in the packet itselfSchool of Computer Science&Technology1414rcall setup for each call before data can flowqteardown the connectionreach packet carries VC identifierVC identi
15、fier(not destination host address)reveryevery router on source-dest path maintains“state”for each passing connectionrlink,router resources(bandwidth,buffers)may be allocated allocated to a VC1、Virtual-Circuit Networks4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra a
16、mm n ne et twwo or rk ks sSchool of Computer Science&Technology1515VC implementationA VC consists of:1.A pathpath from source to destination2.VC numbers,oneone numbernumber forfor eacheach linklink along path3.3.EntriesEntries in forwarding tables in routers along pathrPackets belonging to a VC carr
17、ies the VC number.rVC number must be changed on each link.qVC switchingqNew VC number comes from forwarding table4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks sSchool of Computer Science&Technology1616Virtual circuits:signaling protocols4
18、 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks srused to setup,maintain teardown VCrused in ATM,frame-relay,X.25rnot used in todays Internet(packet switching networks)School of Computer Science&Technology17172、Datagram Networks4 4.2 2 V Vi
19、ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks srno call setup at network layerrrouters:no state about end-to-end connectionsqno network-level concept of“connection”rpackets forwarded using destination host addressqpackets between same source-dest pair
20、 may take different pathsSchool of Computer Science&Technology1818Forwarding table of Datagram Net Destination Address Range output Link Interface 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 1 11001000 00010111 0001100
21、0 11111111 11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 3At most,232 possible entries4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks sSchool of Computer Science&Technology1919Longest prefix mat
22、ching4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks s Prefix Match Link Interface11001000 00010111 00010 0 11001000 00010111 00011000 111001000 00010111 00011 2 otherwise 3DA:11001000 00010111 00011000 10101010 ExamplesDA:11001000 00010111
23、 00010110 10100001 Which interface?Which interface?School of Computer Science&Technology20203、Datagram or VC network:why?Internetrdata exchange among computersq“elastic”service,no strict timing req.r“smart”“smart”end systems(computers)qcan adapt,perform control,error recoveryqsimple inside network,c
24、omplexity at“edge”ppEnd2EndEnd2End argumentrmany link types qdifferent characteristicsquniform service difficult4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks sSchool of Computer Science&Technology21213、Datagram or VC network:why?ATMrevolv
25、ed from telephony for human conversationhuman conversationqstrict timing,reliability requirementsqneed for guaranteed servicer“dumb”end systemsqtelephonesqcomplexity inside network4 4.2 2 V Vi ir rt tu ua al l c ci ir rc cu ui it t a an nd d d da at ta ag gr ra amm n ne et twwo or rk ks sSchool of C
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 向下 方法 INTERNET 特色
限制150内