Lecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1

Size: px
Start display at page:

Download "Lecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1"

Transcription

1 Lecture 9 Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1

2 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2 Basic Internetworking (IP) 3.3 Routing 3.4 Implementation and Performance 3.5 Summary Thursday, September 22 CS 475 Networks - Lecture 9 2

3 Routing Forwarding consists of looking at a packets destination, consulting a table and directing the packet to the corresponding interface. Routing is the process by which forwarding tables are built. Forwarding is a simple process that takes place at a single node. Routing depends on complex distributed algorithms. Thursday, September 22 CS 475 Networks - Lecture 9 3

4 Routing We distinguish between the forwarding and routing tables although they may be the same in practice. The forwarding table contains information to forward a packet, while the routing table contains the information to build the forwarding table. Example Routing Table Prefix/Length Next Hop 18/ Example Forwarding Table Prefix/Length Interface MAC Address 18/8 if0 8:0:2b:e4:b:1:2 Thursday, September 22 CS 475 Networks - Lecture 9 4

5 Routing A routing domain is an internetwork under the same administrative control, e.g. an ISP or university (a network of networks). Today we will be discussing intradomain routing protocols or interior gateway protocols (IGPs). The algorithms do not scale for use in larger networks. Next chapter we will discuss interdomain routing protocols that can be used on larger networks (i.e., the Internet). Thursday, September 22 CS 475 Networks - Lecture 9 5

6 Network as a Graph We will represent a network as a graph. The nodes represent routers and the edges are links between routers. A cost may be associated with each link. The routing problem is to find the lowest cost path between any two nodes in the graph. Thursday, September 22 CS 475 Networks - Lecture 9 6

7 Network as a Graph For small networks routing tables could be constructed manually. Statically constructed routing tables must be re-built anytime the network changes (node or link failure, addition of nodes or links, cost changes). For these reasons routing tables are usually constructed by running routing protocols among the nodes. The protocols provide a distributed, dynamic means for construction of the routing tables. Thursday, September 22 CS 475 Networks - Lecture 9 7

8 Distance-Vector (RIP) The distance vector (DV) algorithm constructs an array (vector) containing the distances (costs) to all other nodes in the network. The vector is then distributed to its immediate neighbors. Initially each node is assumed to know only the cost to its directly connected neighbors. A link that is down is assumed to have an infinite cost. Thursday, September 22 CS 475 Networks - Lecture 9 8

9 Distance-Vector (RIP) Example network with cost of 1 along each link (since all costs are equal they are not shown). Initial Table at A Dest Cost Next Hop B 1 B C 1 C D - E 1 E F 1 F G - Final Table at A Dest Cost Next Hop B 1 B C 1 C D 2 C E 1 E F 1 F G 2 F Thursday, September 22 CS 475 Networks - Lecture 9 9

10 Distance-Vector (RIP) STOP HERE SPOILER ALERT Initial Table at C Dest Cost Next Hop A B D E F G Final Table at C Dest Cost Next Hop A B D E F G Thursday, September 22 CS 475 Networks - Lecture 9 10

11 Distance-Vector (RIP) Initial Table at C Dest Cost Next Hop A 1 A B 1 B D 1 D E - F - G - Final Table at C Dest Cost Next Hop A 1 A B 1 B D 1 D E 2 A F 2 A G 2 D Thursday, September 22 CS 475 Networks - Lecture 9 11

12 Distance-Vector (RIP) The table below shows a global view of the initial distances to each node. Distance to Reach Node Node A B C D E F G A B C D E 1 0 F G Thursday, September 22 CS 475 Networks - Lecture 9 12

13 Distance-Vector (RIP) The table below shows a global view of the final distances to each node. Distance to Reach Node Node A B C D E F G A B C D E F G Thursday, September 22 CS 475 Networks - Lecture 9 13

14 Distance-Vector (RIP) The nodes send their distance vectors to their directly connected neighbors allowing the neighbors to update their vectors. Initially A believes that it has no path to D. C has a path of cost 1 to D and A and C are directly connected. After A receives C's vector, A determines that it can reach D through C at a cost of 2 and updates its table. (A can reach B through C at a cost of 2, but this is greater than the current cost of 1, so A does not change the corresponding entry.) Thursday, September 22 CS 475 Networks - Lecture 9 14

15 Distance-Vector (RIP) Updates are sent out periodically. They may also be triggered due to a change in a routing table caused by an update from a neighbor. The routing tables converge fairly rapidly (both initially and also due to any changes). Thursday, September 22 CS 475 Networks - Lecture 9 15

