Introduction to Internet and TCPIP(PPT讲稿)IP转发 IP FORWARDING

IP FORWARDING Dr. Rocky K C Chang 1 1 October 2010
IP FORWARDING Dr. Rocky K. C. Chang 11 October 2010 1

Content 口 Switches vs routers a The iP forwarding problem n The IP address lookup problem 口| P tunneling a Forwarding-related ICMP messages
Content 2 Switches vs routers The IP forwarding problem The IP address lookup problem IP tunneling Forwarding-related ICMP messages

Routers vs switches 3 a Price/performance comparison o Besides packet forwarding, routers offer rich functionalities n Support multiple network-layer protocols a block broadcast packets a Provide type-of-service routing(differentiated service) a Perform admission control, per-flow queueing, resource reservation, and fair scheduling n Assist in network congestion control. 口 Support tunneling a Support IP fragmentation Perform nat a etc
Routers vs switches 3 Price/performance comparison Besides packet forwarding, routers offer rich functionalities: Support multiple network-layer protocols. Block broadcast packets. Provide type-of-service routing (differentiated service). Perform admission control, per-flow queueing, resource reservation, and fair scheduling. Assist in network congestion control. Support tunneling Support IP fragmentation Perform NAT etc

Things that a router needs to worry about a Integrity of an incoming packet Checksum for the header a Source address spoofing(limited) a Receiving: queueing, scheduling, detunneling, etc o Dropping or forwarding a Dropping (TTL, broadcasting, congestion, and the integrity issues)and feedback n Forwarding: destination address (and perhaps source addresses and interface), and Tos 口 Forwarding a Fragmentation, tunneling, source address and port translation
Things that a router needs to worry about 4 Integrity of an incoming packet: Checksum for the header Source address spoofing (limited) Receiving: queueing, scheduling, detunneling, etc Dropping or forwarding Dropping (TTL, broadcasting, congestion, and the integrity issues) and feedback Forwarding: destination address (and perhaps source addresses and interface), and TOS. Forwarding Fragmentation, tunneling, source address and port translation

5P forwarding
5 IP forwarding

Forwarding, routing, and switching n Routing: the process by which nodes exchange topological information to build correct forwarding tables 口R。 Uting protocols(○ SPF BGP|S-|S,etc) n Forwarding: the operation of deciding the next-hop address to forward to a Forwarding table vs routing table a Switching: the operation of moving a packet from an input port to an output port. a IP router: one that forwards iP packets for others
Forwarding, routing, and switching 6 Routing: the process by which nodes exchange topological information to build correct forwarding tables. Routing protocols (OSPF, BGP, IS-IS, etc) Forwarding: the operation of deciding the next-hop address to forward to. Forwarding table vs routing table Switching: the operation of moving a packet from an input port to an output port. IP router: one that forwards IP packets for others

IP routing vs IP switching IP routing IP routing protocol protocol Ethernet ATM(cell Token ring Switching FDDI etc table)
IP routing vs IP switching 7 IP routing protocol Ethernet, Token ring, FDDI, etc IP routing protocol ATM (cell switching table)

The IP forwarding problem a Assume that both routers and hosts already have appropriate routing tables in place. a Routing tables for routers are constructed from routing protocols or by hand. a Routing tables for hosts are constructed from other means(to be discussed later). a Problem: Given a forwarding table and an IP packet, how do hosts and routers make forwarding decisions?
The IP forwarding problem 8 Assume that both routers and hosts already have appropriate routing tables in place. Routing tables for routers are constructed from routing protocols or by hand. Routing tables for hosts are constructed from other means (to be discussed later). Problem: Given a forwarding table and an IP packet, how do hosts and routers make forwarding decisions?

IP forwarding mechanisms Routing protocol(router only) ICMP redirect messages(host only) Router discovery protocol(host only) Manual configuration (router and host) IP packets IP Output router only IP forwarding table (compute the next hop) Network interfaces
IP forwarding mechanisms 9 IP Output (compute the next hop) IP forwarding table Routing protocol (router only) ICMP redirect messages (host only) Router discovery protocol (host only) Manual configuration (router and host) IP packets Network interfaces router only

