Cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.

Slides:



Advertisements
Similar presentations
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Advertisements

Cs/ee 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
CIS 235: Networks Fall, 2007 Western State College Computer Networks Fall, 2007 Prof Peterson.
Subnetting.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
Cs/ee 143 Communication Networks Chapter 3 Ethernet Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech.
Overview of simple LANs. Networking basics: LAN TCP/IP is the protocol used in the Internet and dominates the internet and transport layers The subnet.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Chapter 4: Managing LAN Traffic
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
Common Devices Used In Computer Networks
CS 381 Final Exam Study Guide Final Exam Date: Tuesday, May 12 th Time: 10:30am -12:30pm Room: SB 105 Exam aid: 8 ½ x 11 page of notes front and back.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
1/28/2010 Network Plus Network Device Review. Physical Layer Devices Repeater –Repeats all signals or bits from one port to the other –Can be used extend.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Connecting to the Network Networking for Home and Small Businesses – Chapter.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are here.
Polytechnic University1 The internetworking solution of the Internet Prof. Malathi Veeraraghavan Elec. & Comp. Engg. Dept/CATT Polytechnic University
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Chapter 19 - Binding Protocol Addresses
CS 447 Networks and Data Communication ARP (Address Resolution Protocol) for the Internet Department of Computer Science Southern Illinois University Edwardsville.
The Network Layer.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 23: ARP, ICMP, DHCP CS332, IS333 Spring 2014.
ARP The Process and the Protocol. Note to reader The information explained in this section is a simplification and extrapolation of the actual ARP determination.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Mapping IP Addresses to Hardware Addresses Chapter 5.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Address Resolution Protocol (ARP). Internet and Data Link Layer Addresses Each host and router on a subnet needs a data link layer address to specify.
J. Liebeher (modified by M. Veeraraghavan) 1 Introduction Complexity of networking: An example Layered communications The TCP/IP protocol suite.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
Chapter 9 Introduction To Data-Link Layer 9.# 1
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Chapter 5 Network and Transport Layers
Networking CS 3470, Section 1 Sarah Diesburg
A Typical Connection Scenario
Chapter 4 Introduction to Network Layer
Address Resolution Protocol (ARP)
CS 280: Summary: A day in the life of a web request
Chapter 5 Network and Transport Layers
CS 457 – Lecture 10 Internetworking and IP
Chapter 4 Introduction to Network Layer
Chapter 6 The Data Link layer
Address Resolution Protocol (ARP)
Synthesis A day in the life of a web request
CS 381: Introduction to Computer Networks
Chapter 5: Link Layer 5.1 Introduction and services
Presentation transcript:

cs/ee 143 Communication Networks Routing Misc Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech

Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability

Putting it all together [W&P 2010] initially unconnected

Putting it all together [W&P 2010]

Putting it all together [W&P 2010] initially unconnected 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? later goes down

1. compute spanning tree [W&P 2010]

2. compute intra-AS routing [W&P 2010]

3. compute inter-AS routing [W&P 2010] 1.How to route G  A?

3. compute inter-AS routing [W&P 2010] 1.How to route G  A? Does A  G follow the same path?

4. Address resolution protocol [W&P 2010] 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? initially unconnected

4. Address resolution protocol [W&P 2010] Packets from D can be delivered to subnet AS2.B1 based on IP address of H AS2.B1 does not know H AS2.B1 uses ARP to find H’s MAC address Use STP to forward pkts to H initially unconnected

Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network [all, e1, who is IP2?] Link layer on H1 broadcasts a message (ARP query) on its layer 2 network asking for the MAC address corresponding to IP2

Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network [all, e1, who is IP2?] Link Network [e1, e2, I am IP2] Link layer on H2 responds to the ARP query with its MAC address

Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network Link Network Once the link layer on H1 knows e2, it can now send the original message [e2, e1,[IP1, IP2, X]]

Example: H1 wants to send packet to H2 Ethernet switch gateway Link Network Link Network Link layer on H2 delivers the packet to the network layer on H2 [e2, e1,[IP1, IP2, X]] [IP1, IP2, X] [e2, e1,[IP1, IP2, X]]

5. re-compute routing table [W&P 2010] 1.How to route G  A? 2.As soon as H is added, D tries to send a packet to H. What happens? 3.If AS2.R2 goes down, what will be the routing changes? goes down

5. re-compute routing tables [W&P 2010] goes down Failure detected by AS2.R1 and AS2.R3; update routing tables (intra-AS) Failure detected by border gateway in AS5 BGP re-computes The path between AS2 and AS5 will be changed

Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability

Transportation network

Transportation Network Which route to take? 10 f f +50 Local alg: min my own delay x r * with equal delay on all routes All delays = 83 equilibrium: delays on all paths equalized

Transportation Network Which route to take? Local alg: min my own delay x r * with equal delay on all routes All delays = f f +50 f+10

Transportation Network Which route to take? Local alg: min my own delay x r * with equal delay on all routes Global objective: min total delay All delays = f f +50 f+10

Transportation Network Which route to take? 10 f f +50 f+10 “my delay (81) < 83!” Local alg: min my own delay x r * with equal delay on all routes

Transportation Network Which route to take? 10 f f +50 f+10 All delays = 82, 81,93 Local alg: min my own delay x r * with equal delay on all routes not an equilibrium !

Transportation Network Which route to take? 10 f f +50 f+10 All delays = 92>83! Braess’s Paradox (1968) Local alg: min my own delay x r * with equal delay on all routes new equilibrium: delays on all paths equalized, and worse!

Transportation Network Dietrich Braess (German mathematician) “Major road investments in the city center [of Stuttgart] failed to yields the benefits expected. They were only obtained when a cross street… was withdrawn from traffic use.” Murchlan, “Braess’s Paradox of traffic flow”, Transportation Research, 4: , 1970

Transportation Network Which route to take? Global objective 10 f f +50 f+10 All delays = 92>83! Braess’s Paradox (1968) not necessarily min! Local alg: min my own delay x r * with equal delay on all routes

 Global objective Transportation Network Local algorithm route to smaller delay x r * with equal delay on all routes route to smaller cost x r * with equal cost on all routes cost = delay + toll network delay

Outline Putting it all together Routing across Internet  LAN, intra-AS, inter-AS Routing across layers 2 and 3 Selfish routing: inefficiency Dynamic routing: instability