16 Distance-Vector (RIP) The count to infinity problem can occur if a link goes down. Assume link A-to-E goes down. A advertises a distance of infinity, but C might still advertise a distance of two (through A). B advertises a distance of three through C. A advertises a distance of four through B. C updates to advertise a distance of five through A and so on. The cycle stops only when the distances reach infinity. During this time, all nodes think a path to E still exists. Thursday, September 22 CS 475 Networks - Lecture 9 16

17 Distance-Vector (RIP) The count to infinity problem can be bounded by using a small value to represent infinity (say 16 hops). Alternatively, in the split horizon method, a node does not send those routes it learned from a neighbor back to that neighbor. In the split horizon with poisoned reverse a node sends back a distance of infinity to those neighbors from which it learned a route. Thursday, September 22 CS 475 Networks - Lecture 9 17

18 Distance-Vector (RIP) The Routing Information Protocol (RIP) is a very widely used routing protocol on IP networks. RIP is based on the DV algorithm. Distances to networks instead of distances to routers are advertised in RIP. RIPv2 packet format. RIP was designed to support other protocols in addition to IP Thursday, September 22 CS 475 Networks - Lecture 9 18

19 Link State (OSPF) In DV, routers advertise the cost-to-each-router in the network to their immediate neighbors. In a link state (LS) algorithm, routers advertise the cost-to-their-immediate-neighbors to each router in the network. In LS each node floods the network with a linkstate packet (LSP) that contains: the ID of the node that created the LSP a list of directly connected nodes with costs a sequence number for the packet a time-to-live for the packet Thursday, September 22 CS 475 Networks - Lecture 9 19

20 Link State (OSPF) When a node X receives an LSP from node Y with a larger sequence number than the one X has in memory it stores the new LSP. If it is an older LSP (smaller seq. num. it discards it) X sends a new LSP out to all neighbors except the one from which it received the LSP. Each neighbor does the same, flooding the network with the new LSP. Each node will eventually have LSPs from all other nodes stored in memory. Thursday, September 22 CS 475 Networks - Lecture 9 20

21 Link State (OSPF) Routing tables at each node are computed using the forward search implementation of Dijkstra's algorithm: Each switch maintains Tentative and Confirmed lists. The lists contain entries of the form (Destination, Cost, NextHop). 1. The Confirmed list is initialized with an entry to this switch with a cost of The node just added to Confirmed is called Next. Select its LSP. Thursday, September 22 CS 475 Networks - Lecture 9 21

22 Link State (OSPF) 3. For each neighbor (Neighbor) of Next, calculate the cost (Cost) to each Neighbor through Next. a) If Neighbor is not in either list, add (Neighbor, Cost, NextHop) to Tentative. b) If Neighbor is in Tentative but the Cost through Next is less, update entry. 4. If Tentative is empty, stop. Otherwise pick entry from Tentative with lowest cost, move it to the Confirmed list and return to step 2. Thursday, September 22 CS 475 Networks - Lecture 9 22

23 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP Example network used to illustrate LS algorithm Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 23

24 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 D's LSP contains routes to B and C that are smaller in costs than any existing routes 4 Example network used to illustrate LS algorithm Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 24

25 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 (D,0,-) (C,2,C) 4 (B,11,B) D's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at C's LSP Example network used to illustrate LS algorithm Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 25

26 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 (D,0,-) (C,2,C) 4 (D,0,-) (C,2,C) (B,11,B) (B,5,C) (A,12,C) D's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at C's LSP C has lower cost route to B, replace existing route in Tentative. Add A route. Example network used to illustrate LS algorithm. Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 26

27 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 (D,0,-) (C,2,C) 4 (D,0,-) (C,2,C) 5 (D,0,-) (C,2,C) (B,5,C) 6 7 (B,11,B) (B,5,C) (A,12,C) (A,12,C) D's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at C's LSP C has lower cost route to B, replace existing route in Tentative. Add A route. Move lowest cost member of Tentative to Confirmed. Look at B's LSP Example network used to illustrate LS algorithm. Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 27

28 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 (D,0,-) (C,2,C) 4 (D,0,-) (C,2,C) 5 (D,0,-) (C,2,C) (B,5,C) 6 (D,0,-) (C,2,C) (B,5,C) 7 (B,11,B) (B,5,C) (A,12,C) (A,12,C) (A,10,C) D's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at C's LSP C has lower cost route to B, replace existing route in Tentative. Add A route. Move lowest cost member of Tentative to Confirmed. Look at B's LSP There is a lower cost path to A through B Example network used to illustrate LS algorithm. Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 28

