Lec13router1

上传人:工**** 文档编号:567286702 上传时间:2024-07-19 格式:PPT 页数:23 大小:310.50KB
返回 下载 相关 举报
Lec13router1_第1页
第1页 / 共23页
Lec13router1_第2页
第2页 / 共23页
Lec13router1_第3页
第3页 / 共23页
Lec13router1_第4页
第4页 / 共23页
Lec13router1_第5页
第5页 / 共23页
点击查看更多>>
资源描述

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

1、Lec13router1Lec13router1Workstation-BasedAggregate bandwidth 1/2 of the I/O bus bandwidth capacity shared among all hosts connected to switchexample: 1Gbps bus can support 5 x 100Mbps ports (in theory)Packets-per-second must be able to switch small packets300,000 packets-per-second is achievablee.g.

2、, 64-byte packets implies 155MbpsSpring 20002CS 461Switching Hardware Design Goalsthroughput (depends on traffic model)scalability (a function of n)Portscircuit management (e.g., map VCIs, route datagrams)buffering (input and/or output)Fabricas simple as possiblesometimes do buffering (internal) Swi

3、tchfabricControlprocessorOutputportInputportSpring 20003CS 461BufferingWherever contention is possibleinput port (contend for fabric)internal (contend for output port)output port (contend for link)Head-of-Line Blockinginput buffering Spring 20004CS 461Crossbar SwitchesSpring 20005CS 461Knockout Swit

4、chExample crossbarConcentratorselect l of n packetsComplexity: n2 1234OutputsInputsSpring 20006CS 461Knockout Switch (cont)Output Buffer(c)ShifterBuffers(b)ShifterBuffers(a)ShifterBuffersSpring 20007CS 461Self-Routing FabricsBanyan Networkconstructed from simple 2 x 2 switching elementsself-routing

5、header attached to each packetelements arranged to route based on this headerno collisions if input packets sorted into ascending ordercomplexity: n log2 n Spring 20008CS 461Self-Routing Fabrics (cont)Batcher Networkswitching elements sort two numberssome elements sort into ascending (clear)some ele

6、ments sort into descending (shaded)elements arranged to implement merge sortcomplexity: n log22 n Common Design: Batcher-Banyan SwitchSpring 20009CS 461High-Speed IP RouterSwitch (possibly ATM)Line Cardslink interface (input, output)router lookup (input)common IP path (input)packet queue (output)Con

7、trol Processorrouting protocol(s)exceptional casesLine card(forwarding buffering)Line card(forwarding buffering)Line card(forwarding buffering)Line card(forwarding buffering)RoutingCPUBuffermemoryRouting softwarew/ router OSSpring 200010CS 461IP Forwarding is SlowProblem: classless IP addresses (CID

8、R)Route by variable-length Forwarding Equivalence Classes (FEC)FEC = IP address plus prefix of 1-32 bits; e.g., 172.200.0.0/16IP Routerforwarding tbl: match IP address to FEC w/ longest prefixSpring 200011CS 461Primary goal: fast, cheap forwarding 1Gb/s IP router: $187,0005Gb/s ATM switch: $41,000Cr

9、eate Virtual Circuit at Flow Setup Cell Forwardingindex, swap, switch ATM ForwardingSpring 200012CS 461Cisco: Tag SwitchingAdd a VCI-like tag to packets TSR uses ATM switch hardware IP routing protocols (OSPF, RIP, BGP)build forwarding table from routing tableGoal: IP router functionality at ATM swi

10、tch speeds/costsSpring 200013CS 461ForwardingShim before IP headerTag Forwarding Information Base (TFIB) Just like ATMindex, swap, switchTTL (8 bits)CoS STag (20 bits)Spring 200014CS 461Tag BindingNew FEC from IP routing protocolsSelect local tag (index in TFIB) Need for next hopOther routers need m

11、y Solution: distribute tags like other routing infoSpring 200015CS 461Tag Distribution ProtocolSend TDP messages to peersUpon receiving TDP message, check if sender is next hop for FECyes, save tag in TFIBno, can discard or save for future useControl-driven label assignmentSpring 200016CS 461The Fir

12、st TagTwo kinds of routers: edge vs. interiorEdge: add shim based on IP lookup, strip at exitInterior: forward by tag onlyEIIESpring 200017CS 461Robustness IssuesWhat if tag fault?try to forward (default route)discard packetForwarding Loopstopology changes cause temporary loopsTTL field in tag, same

13、 as IPSpring 200018CS 461Ipsilon: IP SwitchingRun on ATM switch over ATM networkATM hardware + IP switching softwareIdea: Exploit temporal locality of traffic to cache routing decisionsAssociate labels (VCI) with flowsforward packets as usualmain difference is in how labels are created, distributed

14、to other routersSpring 200019CS 461IP SwitchAssume default ATM virtual circuits between routersRouter runs IP routing protocol, can forward IP packets on default VCsIdentify flows, assign flow-specific VCflow = port pair or host pairData-driven label assignmentSpring 200020CS 461Flow Setup on IP Swi

15、tch Get IFMP, ATM SwitchControllerPort iPort jvci = xvci = yPort cvci = xIFMP messageIFMP messageSpring 200021CS 461ComparisonSwitch by flowData drivenSoft-state timeoutBetween end-hostsEvery router can do IP lookupScalable?Switch by FECControl drivenRoute changesBetween edge TSRsInterior TSRs only do tag switchingIP SwitchingTag SwitchingSpring 200022CS 461

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 建筑/环境 > 施工组织

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