How packets are routed in the Internet. The Problem A B How should packets travel from A to B?

Slides:



Advertisements
Similar presentations
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Advertisements

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
Network Layer: Internet-Wide Routing & BGP Dina Katabi & Sam Madden.
Courtesy: Nick McKeown, Stanford
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
RD-CSY /09 Distance Vector Routing Protocols.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
Delivery, Forwarding, and Routing
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Chapter 27 Q and A Victor Norman IS333 Spring 2015.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
WAN Technologies.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
Computer Networks Layering and Routing Dina Katabi
Routing. A world without networks and routing  No connection between offices, people and applications  Worldwide chaos because of the lack of centralized.
CSC 412 – Networking Scott Heggen. Agenda Today The Network Layer (Chapter 5) Discussion on A2: The Data Link Layer Thursday Q2: The Networking Layer.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
Lecture Week 10 Link-State Routing Protocols. Objectives Describe the basic features & concepts of link-state routing protocols. List the benefits and.
How the Internet Works. The Internet and the Web The Web is actually just one of many computer applications that run on the Internet Among others are.
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
Chapter 9 Routing. Contents Definition Differences from switching Autonomous systems Routing tables Viewing routes Routing protocols Route aggregation.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Day11 Devices/LAN/WAN. Network Devices Hub Switches Bridge Router Gateway.
Routing and Routing Protocols
Lecture #3 OSPF Asst.Prof. Dr.Anan Phonphoem Department of Computer Engineering, Faculty of Engineering, Kasetsart University, Bangkok, Thailand.
Networking and internetworking devices. Repeater.
CSE 461 University of Washington1 Topic How do we connect nodes with a switch instead of multiple access – Uses multiple links/wires – Basis of modern.
1 Version 3.1 Module 6 Routed & Routing Protocols.
OSPF Open Shortest Path First. Table of Content  IP Routes  OSPF History  OSPF Design  OSPF Link State  OSPF Routing Table  OSPF Data Packets.
 A hub is a central connecting device in a network.  Each node is connected directly to the hub.  They receive a data packet from one node and send.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
UNIT 2 LESSON 8 CS PRINCIPLES. UNIT 2 LESSON 8 OBJECTIVES Students will be able to: Describe how routers develop routing tables to determine how to send.
Ch 22. Routing Direct and Indirect Delivery.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
Network Layer.
The network layer: routing
ROUTING.
Anticipated Handovers
(How the routers’ tables are filled in)
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
Routing Protocols and Concepts
COMP 3270 Computer Networks
TODAY’S TENTATIVE AGENDA
Link-State Routing Protocols
Chapter 5 The Network Layer.
Intra-Domain Routing Jacob Strauss September 14, 2006.
LAN switching and Bridges
(How the routers’ tables are filled in)
Delivery, Forwarding, and Routing
Routing Protocols (RIP, OSPF, BGP).
Link-State Routing Protocols
Flyspec – a network for silicon fly sensors
Instructor & Todd Lammle
Dynamic Routing and OSPF
LAN switching and Bridges
COMPUTER NETWORKS CS610 Lecture-42 Hammad Khalid Khan.
Link-State Routing Protocols
Communication Networks
ECE 544 Project3 Team member.
Communication Networks
BGP Instability Jennifer Rexford
Network Layer.
OSPF Protocol.
Presentation transcript:

How packets are routed in the Internet

The Problem A B How should packets travel from A to B?

Hop-by-hop forwarding IP AddressNext-hop A A BR2 CR3 D A B C D IP AddressNext-hop AR1 BR4 C D IP AddressNext-hop AR3 BB C D R1 R2 R4 R3 DataB

How do the routers know what forwarding table to use?

Easy!! IP AddressNext-hop A A BR2 CR3 D A B C D IP AddressNext-hop AR1 BR4 C D IP AddressNext-hop AR3 BB C D R1 R2 R4 R3

But how about this network?

In a future Unit you will learn how the forwarding tables are populated. Today, we’ll explore different approaches to get you thinking about it.

8 A Game: Routing with Cards

You should have one card Keep card face down, do not look at it until I say so…. Your card tells you your node number, and who your neighbors are. 9

5 12, 19 Your node ID Ignore these numbers for now!!

5 12, 19 Your node ID Your neighbor nodes

5 12, , 19 5, 12, 3

Rules You may not – Leave your seat (but you can stand) – Pass your card – Write anything You may – Ask nearby friends for advice – Shout to other participants (anything you want) – Curse your instructor You must: Participate 15

Task #1 Find a path from Node 1 to Node 40. When you are done, you must be able to repeat it correctly.

Go! 17

Task #2 Find the shortest path from Node 1 to Node 40. When you are done, you must be able to repeat it correctly.

An algorithm to find the shortest path

What if each link has a “cost”?

R7R7 R6R6 R4R4 R2R2 R1R1 R8R8 R5R5 R3R “Expensive link”: It might be very long. e.g. a link from Europe to USA. Or it might be very busy. e.g. it connects to Google or CNN. Or it may be very slow. e.g. 1Mb/s instead of 100Mb/s. Cost = 4+9 = 13 Cost = = 11

Find lowest cost path to R 8 R7R7 R6R6 R4R4 R2R2 R1R1 R8R8 R5R5 R3R

Find lowest cost path to R 8 R7R7 R6R6 R4R4 R2R2 R1R1 R8R8 R5R5 R3R

Find the lowest cost path

Solution Cost = 22

How packets are routed in the Internet

Stanford University Istanbul Technical University The Public Internet Every organization is “autonomous” – they decide how packets are routed inside. They run our algorithm!

Stanford University Istanbul Technical University Every organization can run its own algorithm inside! AT&T Superonline

Stanford University (SU) Istanbul Technical University (ITU) AT&T Superonline A B C X Y Z Internet routing is a hierarchy

Stanford University (SU) Istanbul Technical University (ITU) AT&T Superonline He.net A B C X Y Z Internet routing is a hierarchy

Stanford University (SU) Istanbul Technical University (ITU) AT&T Superonline He.net IP AddressNext-hop AR2 B CR3 ELSER-Boundary-1 IP AddressNext-hop ITUR-Boundary-2 SUR8 A B C X Y Z R-Boundary-2 R-Boundary-3 R8 R2 R3 IP AddressNext-hop ITUR100 SUR-Boundary-2 R100

Summary

A B How should packets travel from A to B?

Hop-by-hop forwarding IP AddressNext-hop A A BR2 CR3 D A B C D IP AddressNext-hop AR1 BR4 C D IP AddressNext-hop AR3 BB C D R1 R2 R4 R3 DataB

How do the routers know what forwarding table to use? Now you know!

Easy!