29 Link State (OSPF) Step Conf. Tent. Comments 1 (D,0,-) Look at D's LSP 2 (D,0,-) (B,11,B) (C,2,C) 3 (D,0,-) (C,2,C) 4 (D,0,-) (C,2,C) 5 (D,0,-) (C,2,C) (B,5,C) 6 (D,0,-) (C,2,C) (B,5,C) 7 (D,0,-) (C,2,C) (B,5,C) (A,10,C) (B,11,B) (B,5,C) (A,12,C) (A,12,C) (A,10,C) D's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at C's LSP C has lower cost route to B, replace existing route in Tentative. Add A route. Move lowest cost member of Tentative to Confirmed. Look at B's LSP There is a lower cost path to A through B Move lowest cost member of Tentative to Confirmed. We are done. Example network used to illustrate LS algorithm. Steps at left illustrate construction of routing table for node D. Thursday, September 22 CS 475 Networks - Lecture 9 29

30 Link State (OSPF) Step Conf. Tent. Comments Example network used to illustrate LS algorithm Steps at left illustrate construction of routing table for node A. STOP HERE SPOILER ALERT Thursday, September 22 CS 475 Networks - Lecture 9 30

31 Link State (OSPF) Step Conf. Tent. Comments 1 (A,0,-) Look at A's LSP 2 (A,0,-) (B,5,B) (C,10,C) 3 (A,0,-) (B,5,B) 4 (A,0,-) (B,5,B) 5 (A,0,-) (B,5,B) (C,8,B) 6 (A,0,-) (B,5,B) (C,8,B) 7 (A,0,-) (B,5,B) (C,8,B) (D,10,B) (C,10,C) (C,8,B) (D,16,B) (D,16,B) (D,10,B) A's LSP contains routes to B and C that are smaller in costs than any existing routes Move lowest cost member of Tentative to Confirmed. Look at B's LSP B has lower cost route to C, replace existing route in Tentative. Add D route. Move lowest cost member of Tentative to Confirmed. Look at C's LSP There is a lower cost path to D through C Move lowest cost member of Tentative to Confirmed. We are done. Example network used to illustrate LS algorithm. Steps at left illustrate construction of routing table for node A. Thursday, September 22 CS 475 Networks - Lecture 9 31

32 Link State (OSPF) Node A B Routing Table (A,0,-) (B,5,B) (C,8,B) (D,10,B) (A,5,A) (B,0,-) (C,3,C) (D,5,C) C (A,8,B) (B,3,B) (C,0,-) (D,2,D) D (A,10,C) (B,5,C) (C,2,C) (D,0,-) Example network used to illustrate LS algorithm. Routing tables at each node after convergence of LS algorithm. Thursday, September 22 CS 475 Networks - Lecture 9 32

33 Link State (OSPF) The Open Shortest Path First (OSPF) protocol is one of the most popular LS protocols. Open refers to the fact that it is an open standard. SPF is another name for link state. OSPF allows for authentication of routing messages, partitioning of a domain, and load balancing along equal cost paths. Details of the OSPF packet format can be found in the text. Thursday, September 22 CS 475 Networks - Lecture 9 33

34 Metrics Many of the methods used to determine link-costs (metrics) were developed on ARPANET. The original ARPANET used the number of packets waiting to be transmitted on a link as the link cost. This method did not take either BW or latency into account. A second ARPANET algorithm used the packet delay (from time of arrival to delivery at the next hop) as the metric. This worked under light load, but exhibited several problems under heavy load. Thursday, September 22 CS 475 Networks - Lecture 9 34

35 Metrics A third method used a metric based on a non-linear mapping from load to costs. Different links used different mappings. In practice today, most costs are statically assigned. A common setting is cost=constant/bw. Thursday, September 22 CS 475 Networks - Lecture 9 35

36 Implementation & Performance It is possible to use an ordinary PC (with additional Network Interface Cards (NICs)) as a switch as shown below: Thursday, September 22 CS 475 Networks - Lecture 9 36

37 Implementation & Performance Performance of a PC based switch is limited since all packets pass through a single point of contention. Aggregate throughput (the total sustainable data rate summed over all inputs) is half the main memory BW or half the I/O bus BW. A PC with a 133 MHz 64-bit I/O bus can transmit at a peak rate of 8 Gbps giving an aggregate throughput of 4 Gbps. Fast enough for several 100 Mbps Ethernet ports but not fast enough for a high-end router. Thursday, September 22 CS 475 Networks - Lecture 9 37

38 Ports Many modern switches are based on architectures similar to that shown below. Each port typically contains logic and memory. Thursday, September 22 CS 475 Networks - Lecture 9 38