ypes of forwarding entries 10 a Unica st vs multicast destinations n Loopback vs actual routes a Host-specific vs network specific routes n First-hop forwarding vs last-hop forwarding vs in- between forwarding a The last two are for routers only
Types of forwarding entries 10 Unicast vs multicast destinations Loopback vs actual routes Host-specific vs network specific routes First-hop forwarding vs last-hop forwarding vs inbetween forwarding The last two are for routers only
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 10 Pose estimation by the iterative method.pptx
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 8 Virtual Memory.ppt
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 6 Concurrency Deadlock and Starvation.ppt
- 《操作系统》课程教学资源(PPT课件讲稿)Chapter 1 and 2 Computer System and Operating System Overview.ppt
- 印第安纳大学:《Informatics》课程PPT教学课件(信息学)08 网络爬虫 Web Crawling.ppt
- 《Java编程导论》课程教学资源(PPT课件讲稿)Chapter 8 Strings and Text I/O.ppt
- 《计算机网络与通讯》课程教学资源(PPT课件讲稿,英文版)Chapter 3 Transport Layer.ppt
- C++ Review.ppt
- 《计算机网络与通讯》课程教学资源(PPT课件讲稿,英文版)Chapter 07 Network Security.ppt
- Incorporating Structured World Knowledge into Unstructured Documents via——Heterogeneous Information Networks.pptx
- FairCloud:Sharing the Network in Cloud Computing.pptx
- 香港科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件)Chapter 1 Introduction of computer networking.ppsx
- Fluent:《GAMBIT建模教程》教学资源(PPT讲稿)Geometry Operations in GAMBIT.ppt
- 有限元分析 ANSYS:Modeling Turbulent Flows(PPT讲稿)Introductory FLUENT Training.ppt
- 隐马尔科夫模型和词性标注(PPT课件讲稿).ppt
- 哈尔滨工业大学:《中文信息处理》课程教学资源(PPT课件讲稿)句法分析(张宇).ppt
- 新乡学院:《计算机网络》课程教学大纲(适用专业:信息与计算科学).pdf
- 新乡学院:《数据库原理》课程电子教案(PPT课件)第3章 关系数据库.ppt
- 《数据库系统概论 An Introduction to Database System》课程教学资源(PPT课件讲稿)第8讲 数据库恢复技术.ppt
- 河南中医药大学:《网络技术实训》课程教学资源(PPT课件讲稿)第4讲 网络管理实训内容(上).pptx
- GD-Aggregate:A WAN Virtual Topology Building Tool for Hard Real-Time and Embedded Applications.ppt
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 05 Hough transform.pptx
- 香港中文大学:Image processing and computer vision(PPT课件讲稿)Edge detection and image filtering.pptx
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 07 Mean-shift and Cam-shift.pptx
- Essential Cluster OS Commands.ppt
- 香港浸会大学:Kickstart Tutorial/Seminar on using the 64-nodes P4-Xeon Cluster in Science Faculty.ppt
- 香港浸会大学:并行输入输出(PPT讲稿)Parallel I/O.ppt
- 四川大学:《操作系统 Operating System》课程教学资源(PPT课件讲稿)Chapter 7 Memory Management.ppt
- 四川大学:《数据库技术》课程教学资源(PPT课件讲稿)第4章 数据库查询.ppt
- 《计算机系统结构》课程教学资源(PPT课件讲稿)第五章 存储层次.ppt
- 软件配置管理和项目管理工具(PPT讲稿)Software Configuration Management and Project Management Tool.ppt
- 《数据库基础》课程PPT教学课件(SQL Server)第4章 T-SQL与可编程对象.ppt
- 《嵌入式系统开发》课程PPT教学课件(讲稿)第一章 嵌入式系统概述.ppt
- 《编译原理 Compiler Construction》课程教学资源(PPT讲稿)语义分析 Semantic Analysis(Attributes and Attribute Grammars、Algorithms for Attribute Computation).ppt
- 四川大学:《Linux操作系统》课程教学资源(PPT课件讲稿)第6章 Linux系统调用.ppt
- 《数据库技术》课程教学资源(PPT课件讲稿)第3章 SQL语言基础及数据定义功能(主讲:曾晓东).ppt
- 四川大学:.NET and .NET Core:Languages, Cloud, Mobile and AI(PPT课件讲稿)NET for Data Science and AI.pptx
- 四川大学:《Matlab程序设计》课程教学资源(教学大纲)Programming in Matlab.pdf
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第4章 网络基础(网络概述、协议).ppt
- 电子科技大学:《计算系统与网络安全 Computer System and Network Security》课程教学资源(PPT课件讲稿)第7章 协议安全技术(安全协议实例).ppt