Routing I Basic IdeasPPT

上传人:镜花****ul 文档编号:96082176 上传时间:2019-08-23 格式:PPT 页数:62 大小:685KB
返回 下载 相关 举报
Routing I Basic IdeasPPT_第1页
第1页 / 共62页
Routing I Basic IdeasPPT_第2页
第2页 / 共62页
Routing I Basic IdeasPPT_第3页
第3页 / 共62页
Routing I Basic IdeasPPT_第4页
第4页 / 共62页
Routing I Basic IdeasPPT_第5页
第5页 / 共62页
点击查看更多>>
资源描述

《Routing I Basic IdeasPPT》由会员分享,可在线阅读,更多相关《Routing I Basic IdeasPPT(62页珍藏版)》请在金锄头文库上搜索。

1、Routing I: Basic Ideas,Shivkumar Kalyanaraman Rensselaer Polytechnic Institute shivkumaecse.rpi.edu Based in part upon slides of Prof. Raj Jain (OSU), S. Keshav (Cornell), J. Kurose (U Mass), Noel Chiappa (MIT),Routing vs Forwarding Forwarding table vs Forwarding in simple topologies Routers vs Brid

2、ges: review Routing Problem Telephony vs Internet Routing Source-based vs Fully distributed Routing Distance vector vs Link state routing Addressing and Routing: Scalability Refs: Chap 8, 11, 14, 16 in Comer textbook Books: “Routing in Internet” by Huitema, “Interconnections” by Perlman Reading: Not

3、es for Protocol Design, E2e Principle, IP and Routing: In PDF Reading: Routing 101: Notes on Routing: In PDF | In MS Word Reading: Khanna and Zinky, The revised ARPANET routing metric Reference: Garcia-Luna-Aceves: “Loop-free Routing Using Diffusing Computations“ : Reading: Alaettinoglu, Jacobson, Y

4、u: “Towards Milli-Second IGP Convergence“,Overview,Routing vs Forwarding Forwarding table vs Forwarding in simple topologies Routers vs Bridges: review Routing Problem Telephony vs Internet Routing Source-based vs Fully distributed Routing Distance vector vs Link state routing Addressing and Routing

5、: Scalability,Where are we?,Routing vs. Forwarding,Forwarding: select an output port based on destination address and routing table Data-plane function Often implemented in hardware Routing: process by which routing table is built so that the series of local forwarding decisions takes the packet to

6、the destination with high probability, and (reachability condition) the path chosen/resources consumed by the packet is efficient in some sense (optimality and filtering condition) Control-plane function Implemented in software,Forwarding Table,Can display forwarding table using “netstat -rn” Someti

7、mes called “routing table”,Destination Gateway Flags Ref Use Interface 127.0.0.1 127.0.0.1 UH 0 26492 lo0 192.168.2. 192.168.2.5 U 2 13 fa0 193.55.114. 193.55.114.6 U 3 58503 le0 192.168.3. 192.168.3.5 U 2 25 qaa0 224.0.0.0 193.55.114.6 U 3 0 le0 default 193.55.114.129 UG 0 143454,Forwarding Table S

8、tructure,Fields: destination, gateway, flags, . Destination: can be a host address or a network address. If the H flag is set, it is the host address. Gateway: router/next hop IP address. The G flag says whether the destination is directly or indirectly connected. U flag: Is route up ? G flag: route

9、r (indirect vs direct) H flag: host (dest field: host or n/w address?) Key question: Why did we need this forwarding table in the first place ?,Routing in Simple Topologies,. . .,Full mesh: port# = dest-addr,Bus: Drop pkt on the wire,Star: stubs point to hub; hub behaves like full mesh,S,Ring: send

10、packet consistently in (anti-)clockwise direction,Routing vs Forwarding Forwarding table vs Forwarding in simple topologies Routers vs Bridges: review Routing Problem Telephony vs Internet Routing Source-based vs Fully distributed Routing Distance vector vs Link state routing Addressing and Routing:

11、 Scalability,Where are we?,Recall Layer 1 & 2,Layer 1: Hubs do not have “forwarding tables” they simply broadcast signals at Layer 1. No filtering. Layer 2: Forwarding tables not required for simple topologies (previous slide): simple forwarding rules suffice The next-hop could be functionally relat

12、ed to destination address (i.e. it can be computed without a table explicitly listing the mapping). This places too many restrictions on topology and the assignment of addresses vis-vis ports at intermediate nodes. Forwarding tables could be statically (manually) configured once or from time-to-time

13、. Does not accommodate dynamism in topology,Recall Layer 2,Even reasonable sized LANs cannot tolerate above restrictions Bridges therefore have “L2 forwarding tables,” and use dynamic learning algorithms to build it locally. Even this allows LANs to scale, by limiting broadcasts and collisions to co

14、llision domains, and using bridges to interconnect collision domains. The learning algorithm is purely local, opportunistic and expects no addressing structure. Hence, bridges often may not have a forwarding entry for a destination address (I.e. incomplete) In this case they resort to flooding which

15、 may lead to duplicates of packets seen on the wire. Bridges coordinate “globally” to build a spanning tree so that flooding doesnt go out of control.,Recall : Layer 3,Routers have “L3 forwarding tables,” and use a distributed protocol to coordinate with other routers to learn and condense a global

16、view of the network in a consistent and complete manner. Routers NEVER broadcast or flood if they dont have a route they “pass the buck” to another router. The good filtering in routers (I.e. restricting broadcast and flooding activity to be within broadcast domains) allows them to interconnect broadcas

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > PPT模板库 > 总结/计划/报告

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号