39 Ports Each input port typically contains a VC mapping table (VC switches) or a forwarding table (packet switches). Ports also provide buffering. Most use either pure output buffering or a mixture of output buffering and internal buffering (buffering in the switching fabric. Simple input only buffers can lead to head-of-line blocking as shown at right. Thursday, September 22 CS 475 Networks - Lecture 9 39

40 Fabrics Switching fabric architectures can be categorized as one of the following four types: shared bus: This is the PC architecture illustrated earlier. A single I/O bus is shared between all input and output ports. shared memory: packets are written to memory by an input port and read directly from memory by an output port (similar to shared bus but uses a high speed memory bus instead of an I/O bus) Thursday, September 22 CS 475 Networks - Lecture 9 40

41 Fabrics crossbar: This is a matrix of pathways that can connect any input port to any output port. In the simplest design each output has to be able to accept packet from all inputs at once. A 4 x 4 Crossbar Thursday, September 22 CS 475 Networks - Lecture 9 41

42 Fabrics self-routing: Each input port adds a header to each packet to direct it to its correct output Thursday, September 22 CS 475 Networks - Lecture 9 42

43 Fabrics In the banyan fabric at left each 2 x 2 switch directs the packet up if the header bit is 0 and down if it is a 1. The banyan fabric requires that the input packets be sorted (by output port number). Multiple packets can be simultaneously routed through the fabric. Thursday, September 22 CS 475 Networks - Lecture 9 43

44 Router Implementation IP routers are more complicated than switches in several respects. Routers must be able to handle variable length IP packets. The forwarding algorithm is different because the network part of the IP address is not fixed in size. Routers may be implemented using network processors instead of general purpose microprocessors. High-performance routers can handle 40 Gbps per interface. Thursday, September 22 CS 475 Networks - Lecture 9 44

45 In-class Exercises 1) netstat utility 2) Start homework. Thursday, September 22 CS 475 Networks - Lecture 9 45

C13b: Routing Problem and Algorithms

C13b: Routing Problem and Algorithms CISC 7332X T6 C13b: Routing Problem and Algorithms Hui Chen Department of Computer & Information Science CUNY Brooklyn College 11/20/2018 CUNY Brooklyn College 1 Acknowledgements Some pictures used in

More information

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load Dynamic Routing Overview Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph C

More information

Chapter 7 Routing Protocols

Chapter 7 Routing Protocols Chapter 7 Routing Protocols Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals

More information

Intra-domain Routing

Intra-domain Routing Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm CS 640 1 Goal Build router forwarding tables in an internetwork using intra-domain routing protocols High level approach Distributed

More information

CMPE 151 Routing. Marc Mosko

