Inside Internet Routers
|
|
- Beatrix Bishop
- 5 years ago
- Views:
Transcription
1 Inside Internet Routers 3035/GZ0 Networked Systems Kyle Jamieson Lecture 9 Department of Computer Science University College London
2 Today Inside internet routers Longest- prefix lookup The Luleå algorithm Router architecture Crossbar scheduling and the islip algorithm Cisco Gigabit Switch Router 86
3 IP lookup problem: Context Given incoming packet with IP address x, choose output port number outport(x) to deliver packet Then will configure switching fabric to connect inport(x) à outport(x) What kind of data structure will support this?
4 Compu?ng the longest prefix match Test: (DesYnaYon & Prefix mask) == Prefix Des?na?on: : : " 7: 00000" 7: " Forwarding Table: Prefix Outgoing link / / / /3 9: "
5 Compu?ng the longest prefix match Test: (DesYnaYon & Prefix mask) == Prefix Des?na?on: : : " 7: 00000" 7: " Forwarding Table: Prefix Outgoing link / / / /3 4: : 0000" 8: "
6 Compu?ng the longest prefix match Test: (DesYnaYon & Prefix mask) == Prefix Des?na?on: : : " 7: 00000" 7: " Forwarding Table: Prefix Outgoing link / / / /3 0: : " 0: "
7 Compu?ng the longest prefix match Test: (DesYnaYon & Prefix mask) == Prefix Des?na?on: : : " 7: 00000" 7: " Forwarding Table: Prefix Outgoing link / / / /3 0: : " 6: " Algorithmic problem: How do we do this fast?
8 Simple algorithms are too slow Scan the forwarding table one entry at a Yme See if the desynayon matches the prefix Keep track of the entry with longest- matching prefix If no match, use default route Overhead is linear in size of the forwarding table Today, that means 00,000-50,000 entries! And, the router may have just a few nanoseconds before the next packet arrives Need greater efficiency to keep up with line speed Beeer algorithms Hardware implementayons
9 The forwarding problem SONET opycal fiber links OC- Gbits/s: backbones of secondary ISPs OC- 0 Gbits/s: widespread in the core OC- 40 Gbits/s: deployed in a few core links Have to handle minimum- sized packets (40 64 bytes) at line speed At 0 Gbits/s have 3 5 ns to decide for each packet DRAM latency 50 ns; SRAM latency 5 ns
10 First apempt: Binary tree Each bit in prefix corresponds to one level of the tree, staryng from bit 0 at the root Some nodes correspond to valid prefixes in the IP forwarding table ConvenYon: Bit 0 is the most significant bit of IP address; bit 3 is the least significant bit; e.g.: 0 0* 0 * 0* Bit 0 Bit 3 000*
11 Binary tree When a packet arrives: Search the tree based on the desynayon address, remembering all matching nodes Deepest matching node corresponds to the LPM Running Yme? Scales directly with # bits in prefix; each of which involves a slow memory lookup 0 0* * 0 0* *
12 Patricia tree Binary tree, but internal nodes indicate which bit posiyons to test Allows router to skip bit tests, speed matching Leaves contain: Key (IP address), and Mask (# of significant bits) Match (query IP & mask) with key If match fails, invoke the following backtracking step Backtracking step: Move up tree one level at a Yme, logical- AND search key with mask of node and restart the search at that node If no mask exists, move up the tree one level
13 bit 0 bit 0 0x bit default x xff bit 3 bit 4 bit 3 0xff bit bit 30 bit xff xff end bit 3 bit xffffffe
14 Patricia tree: Examples. Search IP = = hex 7F Bit 0 clear à branch ler Bit set à branch right Bit 3 set à branch right Search key ?= address : match à return (host match). Search IP = = hex 7F Bit 0 clear, bit set à branch ler, right Bit 3 clear à branch ler Search key & network mask 0xFF ?= : match à return (network match) 3. Search IP = = hex 7F Bit 0 clear, bit set, bit 3 set à branch ler, right, right Search key ?= address : no match Backtrack up one level to bit 3 node, new search key = search key & mask 0xFF = Bit 3 now clear à branch ler Search key & network mask 0xFF ?= : match à return (network match) 4. Search IP =.0.0. = hex 0x Bit 0 clear, bit set, bit 3 set à branch ler, right, right Search key.0.0.?= address : no match Backtrack to bit 3 node, new search key = Bit 3 now clear à branch ler Search key & 0xFF ?= : no match Backtrack to bit node: no mask so conynue upward to bit 0 node (root) New search key & 0x = Bit 0 clear, bit clear à branch ler, ler to default route
15 Patricia tree: Summary Large rouyng tables Patricia trees (4.4 BSD) use 4 bytes for leaves Size: Mbytes à Mbytes Worst case, have to backtrack and traverse enyre tree Memory accesses are the boeleneck of lookup Recall: Superlinear growth trend in number of rouyng table entries Result: IP lookup becomes the boeleneck in fast routers; can we improve its speed?
16 Luleå algorithm: Mo?va?on Degermark et al., Small forwarding tables for fast rou;ng lookups in Proc. of SIGCOMM 97 Naïve binary tree is huge Won t fit in fast CPU cache memory in a sorware router Memory bandwidth becomes limiyng factor in a hardware router Therefore, goal becomes: How can we minimize memory accesses and the size of data structure? Method for compressing the binary tree using bit- vectors Design for 4 6K different next- hops
17 This just in
18 Luleå: Basic idea Back to the binary tree Imagine tree is full down to some level, e.g. three Now construct a bit vector, one entry per each level- three leaf Put informayon that was in leaves in a pointer array One entry per set bit, to save space Discard the binary tree! Now just need to find the right index into the pointer array given an IP address and the bit vector? 0 0* 0 0* * 0 bit vector next hop next hop pointer array
19 Luleå algorithm CIDR longest prefix match rule: e supersedes e Divide a complete binary tree into three levels Level : one big node represenyng enyre tree depth 6 bits Levels and 3: chunks describe poryons of the tree The binary tree is sparse, and most accesses fall into levels and/or Level e e IP address space: 3 possible addresses Level Level 3
20 Luleå algorithm: Level Covers all prefixes of length 6 Cut across tree at depth 6 bit vector of length 6 Root head =, genuine head =, member of genuine head = 0 Divide bit vector into bit masks, each 6 bits long Genuine head Root head One bit mask: depth 6
21 Luleå algorithm: Level One bit mask: Head informa?on stored in pointer array: type () pointer (4) pix" Next- hop table: L chunk One 6- bit pointer per bit set equal to in the bit- mask Pointer composed of bits of type info; 4 bits of indexing info Genuine heads: index into next- hop table Root heads: index into array of Level (L) chunks Problem: given an IP address, find the index pix into the pointer array
22 Luleå: Finding pointer group Group pointers by 6- bit bit masks; how to find pointer group? Bit vector is 6 total length, so there are bit masks Code word array code ( entries) One entry per bit mask, so indexed by top bits of IP address 6- bit offset six: num/ptrs to skip to find st ptr for that bit mask in ptr array Four bit masks, max 4 6 = 64 bits set, 0 six 63, so value may be too big Base index array base ( 0 entries) One base index per four code words: num/ptrs to skip for those four bit masks Indexed by top 0 bits of IP address e.g. bit vector: code: ten" six" 0! base: 0 6 0! 3
23 Luleå: Finding pointer group () 3 IP address bix ix code: bit codeword six ten base: pix := + Extract top 0 bits from IP address: bix! Extract top bits from IP address: ix! Skip code[ix].six + base[bix] pointers in the pointer table; then we are at the group of pointers
24 Luleå: Finding pointer index within pointer group a(n) number of possible bit masks of length n a(0) = ; a(n) = + a(n ) à a(4) + = 678 So maptable rows indexed with 0 bits ten field of code indexes maptable maptable entries are 4- bit offsets maptable entries: pre- computed and constant ten IP value varies depending address 3 0 on tree depth Code word array: r 0 0 IP address bix ix code: 4 bit ten" code: r r r r5 4 maptable: maptable:" Base index array: six" codeword six ten maptable entry base: pix := ;
25 Luleå: Summary of finding pointer 3 IP address bix bit ix codeword code: six ten 0 maptable: base: pix := + + ; 0 ten = code[ix].ten! six = code[ix].six! pix = base[bix] + six + maptable[ten][bit]! pointer = level_pointers[pix]!
26 Luleå algorithm: Levels and 3 Consist of chunks, pointed to by root heads Chunk covers subtree of height 8, so 56 heads Three types of chunk: Sparse: - 8 heads, array of 8- bit indices of the heads Dense: 9-64 heads, like Level but only one base index Very dense: heads, same format as Level pix" 4 L chunk
27 Luleå: Summary Tradeoff mutability and table construcyon Yme for speed Adding a rouyng entry requires rebuilding enyre table RouYng tables don t oren change Boeom line Lookup: Eight memory references touching 4 bytes Table: 50 Kbytes for 40,000 entries; 4 5 bytes/entry Current state of the art in router IP lookup Implemented in hardware as well as sorware routers
28 Today Inside internet routers Longest- prefix lookup The Luleå algorithm Router architecture Crossbar scheduling and the islip algorithm Cisco Gigabit Switch Router 86
29 Router architecture. Data path: funcyons performed on each datagram Forwarding decision Switching fabric (backplane) Output link scheduling. Control plane: funcyons performed relayvely infrequently RouYng table informayon exchange with others ConfiguraYon and management
30 Input port func?onality Input port Layer Line termination Layer Data link processing Layer 3 Lookup, forwarding R Switch fabric IP address lookup CIDR longest- prefix match Copy of forwarding table from control processor Check IP header, decrement TTL, recalculate checksum, prepend next- hop link- layer address Possible queuing, depending on design
31 Switching fabric Job of switching fabric is to get a packet from an input port to the right output port How can this be done?. Copy it into some memory locayon and out again. Send it over a shared hardware bus 3. Crossbar interconnect 4. Self- rouyng fabric
32 Switching via memory First generayon routers: tradiyonal computers with switching under direct control of CPU. Packet copied from input port across shared bus to RAM. Packet copied from RAM across shared bus to output port ü Simple design ü All ports share queue memory in RAM Speed limited by CPU: must process every packet [Image: N. McKeown]
33 Switching via shared bus Datagram moves from input port memory to output port memory via a shared bus e.g. Cisco 5600: 3 Gbit/s bus; sufficient speed for access routers ü Eliminate CPU boeleneck Bus contenyon: switching speed limited by bus bandwidth CPU speed syll a factor [Image: N. McKeown]
34 Crossbar interconnect Why do we need switched backplanes? Shared buses divide bandwidth among contenders Electrical reason: speed of bus limited by # connectors Replaces shared bus Up to n connects join n inputs to n outputs MulYple input ports communicate simultaneously [Image: N. McKeown]
35 Switching via crossbar Datagram moves from input port memory to output port memory via the crossbar e.g. Cisco 000 family: 60 Gbit/s; sufficient speed for core routers ü Eliminates bus boeleneck ü Custom ASIC forwarding engines replace general purpose CPUs Requires algorithm to determine crossbar configurayon Crossbar [Image: N. McKeown]
36 Switching via self- rou?ng fabric Input port appends self- rou6ng header to packet Self- rouyng header contains output port Output port removes self- rouyng header Example: Banyan- Batcher architecture
37 Self- rou?ng fabric example: Banyan network ComposiYon: comparator elements Self- rouyng header: use i th bit for i th stage Block if two arriving packets have same value Banyan is collision free if packets are presented in sorted ascending order First layer moves packets to correct upper or lower half based on st bit (0, ) Banyan with four arriving packets
38 Sor?ng networks x y x y Comparator notayon y i = x i if x x y = x, y = x otherwise InserYon sort by recursive definiyon Batcher network: an efficient sorter (not shown here) Batcher- Banyan architecture for collision- free switching x x x 3 x n x n x n+ x x x 3 x 4 x 5 x 6 SorYng network for n elements
39 Output port func?onality Output port Switch fabric Layer Data link processing Layer Line termination Output queuing required when datagrams arrive from fabric faster than line transmission rate
40 Where does queuing occur? Central issue in switch design: three choices At input ports (input queuing) At output ports (output queuing) Some combinayon of the above n = max(# input ports, # output ports)
41 Output queuing No buffering at input ports, therefore: Mul?ple packets may arrive to an output port in one cycle; requires switch fabric speedup of n Output port buffers all packets Drawback: Output port speedup required: n Switch fabric
42 Input queuing Input ports buffer packets Send at most one packet per cycle to an output Switch fabric forwarding speedup required: n Switch fabric
43 Input queuing: Head- of- line blocking One packet per cycle sent to any output Blue packet blocked despite available capacity at output ports and in switch fabric Reduces throughput of the switch Switch fabric
44 Virtual output queuing On each input port, one input queue per output port Input port places packet in virtual output queue (VOQ) corresponding to output port of forwarding decision ü No head- of- line blocking ü All ports (input and output) operate at same rate Need to schedule fabric, choosing which VOQs when Input port Q(,) Output ports (3) Lookup, forwarding Q(,) Q(,3) Switch fabric
45 Virtual output queuing [Image: N. McKeown]
46 Today Inside internet routers Longest- prefix lookup The Luleå algorithm Router architecture Crossbar scheduling and the islip algorithm Cisco Gigabit Switch Router 86
47 Crossbar scheduling algorithm: goals. High throughput Low queue occupancy in VOQs Sustain 00% of rate R on all n inputs, n outputs. StarvaYon- free Don t allow any one virtual output queue to be unserved indefinitely 3. Speed of execuyon Should not be the performance boeleneck in the router 4. Simplicity of implementayon Will likely be implemented on a special purpose chip
48 islip algorithm: Introduc?on McKeown, 999 Model problem as a biparyte graph Input port = graph node on ler Output port = graph node on right Edge (i, j) indicates packets in VOQ Q(i, j) at input port i Scheduling = a biparyte matching (no two edges connected to the same node) Inputs Request graph Outputs Inputs Bipar?te matching Outputs
49 islip: High- level overview For simplicity, we will look at single- iterayon islip One iterayon per packet Each itera?on consists of three phases:. Request phase: all inputs send requests to outputs. Grant phase: all outputs grant requests to some input 3. Accept phase: input chooses an output s grant to accept
50 islip: Accept and grant counters Each input port i has a round- robin accept counter a i Each output port j has a round- robin grant counter g j Round robin counter:,, 3,, n,,, Inputs Outputs 4 3 a a a g g g 3 a g 4
51 islip: One itera?on in detail. Request phase Input sends a request to all backlogged outputs. Grant phase Output j grants the next request grant pointer g j points to 3. Accept phase Input i accepts the next grant its accept pointer a i points to For all inputs k that have accepted, increment then a k g ak Inputs Outputs 4 3 a a a g g g 3 a g 4
52 islip example a a g g Two inputs, two outputs Input always has traffic for outputs and Input always has traffic for outputs and All accept and grant counters iniyalized to
53 islip example: Packet?me Request phase a a g g Grant phase a a g g Accept phase a a g g
54 islip example: Packet?me Request phase a a g g Grant phase a a g g Accept phase a a g g
55 islip example: Packet?me 3 Request phase a a g g Grant phase a a g g Accept phase a a g g
56 Implemen?ng islip Request vector: Grant arbiters Accept arbiters Decision vector: r = r = r = r = Request phase Grant phase Accept phase
57 Implemen?ng islip: General circuit
58 Implemen?ng islip: Inside an arbiter Highest priority Incrementer
59 Internetworking II: Virtual Networks and Traffic Engineering The Domain Name System Pre- Reading: P & D, SecYons 4.3 and 9..3; S & K DNS Case Study NEXT TIME
Computer Networks CS 552
Computer Networks CS 552 Routers Badri Nath Rutgers University badri@cs.rutgers.edu. High Speed Routers 2. Route lookups Cisco 26: 8 Gbps Cisco 246: 32 Gbps Cisco 286: 28 Gbps Power: 4.2 KW Cost: $5K Juniper
More informationGrowth of the Internet Network capacity: A scarce resource Good Service
IP Route Lookups 1 Introduction Growth of the Internet Network capacity: A scarce resource Good Service Large-bandwidth links -> Readily handled (Fiber optic links) High router data throughput -> Readily
More informationIntroduction. Introduction. Router Architectures. Introduction. Recent advances in routing architecture including
Router Architectures By the end of this lecture, you should be able to. Explain the different generations of router architectures Describe the route lookup process Explain the operation of PATRICIA algorithm
More informationRouters: Forwarding EECS 122: Lecture 13
Input Port Functions Routers: Forwarding EECS 22: Lecture 3 epartment of Electrical Engineering and Computer Sciences University of California Berkeley Physical layer: bit-level reception ata link layer:
More informationRouters: Forwarding EECS 122: Lecture 13
Routers: Forwarding EECS 122: Lecture 13 epartment of Electrical Engineering and Computer Sciences University of California Berkeley Router Architecture Overview Two key router functions: run routing algorithms/protocol
More informationRouter Construction. Workstation-Based. Switching Hardware Design Goals throughput (depends on traffic model) scalability (a function of n) Outline
Router Construction Outline Switched Fabrics IP Routers Tag Switching Spring 2002 CS 461 1 Workstation-Based Aggregate bandwidth 1/2 of the I/O bus bandwidth capacity shared among all hosts connected to
More informationCS 268: Route Lookup and Packet Classification
Overview CS 268: Route Lookup and Packet Classification Packet Lookup Packet Classification Ion Stoica March 3, 24 istoica@cs.berkeley.edu 2 Lookup Problem Identify the output interface to forward an incoming
More informationLecture 16: Router Design
Lecture 16: Router Design CSE 123: Computer Networks Alex C. Snoeren Eample courtesy Mike Freedman Lecture 16 Overview End-to-end lookup and forwarding example Router internals Buffering Scheduling 2 Example:
More informationThe Network Layer and Routers
The Network Layer and Routers Daniel Zappala CS 460 Computer Networking Brigham Young University 2/18 Network Layer deliver packets from sending host to receiving host must be on every host, router in
More informationIntroduction. Router Architectures. Introduction. Introduction. Recent advances in routing architecture including
Introduction Router Architectures Recent advances in routing architecture including specialized hardware switching fabrics efficient and faster lookup algorithms have created routers that are capable of
More informationEECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture
EECS : Introduction to Computer Networks Switch and Router Architectures Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley,
More informationTOC: Switching & Forwarding
TOC: Switching & Forwarding Why? Switching Techniques Switch Characteristics Switch Examples Switch Architectures Summary TOC Switching Why? Direct vs. Switched Networks: n links Single link Direct Network
More informationLast Lecture: Network Layer
Last Lecture: Network Layer 1. Design goals and issues 2. Basic Routing Algorithms & Protocols 3. Addressing, Fragmentation and reassembly 4. Internet Routing Protocols and Inter-networking 5. Router design
More informationChapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview
Chapter 4: chapter goals: understand principles behind services service models forwarding versus routing how a router works generalized forwarding instantiation, implementation in the Internet 4- Network
More informationRouter Architectures
Router Architectures Venkat Padmanabhan Microsoft Research 13 April 2001 Venkat Padmanabhan 1 Outline Router architecture overview 50 Gbps multi-gigabit router (Partridge et al.) Technology trends Venkat
More informationLS Example 5 3 C 5 A 1 D
Lecture 10 LS Example 5 2 B 3 C 5 1 A 1 D 2 3 1 1 E 2 F G Itrn M B Path C Path D Path E Path F Path G Path 1 {A} 2 A-B 5 A-C 1 A-D Inf. Inf. 1 A-G 2 {A,D} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 3 {A,D,G}
More informationTOC: Switching & Forwarding
TOC: Switching & Forwarding Why? Switching Techniques Switch Characteristics Switch Examples Switch Architectures Summary Why? Direct vs. Switched Networks: Single link Switches Direct Network Limitations:
More informationCSE 123A Computer Networks
CSE 123A Computer Networks Winter 2005 Lecture 8: IP Router Design Many portions courtesy Nick McKeown Overview Router basics Interconnection architecture Input Queuing Output Queuing Virtual output Queuing
More informationThe IP Data Plane: Packets and Routers
The IP Data Plane: Packets and Routers EE 122, Fall 2013 Sylvia Ratnasamy http://inst.eecs.berkeley.edu/~ee122/ Material thanks to Ion Stoica, Scott Shenker, Jennifer Rexford, Nick McKeown, and many other
More informationNetwork Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4
CSCD 330 Network Superhighway Network Programming Winter 2015 Lecture 13 Network Layer Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-2007
More informationChapter 4 Network Layer: The Data Plane
Chapter 4 Network Layer: The Data Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see
More informationMessage Switch. Processor(s) 0* 1 100* 6 1* 2 Forwarding Table
Recent Results in Best Matching Prex George Varghese October 16, 2001 Router Model InputLink i 100100 B2 Message Switch B3 OutputLink 6 100100 Processor(s) B1 Prefix Output Link 0* 1 100* 6 1* 2 Forwarding
More informationRouting, Routers, Switching Fabrics
Routing, Routers, Switching Fabrics Outline Link state routing Link weights Router Design / Switching Fabrics CS 640 1 Link State Routing Summary One of the oldest algorithm for routing Finds SP by developing
More informationPacket Switch Architectures Part 2
Packet Switch Architectures Part Adopted from: Sigcomm 99 Tutorial, by Nick McKeown and Balaji Prabhakar, Stanford University Slides used with permission from authors. 999-000. All rights reserved by authors.
More information15-744: Computer Networking. Routers
15-744: Computer Networking outers Forwarding and outers Forwarding IP lookup High-speed router architecture eadings [McK97] A Fast Switched Backplane for a Gigabit Switched outer Optional [D+97] Small
More informationTopic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach
Topic 4a Router Operation and Scheduling Ch4: Network Layer: The Data Plane Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross Pearson/Addison Wesley April 2016 4-1 Chapter 4:
More informationLecture 3. The Network Layer (cont d) Network Layer 1-1
Lecture 3 The Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router? Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets
More informationGeneric Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture
Generic Architecture EECS : Introduction to Computer Networks Switch and Router Architectures Computer Science Division Department of Electrical Engineering and Computer Sciences University of California,
More informationIV. PACKET SWITCH ARCHITECTURES
IV. PACKET SWITCH ARCHITECTURES (a) General Concept - as packet arrives at switch, destination (and possibly source) field in packet header is used as index into routing tables specifying next switch in
More information1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24
EE 586 Communication and Switching Networks (Fall 2010) Lecture 24 October 25, 2010 1-1 Announcements Midterm 1: Mean = 92.2 Stdev = 8 Still grading your programs (sorry about the delay) Network Layer
More informationCSC 401 Data and Computer Communications Networks
CSC 401 Data and Computer Communications Networks Network Layer Overview, Router Design, IP Sec 4.1. 4.2 and 4.3 Prof. Lina Battestilli Fall 2017 Chapter 4: Network Layer, Data Plane chapter goals: understand
More informationCSCD 330 Network Programming
CSCD 330 Network Programming Network Superhighway Spring 2018 Lecture 13 Network Layer Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-2007
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11
CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11 1 Midterm exam Midterm this Thursday Close book but one-side 8.5"x11" note is allowed (must
More informationNetwork Layer: Control/data plane, addressing, routers
Network Layer: Control/data plane, addressing, routers CS 352, Lecture 10 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana (heavily adapted from slides by Prof. Badri Nath and the textbook authors)
More informationForwarding and Routers : Computer Networking. Original IP Route Lookup. Outline
Forwarding and Routers 15-744: Computer Networking L-9 Router Algorithms IP lookup Longest prefix matching Classification Flow monitoring Readings [EVF3] Bitmap Algorithms for Active Flows on High Speed
More informationCell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets
Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection setup) Protocol: Q2931 Specified by ATM forum Packets are called cells 5-byte header
More informationNetwork Layer: Router Architecture, IP Addressing
Network Layer: Router Architecture, IP Addressing UG3 Computer Communications & Networks (COMN) Mahesh Marina mahesh@ed.ac.uk Slides thanks to Myungjin Lee and copyright of Kurose and Ross Router Architecture
More informationCSC 4900 Computer Networks: Network Layer
CSC 4900 Computer Networks: Network Layer Professor Henry Carter Fall 2017 Villanova University Department of Computing Sciences Review What is AIMD? When do we use it? What is the steady state profile
More informationCS 552 Computer Networks
CS 55 Computer Networks IP forwarding Fall 00 Rich Martin (Slides from D. Culler and N. McKeown) Position Paper Goals: Practice writing to convince others Research an interesting topic related to networking.
More informationCS419: Computer Networks. Lecture 6: March 7, 2005 Fast Address Lookup:
: Computer Networks Lecture 6: March 7, 2005 Fast Address Lookup: Forwarding/Routing Revisited Best-match Longest-prefix forwarding table lookup We looked at the semantics of bestmatch longest-prefix address
More informationNetwork Layer PREPARED BY AHMED ABDEL-RAOUF
Network Layer PREPARED BY AHMED ABDEL-RAOUF Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport
More informationSwitching Hardware. Spring 2015 CS 438 Staff, University of Illinois 1
Switching Hardware Spring 205 CS 438 Staff, University of Illinois Where are we? Understand Different ways to move through a network (forwarding) Read signs at each switch (datagram) Follow a known path
More informationRouters Technologies & Evolution for High-Speed Networks
Routers Technologies & Evolution for High-Speed Networks C. Pham Université de Pau et des Pays de l Adour http://www.univ-pau.fr/~cpham Congduc.Pham@univ-pau.fr Router Evolution slides from Nick McKeown,
More informationLecture 17: Router Design
Lecture 17: Router Design CSE 123: Computer Networks Alex C. Snoeren Eample courtesy Mike Freedman Lecture 17 Overview Finish up BGP relationships Router internals Buffering Scheduling 2 Peer-to-Peer Relationship
More informationDESIGN OF EFFICIENT ROUTING ALGORITHM FOR CONGESTION CONTROL IN NOC
DESIGN OF EFFICIENT ROUTING ALGORITHM FOR CONGESTION CONTROL IN NOC 1 Pawar Ruchira Pradeep M. E, E&TC Signal Processing, Dr. D Y Patil School of engineering, Ambi, Pune Email: 1 ruchira4391@gmail.com
More informationMulti-gigabit Switching and Routing
Multi-gigabit Switching and Routing Gignet 97 Europe: June 12, 1997. Nick McKeown Assistant Professor of Electrical Engineering and Computer Science nickm@ee.stanford.edu http://ee.stanford.edu/~nickm
More informationCSCE 463/612 Networks and Distributed Processing Spring 2018
CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer II Dmitri Loguinov Texas A&M University April 3, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter 4:
More informationRouters. Session 12 INST 346 Technologies, Infrastructure and Architecture
Routers Session 12 INST 346 Technologies, Infrastructure and Architecture Goals for Today Finish up TCP Flow control, timeout selection, close connection Network layer overview Structure of a router Getahead:
More informationECE697AA Lecture 20. Forwarding Tables
ECE697AA Lecture 20 Routers: Prefix Lookup Algorithms Tilman Wolf Department of Electrical and Computer Engineering 11/14/08 Forwarding Tables Routing protocols involve a lot of information Path choices,
More informationChapter 4 Network Layer: The Data Plane
Chapter 4 Network Layer: The Data Plane Chapter 4: outline 4.1 Overview of Network layer data plane control plane 4.2 What s inside a router 4.3 IP: Internet Protocol datagram format fragmentation IPv4
More informationTopics for Today. Network Layer. Readings. Introduction Addressing Address Resolution. Sections 5.1,
Topics for Today Network Layer Introduction Addressing Address Resolution Readings Sections 5.1, 5.6.1-5.6.2 1 Network Layer: Introduction A network-wide concern! Transport layer Between two end hosts
More informationRouter Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13
Router Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13 Department of Electrical Engineering and Computer Sciences University of California Berkeley Review: Switch Architectures Input Queued
More informationNetwork Layer: outline
Network Layer: outline 1 introduction 2 virtual circuit and datagram networks 3 what s inside a router 4 IP: Internet Protocol datagram format IPv4 addressing ICMP IPv6 5 routing algorithms link state
More informationCS 268: Computer Networking
CS 268: Computer Networking L-8 outers Forwarding and outers Forwarding IP lookup High-speed router architecture eadings [McK97] A Fast Switched Backplane for a Gigabit Switched outer [KCY03] Scaling ternet
More informationSwitch and Router Design. Packet Processing Examples. Packet Processing Examples. Packet Processing Rate 12/14/2011
// Bottlenecks Memory, memory, 88 - Switch and Router Design Dr. David Hay Ross 8b dhay@cs.huji.ac.il Source: Nick Mckeown, Isaac Keslassy Packet Processing Examples Address Lookup (IP/Ethernet) Where
More informationCisco Series Internet Router Architecture: Packet Switching
Cisco 12000 Series Internet Router Architecture: Packet Switching Document ID: 47320 Contents Introduction Prerequisites Requirements Components Used Conventions Background Information Packet Switching:
More informationChapter 4: network layer
Chapter 4: network layer chapter goals: understand principles behind network layer services: network layer service models forwarding versus routing how a router works routing (path selection) broadcast,
More informationLecture 16: Network Layer Overview, Internet Protocol
Lecture 16: Network Layer Overview, Internet Protocol COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016,
More informationUnderstanding Cisco Express Forwarding
Understanding Cisco Express Forwarding Document ID: 47321 Contents Introduction Prerequisites Requirements Components Used Conventions Overview CEF Operations Updating the GRP's Routing Tables Packet Forwarding
More informationPARALLEL ALGORITHMS FOR IP SWITCHERS/ROUTERS
THE UNIVERSITY OF NAIROBI DEPARTMENT OF ELECTRICAL AND INFORMATION ENGINEERING FINAL YEAR PROJECT. PROJECT NO. 60 PARALLEL ALGORITHMS FOR IP SWITCHERS/ROUTERS OMARI JAPHETH N. F17/2157/2004 SUPERVISOR:
More informationMaster Course Computer Networks IN2097
Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master
More informationMaster Course Computer Networks IN2097
Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Chair for
More informationECE 158A: Lecture 7. Fall 2015
ECE 158A: Lecture 7 Fall 2015 Outline We have discussed IP shortest path routing Now we have a closer look at the IP addressing mechanism We are still at the networking layer, we will examine: IP Headers
More informationProblem Statement. Algorithm MinDPQ (contd.) Algorithm MinDPQ. Summary of Algorithm MinDPQ. Algorithm MinDPQ: Experimental Results.
Algorithms for Routing Lookups and Packet Classification October 3, 2000 High Level Outline Part I. Routing Lookups - Two lookup algorithms Part II. Packet Classification - One classification algorithm
More informationSwitching. An Engineering Approach to Computer Networking
Switching An Engineering Approach to Computer Networking What is it all about? How do we move traffic from one part of the network to another? Connect end-systems to switches, and switches to each other
More informationTOC: Switching & Forwarding
Walrand Lecture TO: Switching & Forwarding Lecture Switching & Forwarding EES University of alifornia Berkeley Why? Switching Techniques Switch haracteristics Switch Examples Switch rchitectures Summary
More informationLecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen
Lecture 4 - Network Layer Networks and Security Jacob Aae Mikkelsen IMADA September 23, 2013 September 23, 2013 1 / 67 Transport Layer Goals understand principles behind network layer services: network
More informationNovel Hardware Architecture for Fast Address Lookups
Novel Hardware Architecture for Fast Address Lookups Pronita Mehrotra Paul D. Franzon Department of Electrical and Computer Engineering North Carolina State University {pmehrot,paulf}@eos.ncsu.edu This
More informationHWP2 Application level query routing HWP1 Each peer knows about every other beacon B1 B3
HWP2 Application level query routing HWP1 Each peer knows about every other beacon B2 B1 B3 B4 B5 B6 11-Feb-02 Computer Networks 1 HWP2 Query routing searchget(searchkey, hopcount) Rget(host, port, key)
More informationLecture 5: Router Architecture. CS 598: Advanced Internetworking Matthew Caesar February 8, 2011
Lecture 5: Router Architecture CS 598: Advanced Internetworking Matthew Caesar February 8, 2011 1 IP Router... A router consists A set of input interfaces at which packets arrive A se of output interfaces
More informationECE 697J Advanced Topics in Computer Networks
ECE 697J Advanced Topics in Computer Networks Switching Fabrics 10/02/03 Tilman Wolf 1 Router Data Path Last class: Single CPU is not fast enough for processing packets Multiple advanced processors in
More informationProfessor Yashar Ganjali Department of Computer Science University of Toronto.
Professor Yashar Ganjali Department of Computer Science University of Toronto yganjali@cs.toronto.edu http://www.cs.toronto.edu/~yganjali Today Outline What this course is about Logistics Course structure,
More informationDesigning of Efficient islip Arbiter using islip Scheduling Algorithm for NoC
International Journal of Scientific and Research Publications, Volume 3, Issue 12, December 2013 1 Designing of Efficient islip Arbiter using islip Scheduling Algorithm for NoC Deepali Mahobiya Department
More informationRouter Architecture Overview
Chapter 4: r Introduction (forwarding and routing) r Review of queueing theory r Router design and operation r IP: Internet Protocol m IPv4 (datagram format, addressing, ICMP, NAT) m Ipv6 r Generalized
More informationChapter 6. Delivery and Forwarding of IP Packets
Chapter 6 Delivery and Forwarding of IP Packets TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. OBJECTIVES: To discuss the delivery of
More informationNetwork Layer. IP Protocol Stack: Key AbstracHons. Best- Effort Global Packet Delivery. Circuit Switching (e.g., Phone Network)
IP Protocol Stack Key AbstracHons Network Layer Mike Freedman COS 461 Computer Networks Application Transport Network Link Applications Reliable streams Messages Best-effort global packet delivery Best-effort
More informationQuality of Service (QoS)
Quality of Service (QoS) The Internet was originally designed for best-effort service without guarantee of predictable performance. Best-effort service is often sufficient for a traffic that is not sensitive
More informationTutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.
Tutorial 9 1 Router Architecture Consider a router with a switch fabric, 2 input ports (A and B) and 2 output ports (C and D). Suppose the switch fabric operates at 1.5 times the line speed. a. If, for
More informationLink State Rou.ng Reading: Sec.ons 4.2 and 4.3.4
Link State Rou.ng Reading: Sec.ons. and.. COS 6: Computer Networks Spring 009 (MW :0 :50 in COS 05) Michael Freedman Teaching Assistants: WyaN Lloyd and Jeff Terrace hnp://www.cs.princeton.edu/courses/archive/spring09/cos6/
More informationCOMP211 Chapter 4 Network Layer: The Data Plane
COMP211 Chapter 4 Network Layer: The Data Plane All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross
More informationAdvanced Core Router Architectures A Hardware Perspective
Advanced Core Router Architectures A Hardware Perspective Muzammil Iqbal Department of Electrical and Computer Engineering University of Delaware, DE 976. Abstract In the environment of high performance
More informationLecture 17: Router Design
Lecture 17: Router Design CSE 123: Computer Networks Alex C. Snoeren HW 3 due WEDNESDAY Eample courtesy Mike Freedman Lecture 17 Overview BGP relationships Router internals Buffering Scheduling 2 Business
More informationNetFPGA Hardware Architecture
NetFPGA Hardware Architecture Jeffrey Shafer Some slides adapted from Stanford NetFPGA tutorials NetFPGA http://netfpga.org 2 NetFPGA Components Virtex-II Pro 5 FPGA 53,136 logic cells 4,176 Kbit block
More informationELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition
ELEC / COMP 177 Fall 2016 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Presentation 2 Security/Privacy Presentations Nov 3 rd, Nov 10 th, Nov 15 th Upload slides to Canvas by midnight
More informationHomework 1 Solutions:
Homework 1 Solutions: If we expand the square in the statistic, we get three terms that have to be summed for each i: (ExpectedFrequency[i]), (2ObservedFrequency[i]) and (ObservedFrequency[i])2 / Expected
More informationLecture 8. Network Layer (cont d) Network Layer 1-1
Lecture 8 Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets Network
More informationChapter 4 Network Layer: The Data Plane
Chapter 4 Network Layer: The Data Plane Lu Su Assistant Professor Department of Computer Science and Engineering State University of New York at Buffalo Adapted from the slides of the book s authors Computer
More informationInternetwork Protocols
Internetwork Protocols Background to IP IP, and related protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection of communications
More informationCSE 3214: Computer Network Protocols and Applications Network Layer
CSE 314: Computer Network Protocols and Applications Network Layer Dr. Peter Lian, Professor Department of Computer Science and Engineering York University Email: peterlian@cse.yorku.ca Office: 101C Lassonde
More informationComputer Networks. Instructor: Niklas Carlsson
Computer Networks Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se Notes derived from Computer Networking: A Top Down Approach, by Jim Kurose and Keith Ross, Addison-Wesley. The slides are adapted
More informationNetwork Layer: Data Plane 4-2
Network Layer: Data Plane EECS3214 18-02-25 4-1 Chapter 4: outline 4.1 Overview of Network layer data plane control plane 4.2 What s inside a router 4.3 IP: Internet Protocol datagram format fragmentation
More informationcs144 Midterm Review Fall 2010
cs144 Midterm Review Fall 2010 Administrivia Lab 3 in flight. Due: Thursday, Oct 28 Midterm is this Thursday, Oct 21 (during class) Remember Grading Policy: - Exam grade = max (final, (final + midterm)/2)
More informationIntroduction to Internetworking
Introduction to Internetworking Introductory terms Communications Network Facility that provides data transfer services An internet Collection of communications networks interconnected by bridges and/or
More informationPacket Switching. Guevara Noubir Fundamentals of Computer Networks. Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann
Guevara Noubir Textbook: Chapter 3. Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Outline Store- and- Forward Switches Cell Switching Segmenta?on and Reassembly Bridges
More informationThe iflow Address Processor Forwarding Table Lookups using Fast, Wide Embedded DRAM
Enabling the Future of the Internet The iflow Address Processor Forwarding Table Lookups using Fast, Wide Embedded DRAM Mike O Connor - Director, Advanced Architecture www.siliconaccess.com Hot Chips 12
More informationMidterm Review. Congestion Mgt, CIDR addresses,tcp processing, TCP close. Routing. hierarchical networks. Routing with OSPF, IS-IS, BGP-4
Midterm Review Week 1 Congestion Mgt, CIDR addresses,tcp processing, TCP close Week 2 Routing. hierarchical networks Week 3 Routing with OSPF, IS-IS, BGP-4 Week 4 IBGP, Prefix lookup, Tries, Non-stop routers,
More informationA Fast Switched Backplane for a Gigabit Switched Router
The original version of this paper appears in Business Communication Review. WHITE PAPER: A Fast Switched Backplane for a Gigabit Switched Router by Nick McKeown (tel: 650/725-3641; fax: 650/725-6949;
More informationNETWORK LAYER DATA PLANE
NETWORK LAYER DATA PLANE 1 GOALS Understand principles behind network layer services, focusing on the data plane: Network layer service models Forwarding versus routing How a router works Generalized forwarding
More informationUsers Guide: Fast IP Lookup (FIPL) in the FPX
Users Guide: Fast IP Lookup (FIPL) in the FPX Gigabit Kits Workshop /22 FIPL System Design Each FIPL Engine performs a longest matching prefix lookup on a single 32-bit IPv4 destination address FIPL Engine
More informationComputer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL
Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols Sandhya Dwarkadas Department of Computer Science University of Rochester Assignments Lab 3: IP DUE Friday, October 7 th Assignment
More information