版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Computer Networking Lecture 13Network Layer and RoutersSome slides are from lectures of Prof. J.F Kurose and K.W. RossApril 14, 2017Dr. Qingyao WNetwork LayerChapter goals: Understand principles behind network layer services: network layer service models forwarding versus routing how a router works
2、routing (path selection) dealing with scale advanced topics: IPv6, mobility Instantiation, implementation in the InternetIntroduction of Network LayerNetwork layer Transport segment from sending to receiving host On sending side encapsulates segments into datagrams On rcving side, delivers segments
3、to transport layer Network layer protocols in every host, router Router examines header fields in all IP datagrams passing through itapplicationtransportnetworkdata linkphysicalapplicationtransportnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetwork
4、data linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalnetworkdata linkphysicalTwo Key Network-Layer Functions Forwarding: move packets from routers input to appropriate router output Routing: d
5、etermine route taken by packets from source to dest. routing algorithmsAnalogy: Routing: process of planning trip from source to dest Forwarding: process of getting through single interchange1230111value in arrivingpackets headerrouting algorithmlocal forwarding tableheader value output link01000101
6、011110013221Interplay between routing and forwardingHow tables configured?Connection setup 3rd important function in some network architectures: ATM, frame relay Before datagrams flow, two end hosts and intervening routers establish virtual connection routers get involved Network vs transport layer
7、connection service: network: between two hosts (may also involve intervening routers in case of VCs) transport: between two processesReview Network layer: move packets from a sending host to a receiving host Forwarding (forwarding table) Routing Connection setupNetwork service modelQ: What service m
8、odel for “channel” transporting datagrams from sender to receiver?Example services for individual datagrams: guaranteed delivery guaranteed delivery with less than 40 msec delayExample services for a flow of datagrams: in-order datagram delivery guaranteed minimum bandwidth to flow restrictions on c
9、hanges in inter-packet spacingNetwork layer service models:NetworkArchitectureInternetATMATMATMATMServiceModelbest effortCBRVBRABRUBRBandwidthnoneconstantrateguaranteedrateguaranteed minimumnoneLossnoyesyesnonoOrdernoyesyesyesyesTimingnoyesyesnonoCongestionfeedbackno (inferredvia loss)nocongestionno
10、congestionyesnoGuarantees ?Network layer connection and connection-less service Datagram network provides network-layer connectionless service Virtual Circuit (VC) network provides network-layer connection service Analogous to the transport-layer services, but: service: host-to-host no choice: netwo
11、rk provides one or the other, but not both implementation: in network coreVirtual circuit and datagram networksVirtual circuitscall setup, teardown for each call before data can floweach packet carries VC identifier (not destination host address)every router on source-dest path maintains “state” for
12、 each passing connectionlink, router resources (bandwidth, buffers) may be allocated to VC (dedicated resources = predictable service)“source-to-dest path behaves much like telephone circuit” performance-wise network actions along source-to-dest pathVC implementationA VC consists of:1. path from sou
13、rce to destination2. VC numbers, one number for each link along path3. entries in forwarding tables in routers along pathpacket belonging to VC carries VC number (rather than dest address)VC number can be changed on each link.New VC number comes from forwarding tableForwarding table122232123VC numbe
14、rinterfacenumberIncoming interface Incoming VC # Outgoing interface Outgoing VC #1 12 3 222 63 1 18 3 7 2 171 97 3 87 Forwarding table innorthwest router:Routers maintain connection state information!Virtual circuits: signaling protocols Used to setup, maintain teardown VC Used in ATM, frame-relay,
15、X.25 Not used in todays Internetapplicationtransportnetworkdata linkphysicalapplicationtransportnetworkdata linkphysical1. Initiate call2. incoming call3. Accept call4. Call connected5. Data flow begins6. Receive dataDatagram networks no call setup at network layer routers: no state about end-to-end
16、 connections no network-level concept of “connection” packets forwarded using destination host address packets between same source-dest pair may take different pathsapplicationtransportnetworkdata linkphysicalapplicationtransportnetworkdata linkphysical1. Send data2. Receive dataForwarding table Des
17、tination Address Range Link Interface 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 34 bil
18、lion possible entriesLongest prefix matching Prefix Match Link Interface 11001000 00010111 00010 0 11001000 00010111 00011000 1 11001000 00010111 00011 2 otherwise 3DA: 11001000 00010111 00011000 10101010 ExamplesDA: 11001000 00010111 00010110 10100001 Which interface?Which interface?Datagram or VC
19、network: why?Internet (datagram)Data exchange among computers “elastic” service, no strict timing req. “smart” end systems (computers) can adapt, perform control, error recovery simple inside network, complexity at “edge”many link types different characteristics uniform service difficultATM (VC)Evol
20、ved from telephonyHuman conversation: strict timing, reliability requirements need for guaranteed service“dumb” end systems telephones complexity inside networkInside a RouterRouter Architecture OverviewTwo key router functions: run routing algorithms/protocol (RIP, OSPF, BGP) forwarding datagrams f
21、rom incoming to outgoing linkInput Port FunctionsDecentralized switching: given datagram dest., lookup output port using forwarding table in input port memorygoal: complete input port processing at line speedqueuing: if datagrams arrive faster than forwarding rate into switch fabricPhysical layer:bi
22、t-level receptionData link layer:e.g., Ethernetsee chapter 5Three types of switching fabricsSwitching Via MemoryFirst generation routers: traditional computers with switching under direct control of CPU packet copied to systems memory speed limited by memory bandwidth (2 bus crossings per datagram)I
23、nputPortOutputPortMemorySystem BusSwitching Via a Bus Datagram from input port memory to output port memory via a shared bus Bus contention: switching speed limited by bus bandwidth 32 Gbps bus, Cisco 5600: sufficient speed for access and enterprise routersSwitching Via An Interconnection Network ov
24、ercome bus bandwidth limitations Banyan networks, other interconnection nets initially developed to connect processors in multiprocessor advanced design: fragmenting datagram into fixed length cells, switch cells through the fabric. Cisco 12000: switches 60 Gbps through the interconnection networkOutput Ports Buffering required when datagrams arrive from fabric faster than
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- GB/T 33391-2026鞋类化学试验方法多环芳烃(PAHs)的测定
- 2026年中学初二物理试题及答案
- 深度解析(2026)《GBT 30239-2013陶质文物彩绘保护修复技术要求》
- 2026年物理试题天体运动及答案
- DB4401-T 146.2-2022 食品快速检测工作规范 第2部分:日常检测
- 2026年中考语文总复习训练专题-病句
- 《DLT 1238-2013 1000kV交流系统用静电防护服装》(2026年)合规红线与避坑实操手册
- 2026年生鲜电商冷链仓储协议
- 2025北京朝阳区高三(上)期中英语试题及答案
- 纺织工程职业方向
- 2026年滁州凤阳大明旅游发展(集团)有限公司招聘导游员(讲解员)15名笔试备考题库及答案详解
- T∕SZSSIA 019-2026 反恐怖防范管理规范 总则
- 24J113-1 内隔墙-轻质条板(一)
- 药食同源食品管理办法实施细则
- 律师事务所内部惩戒制度
- 政治监督培训课件模板
- 桥架培训课件
- JT-T-760-2009浮标技术条件
- 陕西省西安市长安区2023-2024学年八年级下学期期中数学试题(含答案)
- 行政的使命目的和价值概述
- 人工智能改变网络支付方式
评论
0/150
提交评论