CMPE 151 Routing. Marc Mosko CMPE 151 Routing Marc Mosko Talk Outline Routing basics Why segment networks? IP address/subnet mask The gateway decision based on dest IP address default gateway and static routing gateway discovery (DHCP,

More information

Routing in a network

Routing in a network Routing in a network Focus is small to medium size networks, not yet the Internet Overview Then Distance vector algorithm (RIP) Link state algorithm (OSPF) Talk about routing more generally E.g., cost

More information

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ... 1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol

More information

ITEC310 Computer Networks II

ITEC310 Computer Networks II ITEC310 Computer Networks II Chapter 22 Network Layer:, and Routing Department of Information Technology Eastern Mediterranean University Objectives 2/131 After completing this chapter you should be able

More information

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 12: Dynamic routing protocols: Link State Chapter Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 12: Dynamic routing protocols: Link State Chapter 3.3.3 Xiaowei Yang xwy@cs.duke.edu Today Routing Information Protocol Link-state routing Algorithm

More information

Overview 4.2: Routing

Overview 4.2: Routing Overview 4.2: Routing Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph A 6 1

More information

Routing. Advanced Computer Networks: Routing 1

Routing. Advanced Computer Networks: Routing 1 Routing Advanced Computer Networks: Routing 1 Gateway To internet or wide area network Metropolitan Area Network (MAN) s s Organization Servers Backbone R S R R Departmental Server s R S R s S R s s s

More information

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1 Network Protocols Routing TDC375 Winter 2002 John Kristoff - DePaul University 1 IP routing Performed by routers Table (information base) driven Forwarding decision on a hop-by-hop basis Route determined

More information

Routing, Routers, Switching Fabrics

Routing, 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 information

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791

CS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791 CS 457 Networking and the Internet Fall 2016 Indrajit Ray What is Routing A famous quotation from RFC 791 A name indicates what we seek An address indicates where it is A route indicates how we get there

More information

Routing Protocol comparison

Routing Protocol comparison Routing Protocol comparison Introduction to routing Networks allow people to communicate, collaborate, and interact in many ways. Networks are used to access web pages, talk using IP telephones, participate

More information

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Routing TDC375 Autumn 03/04 John Kristoff - DePaul University 1 IPv4 unicast routing All Internet hosts perform basic routing for local net destinations, forward to local host for non-local

More information

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview Lecture : Link-state Routing CSE 3: Computer Networks Chris Kanich Lecture Overview Routing overview Intra vs. Inter-domain routing Link-state routing protocols CSE 3 Lecture : Link-state Routing Router

More information

COMP/ELEC 429/556 Introduction to Computer Networks

COMP/ELEC 429/556 Introduction to Computer Networks OMP/ELE 49/6 Introduction to omputer Networks Intra-domain routing Some slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at cs.rice.edu

More information

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching CHAPTER 4: ROUTING DYNAMIC Routing & Switching CHAPTER4 4.1 Dynamic Routing Protocols 4.2 Distance Vector Dynamic Routing 4.3 RIP and RIPng Routing 4.4 Link-State Dynamic Routing 4.5 The Routing Table

More information

CompSci 356: Computer Network Architectures. Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 13: Dynamic routing protocols: Link State Chapter 3.3.3, 3.2.9 Xiaowei Yang xwy@cs.duke.edu Today Clarification on RIP Link-state routing Algorithm Protocol:

More information

Routing in Internet. Problem. Given set of nodes, how do routers acquire info about neighbors to construct the routing tables?

Routing in Internet. Problem. Given set of nodes, how do routers acquire info about neighbors to construct the routing tables? Routing in Internet 88lecture4.ppt Pasi Lassila Problem Given set of nodes, how do routers acquire info about neighbors to construct the routing tables? Requirements: distributed algorithms surviving link

More information

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing

Routing. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing Routing Dr. Arjan Durresi Department of Computer Science Louisiana State University Overview Routing vs. Forwarding Routing Algorithms, Distance Vector, Link State Dijkstra s Algorithm ARPAnet Routing

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Network Layer: Routing

Network Layer: Routing Network Layer: Routing The Problem A B R 1 R 2 R 4 R 3 Goal: for each destination, compute next hop 1 Lecture 9 2 Basic Assumptions Trivial solution: Flooding Dynamic environment: links and routers unreliable:

More information

Distance Vector Routing Protocols

Distance Vector Routing Protocols Distance Vector Routing Protocols Routing Protocols and Concepts Chapter 4 Version 4.0 1 Objectives Identify the characteristics of distance vector routing protocols. Describe the network discovery process

More information

CSE 123: Computer Networks

CSE 123: Computer Networks CSE 123: Computer Networks Homework 3 Out: 11/19 Due: 11/26 Instructions 1. Turn in a physical copy at the beginning of the class on 11/26 2. Ensure the HW cover page has the following information clearly

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Why dynamic route? (1)

Why dynamic route? (1) Routing Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2 Why dynamic route? (2) Dynamic Routing Routers update

More information

Routing Unicast routing protocols

Routing Unicast routing protocols Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type

More information

Distance vector and RIP

Distance vector and RIP DD2490 p4 2008 Distance vector and RIP Olof Hagsand KTHNOC/NADA Literature RIP lab RFC 245: RIPv2. Sections 1 2 contains some introduction that can be useful to understand the context in which RIP is specified..1.4

More information

Chapter 7: Routing Dynamically. Routing & Switching

Chapter 7: Routing Dynamically. Routing & Switching Chapter 7: Routing Dynamically Routing & Switching The Evolution of Dynamic Routing Protocols Dynamic routing protocols used in networks since the late 1980s Newer versions support the communication based

More information

Routing. Outline. Algorithms Scalability

Routing. Outline. Algorithms Scalability Routing Outline Algorithms Scalability 1 Internetworking What is internetwork An arbitrary collection of networks interconnected to provide some sort of host-host to packet delivery service A simple internetwork

More information

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ETSF05/ETSF10 Internet Protocols Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet 2014, (ETSF05 Part 2), Lecture 1.1 Jens Andersson Circuit switched routing 2014 11 05 ETSF05/ETSF10 Internet Protocols 2 Packet switched Routing

More information

Computer Networks. Routing Algorithms

Computer Networks. Routing Algorithms Computer Networks Routing Algorithms Topics Routing Algorithms Shortest Path (Dijkstra Algorithm) Distance Vector Routing Count to infinity problem Solutions for count to infinity problem Link State Routing

More information

Unit 9. Author: W.Buchanan. Routing Protocols (1)

Unit 9. Author: W.Buchanan. Routing Protocols (1) Unit 9 uthor: W.Buchanan. Routing Protocols (1) Routing Protocols B H F B D E G C uthor: W.Buchanan. Routing Protocols (2) Mobile s (Unit 10) Router Programming (Unit 8) Routing Protocols (Unit 9) IP ddressing/subnets

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 11 Rou+ng: Deep Dive Spring 2018 Rachit Agarwal 2 Goals for Today s Lecture Learning about Routing Protocols Link State (Global view) Distance

More information

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes CSE 46 Routing Routing Focus: How to find and set up paths through a network Distance-vector and link-state Shortest path routing Key properties of schemes Application Transport Network Link Physical Forwarding

More information

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) Computer Networking Intra-Domain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) IP Forwarding The Story So Far IP addresses are structured to reflect Internet structure IP

More information

Routing Outline. EECS 122, Lecture 15

Routing Outline. EECS 122, Lecture 15 Fall & Walrand Lecture 5 Outline EECS, Lecture 5 Kevin Fall kfall@cs.berkeley.edu Jean Walrand wlr@eecs.berkeley.edu Definition/Key Questions Distance Vector Link State Comparison Variations EECS - Fall

More information

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions? Lecture 7 Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions? Thursday, September 15 CS 475 Networks - Lecture 7 1 Outline Chapter

More information

Network Layer: Delivery, Forwarding, and Routing

Network Layer: Delivery, Forwarding, and Routing CHAPTER 22 Network Layer: Delivery, Forwarding, and Routing This chapter describes the delivery, forwarding, and routing of IP packets to their final destinations. Delivery refers to the way a packet is

More information

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich iscussion 8: Link State Routing S : omputer Networks Marti Motoyama & hris Kanich Schedule Project Questions: mail hris, post to moodle, or attend his OH Homework Questions? Link State iscussion S iscussion

More information

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan Routing Protocols of IGP Koji OKAMURA Kyushu University, Japan Routing Protocol AS (Autonomous System) Is operated autonomous in the organization. 6bit IGP (Interior Gateway Protocol) Routing Control inside

More information

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics. EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect

More information

BTEC Level 3 Extended Diploma

BTEC Level 3 Extended Diploma BTEC Level 3 Extended Diploma Unit 9 Computer Network Routing and Routing Protocols BTEC Level 3 Extended Diploma Introduction to Routing Routing is the process that a router uses to forward packets toward

More information

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs). Introduction Dynamic routing is when protocols are used to find networks and update routing tables on routers. True, this is easier than using static or default routing, but it ll cost you in terms of

More information

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Building the Routing Table Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Introducing the Routing Table R1# show ip route Codes: C - connected,

More information

Routing. Jens A Andersson Communication Systems

Routing. Jens A Andersson Communication Systems Routing Jens A Andersson Communication Systems R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 R5 10 Router A router is a type of internetworking device that passes data

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting Outline Routing Fundamentals of Computer Networks Guevara Noubir Introduction Broadcasting and Multicasting Shortest Path Unicast Routing Link Weights and Stability F2003, CSG150 Fundamentals of Computer

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.15 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram

More information

How Routing Algorithms Work

How Routing Algorithms Work How Routing Algorithms Work A router is used to manage network traffic and find the best route for sending packets. But have you ever thought about how routers do this? Routers need to have some information

More information

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2. CS 356: Computer Network Architectures Lecture 14: Switching hardware, IP auxiliary functions, and midterm review [PD] chapter 3.4.1, 3.2.7 Xiaowei Yang xwy@cs.duke.edu Switching hardware Software switch

More information

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers Table of Contents RIP Configuration 1 RIP Overview 1 Operation of RIP 1 Operation of RIP 2 RIP Version 2 RIP Message Format 3 Protocols and Standards 4 Configuring RIP Basic Functions 5 Configuration Prerequisites

More information

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/ETSF10 Internet Protocols. Routing on the Internet ETSF05/ETSF10 Internet Protocols Routing on the Internet Circuit switched routing ETSF05/ETSF10 - Internet Protocols 2 Routing in Packet Switching Networks Key design issue for (packet) switched networks

More information

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2018 CSCD 330 Network Programming Spring 018 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 017 1 Network

More information

CSCD 330 Network Programming Spring 2017

CSCD 330 Network Programming Spring 2017 CSCD 330 Network Programming Spring 017 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-007

More information

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1 Chapter 4: Advanced Internetworking Networking CS 3470, Section 1 Intra-AS and Inter-AS Routing a C C.b b d A A.a a b A.c c B.a a B c Gateways: perform inter-as routing amongst themselves b perform intra-as

More information

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP

Outline. Organization of the global Internet Example of domains Intradomain routing. Interdomain traffic engineering with BGP BGP/2003.1.1 November 2004 Outline Organization of the global Internet Example of domains Intradomain routing BGP basics BGP in large networks Interdomain traffic engineering with BGP BGP-based Virtual

More information

CS118 Discussion Week 7. Taqi

CS118 Discussion Week 7. Taqi CS118 Discussion Week 7 Taqi Outline Hints for project 2 Lecture review: routing About Course Project 2 Please implement byte-stream reliable data transfer Cwnd is in unit of bytes, not packets How to

More information

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1 Determining IP Routes, Cisco Systems, Inc. 9- Objectives Upon completion of this chapter, you will be able to complete the following tasks: Distinguish the use and operation of static and dynamic routes

More information

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.) Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.) Goal is to use this opportunity (and not to find the lowest common denominator

More information

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing

ICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing ICS 351: Today's plan netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing Netmask exercises how many bits in this netmask: 255.128.0.0 using this netmask and the

More information

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

More information

Network Layer (Routing)

Network Layer (Routing) Network Layer (Routing) Topics Network service models Datagrams (packets), virtual circuits IP (Internet Protocol) Internetworking orwarding (Longest Matching Prefix) Helpers: ARP and DHP ragmentation

More information

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 Static Routing Configuration... 1-1 1.1 Introduction... 1-1 1.1.1 Static Route... 1-1 1.1.2 Default Route... 1-1 1.1.3 Application Environment of Static Routing...

More information

CSc 450/550 Computer Networks Internet Routing

CSc 450/550 Computer Networks Internet Routing CSc 450/550 Computer Networks Internet Routing Jianping Pan Summer 2007 7/12/07 CSc 450/550 1 Review Internet Protocol (IP) IP header addressing class-based, classless, hierarchical, NAT routing algorithms

More information

Unicast Routing Protocols (RIP, OSPF, and BGP)

Unicast Routing Protocols (RIP, OSPF, and BGP) CHAPTER 4 Unicast Routing Protocols (RIP, OSPF, and BGP) Exercises. RIP is an intradomain routing protocol that enables routers to update their routing tables within an autonomous system. 3. The expiration

More information

CSEP 561 Routing. David Wetherall

CSEP 561 Routing. David Wetherall CSEP 561 Routing David Wetherall djw@cs.washington.edu Routing Focus: How to find and set up paths through a network Distance-vector and link-state Application Shortest path routing Transport Key properties

More information

Address Translation. Map IP addresses into physical addresses destination host next hop router

Address Translation. Map IP addresses into physical addresses destination host next hop router Address Translation Map IP addresses into physical addresses destination host next hop router Techniques encode physical address in host part of IP address table-based ARP table of IP to physical address

More information

9.1. Routing Protocols

9.1. Routing Protocols 9.1. Routing Protocols Each organization that has been assigned a network address from an ISP is considered an autonomous system (AS). That organization is free to create one large network, or divide the

More information

Routing, Routing Algorithms & Protocols

Routing, Routing Algorithms & Protocols Routing, Routing Algorithms & Protocols Computer Networks Lecture 6 http://goo.gl/pze5o8 Circuit-Switched and Packet-Switched WANs 2 Circuit-Switched Networks Older (evolved from telephone networks), a

More information

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 22-3 UNICAST ROUTING PROTOCOLS 22.2 A routing

More information

TDC 363 Introduction to LANs

TDC 363 Introduction to LANs TDC 363 Introduction to LANs Routing Protocols and RIP Greg Brewster DePaul University TDC 363 1 Dynamic Routing Routing Protocols Distance Vector vs. Link State Protocols RIPv1 & RIPv2 RIP Problems Slow

More information

LS Example 5 3 C 5 A 1 D

LS 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 information

Introduction to Routing

Introduction to Routing 1 Introduction to Routing Session 2 Presentation_ID.scr 1 Agenda Addressing Concepts Routing Protocols Statics and Defaults 3 ISO OSI Reference Model Routing Information Protocol (RIP and RIPv2) L7 L6

More information

CCNA EXPLORATION V4.0 ROUTING PROTOCOLS AND CONCEPTS

CCNA EXPLORATION V4.0 ROUTING PROTOCOLS AND CONCEPTS CCNA EXPLORATION V4.0 ACCESSIBLE INSTRUCTOR MATERIALS COMPARISON OF NEW CURRICULA WITH EXISTING CURRICULA Prepared by Cisco Learning Institute June 23, 2008 Routing Protocols and Concepts Summary New CCNA

More information

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday Lecture 13: Routing in multihop wireless networks Mythili Vutukuru CS 653 Spring 2014 March 3, Monday Routing in multihop networks Figure out a path from source to destination. Basic techniques of routing

More information

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013 CS 5 Network Programming Languages Control Plane http://www.flickr.com/photos/rofi/0979/ Nate Foster Cornell University Spring 0 Based on lecture notes by Jennifer Rexford and Michael Freedman Announcements

More information

Lecture 4. The Network Layer (cont d)

Lecture 4. The Network Layer (cont d) Lecture 4 The Network Layer (cont d) Agenda Routing Tables Unicast and Multicast Routing Protocols Routing Algorithms Link State and Distance Vector Routing Information and Open Shortest Path First Protocols

More information

EITF25 Internet Routing. Jens A Andersson

EITF25 Internet Routing. Jens A Andersson EITF25 Internet Routing Jens A Andersson Study Guide Kihl & Andersson: Ch 8, 9.3 9.4 Stallings: Ch 19.1 & 19.2 Forouzan 5th ed Ch 20.1 20.3, 21.1 21.2 Routing The Routing Concept Unicast Routing Multicast

More information

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1 Table of Contents 1 Static Routing Configuration 1-1 Introduction 1-1 Static Route 1-1 Default Route 1-1 Application Environment of Static Routing 1-1 Configuring a Static Route 1-2 Configuration Prerequisites

More information

Network Layer (Routing)

Network Layer (Routing) Network Layer (Routing) Where we are in the Course Moving on up to the Network Layer! Application Transport Network Link Physical CSE 61 University of Washington Routing versus Forwarding Forwarding is

More information

Introduction to Local and Wide Area Networks

Introduction to Local and Wide Area Networks Introduction to Local and Wide Area Networks Lecturers Amnach Khawne Jirasak Sittigorn Chapter 1 1 Routing Protocols and Concepts Chapter 4 : Distance Vector Routing Protocols Chapter 5 : RIP version 1

More information

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy CS555, Spring 2005 April 12, 2005 No classes attend Senior Design Projects conference Network Layer 4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 VC and Datagram Networks 4.3 What

More information

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Lecture 8 Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2

More information

Operating Systems and Networks. Network Lecture 7: Network Layer 2. Adrian Perrig Network Security Group ETH Zürich

Operating Systems and Networks. Network Lecture 7: Network Layer 2. Adrian Perrig Network Security Group ETH Zürich Operating Systems and Networks Network Lecture 7: Network Layer Adrian Perrig Network Security Group ETH Zürich Where we are in the Course More fun in the Network Layer! We ve covered packet forwarding

More information

Routing Basics. What is Routing? Routing Components. Path Determination CHAPTER

Routing Basics. What is Routing? Routing Components. Path Determination CHAPTER CHAPTER 5 Routing Basics This chapter introduces the underlying concepts widely used in routing protocols Topics summarized here include routing protocol components and algorithms In addition, the role

More information

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture Network Routing Packet Routing, Routing Algorithms, Routers, Router Architecture Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction

More information

Link State Routing & Inter-Domain Routing

Link State Routing & Inter-Domain Routing Link State Routing & Inter-Domain Routing CS640, 2015-02-26 Announcements Assignment #2 is due Tuesday Overview Link state routing Internet structure Border Gateway Protocol (BGP) Path vector routing Inter

More information

VI. ROUTING. - "routing protocol" nodes exchange information to ensure consistent understanding of paths

VI. ROUTING. - routing protocol nodes exchange information to ensure consistent understanding of paths (a) General Concepts VI. ROUTING - "routing" determination of suitable (i.e., least cost) path from a source to every destination (i.e., which nodes/switches/routers are in path) - "routing protocol" nodes

More information

Guide to Networking Essentials, 6 th Edition. Chapter 7: Network Hardware in Depth

Guide to Networking Essentials, 6 th Edition. Chapter 7: Network Hardware in Depth Guide to Networking Essentials, 6 th Edition Chapter 7: Network Hardware in Depth Objectives Describe the advanced features and operation of network switches Describe routing table properties and discuss

More information

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN).

To contain/reduce broadcast traffic, we need to reduce the size of the network (i.e., LAN). 2.3.3 Routers 2.3.3.1 Motivation Bridges do not stop broadcast traffic. This can lead to broadcast storms (e.g., more than 100 nonunicast frames/sec) which can be catastrophic. This can bring the network

More information

CSE/EE 461 Distance Vector Routing

CSE/EE 461 Distance Vector Routing S/ 46 istance Vector Routing Last Time Introduction to the Network layer Internetworks atagram and virtual circuit services Internet Protocol (IP) packet format The Network layer Provides end-to-end data

More information

Homework 3 Discussion

Homework 3 Discussion Homework 3 Discussion Address Resolution Protocol (ARP) Data Link Layer Network Layer Data Link Layer Network Layer Protocol Data Unit(PDU) Frames Packets Typical Device Switch/Bridge Router Range Local

More information

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives Routers & Routing -44: omputer Networking High-speed router architecture Intro to routing protocols ssigned reading [McK9] Fast Switched ackplane for a Gigabit Switched Router Know RIP/OSPF L-4 Intra-omain

More information

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms Announcements CS 5565 Network Architecture and Protocols Lecture 20 Godmar Back Project 2B due in 2 parts: Apr 29 and May 6 Extra Credit Opportunities: Expand simulator (and your implementation) to introduce

More information

ECE 435 Network Engineering Lecture 11

ECE 435 Network Engineering Lecture 11 ECE 435 Network Engineering Lecture 11 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 11 October 2018 Midterm on Tues Announcements 1 HW#4 Review maine.edu created? What is a

More information

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan Internet Protocol: Routing Algorithms Srinidhi Varadarajan Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction for routing algorithms:

More information