1 Transport BW Allocation, and Review of Network Routing 11/2/2009.

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

Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
Courtesy: Nick McKeown, Stanford
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Routing and Routing Protocols
CSE 461: Distance Vector Routing. Next Topic  Focus  How do we calculate routes for packets?  Routing is a network layer function  Routing Algorithms.
Announcement r Project 2 Extension ? m Previous grade allocation: Projects 40% –Web client/server7% –TCP stack21% –IP routing12% Midterm 20% Final 20%
EE 122: Intra-domain routing Ion Stoica September 30, 2002 (* this presentation is based on the on-line slides of J. Kurose & K. Rose)
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
Computer Networking Intra-Domain Routing, Part I RIP (Routing Information Protocol)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
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)
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
ROUTING BASICS. Why are Routers Necessary? One of the key components of the technical infrastructure of the network One of the key components of the technical.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
Packet-Switching Networks Routing in Packet Networks.
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Dynamic Routing Protocol EIGRP Enhanced Interior Gateway Routing Protocol (EIGRP) is an advanced distance vector routing protocol developed by Cisco.
1 Network Routing 11/2/2009. Admin. r Exam 1 Monday Nov. 9 m Covers architecture, application and transport layers (lectures 1-16, and resource allocation.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
The Network Layer Introduction  functionality and service models Theory  link state and distance vector algorithms  broadcast algorithms  hierarchical.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
The Network Layer & Routing
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jiayue He, Rui Zhang-Shen, Ying Li, Cheng-Yen Lee, Jennifer Rexford, and Mung.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – 10 EIGRP 1.
Introduction 1 Lecture 19 Network Layer (Routing Algorithms) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Internet Routing r Routing algorithms m Link state m Distance Vector m Hierarchical routing r Routing protocols m RIP m OSPF m BGP.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
4: Network Layer4a-1 Distance Vector Routing Algorithm iterative: r continues until no nodes exchange info. r self-terminating: no “signal” to stop asynchronous:
Distance Vector Routing
Distance Vector and Link State Routing Pragyaditya Das.
1 Network Transport Layer: Primal-Dual Resource Allocation; TCP in New Settings Y. Richard Yang 4/6/2016.
1 Transport Bandwidth Allocation 3/29/2012. Admin. r Exam 1 m Max: 65 m Avg: 52 r Any questions on programming assignment 2 2.
1 Network Transport Layer: TCP Analysis and BW Allocation Framework Y. Richard Yang 3/30/2016.
1 Transport Bandwidth Allocation, Intro to Network Layer 4/3/2012.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 Network Layer: Routing Distance Vector Protocols with Revisions and Link State Protocols Y. Richard Yang 4/13/2016.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
1 Network Layer: Routing Distributed, Distance Vector Protocols Y. Richard Yang 4/11/2016.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Chapter 5: Dynamic Routing
Dynamic Routing and OSPF
ECE453 – Introduction to Computer Networks
Chapter 4: Network Layer
Network Layer (contd.) Routing
EE 122: Intra-domain routing: Distance Vector
Chapter 4: Network Layer
Chapter 4: Network Layer
Network Layer: intro; Distance Vector Protocols
Presentation transcript:

1 Transport BW Allocation, and Review of Network Routing 11/2/2009

Recap: Questions r Forward engineering: which allocation objective? r Reverse engineering: what are the objectives of TCP/Reno, TCP/Vegas? 2 ObjectiveAllocation (x1, x2, x3) TCP/Reno TCP/Vegas1/32/3 Max throughput011 Max-min½½½ Max sum log(x)1/32/3 Max sum of -1/(RTT 2 x)

3 Recall: Resource Allocation Framework r Maximize aggregate utility, subject to capacity constraints

4 A One-Slide Summary of Optimization Theory g(x) f(x) f(x) concave g(x) linear S is a convex set q1q1 q2q2 S -D(q) is called the dual; q (>= 0) are called prices in economics - Then according to optimization theory: when D(q) achieves minimum over all q (>= 0), then the optimization objective is achieved. -D(q) provides an upper bound on obj.

5 Decomposition r Assume each link l has non-negative congestion signal q l, consider the dual D(q) x1x1 x2x2 x3x3 1 1

6 Distributed Optimization: User Problem r Given price signal per unit rate p f (=sum of q l along the path) flow f chooses rate x f to maximize: r Using the price signals, the optimization problem of each user is independent of each other

7 Distributed Optimization: User Problem At equilibrium (i.e., at optimal), x f satisfies: How should flow f adjust x f locally?

8 Interpreting Congestion Measure x f (t) q l (t) q 2 (t)

9 Distributed Optimization: Network Problem The network (i.e., link l) adjusts the link signals q l (assume after all flows have picked their optimal rates given congestion signal)

10 Distributed Optimization: Network Problem how should link l adjust q l locally?

11 Decomposition r SYSTEM(U): r USER f : r NETWORK:

Outline r Bandwidth allocation framework m framework m Nash Bargaining Solution (NBS) m distributed computation m TCP/Reno, TCP/Vegas revisited 12

13 TCP/Reno Dynamics

14 TCP/Vegas Dynamics

15 Summary: TCP/Vegas and TCP/Reno r Pricing signal is queueing delay T queueing r Pricing signal is loss rate p

16 Summary: Global Network Bandwidth Allocation r Understand protocols, m e.g., Reno, Vegas r Design new e2e congestion control and router queue management protocols m e.g., FAST, XCP r Pointer: congestion control through game theory and economics m

Exam 1 r Covers lectures 1-16 and the preceding part of today’s lecture r A one-page “cheat” sheet 17

18 Recap: Network Layer: Protocols forwarding Network layer functions: Routing protocols path selection e.g., RIP, OSPF, BGP Network layer protocol (e.g., IP) addressing conventions packet format packet handling conventions Control protocols error reporting e.g. ICMP Transport layer Link layer physical layer Network layer Control protocols - router “signaling” e.g. RSVP

19 Recap: Routing Design Space r Routing has a large design space m who decides routing? m how many paths from source s to destination d? m will routing adapt to network traffic demand? m…m… r We focus mostly on network-based, single- path, static routing - Robustness - Optimality - Simplicity

Example: Cisco Proprietary Recommendation on Link Cost r Link metric: By default, k1=k3=1 and k2=k4=k5=0. The default composite metric for EIGRP, adjusted for scaling factors, is as follows: EIGRP : Enhanced Interior Gateway Routing Protocol

EIGRP Link Cost r BW min is in kbps and the sum of delays are in 10s of microseconds. r Example r The bandwidth and delay for an Ethernet interface are 10 Mbps and 1ms, respectively. r The calculated EIGRP BW metric is as follows: m 256 × 10 7 /BW = 256 × 10 7 /10,000 m = 256 × m =

22 Recap: Synchronous Bellman-Ford (SBF) r Nodes update in rounds: m there is a global clock; m at the beginning of each round, each node sends its estimate to all of its neighbors; m at the end of the round, updates its estimation A E D CB A B E C D

23 Recap: Properties of SBF r Monotonicity: m if d(t)  d’(t) => d(t+1)  d’(t+1) i.e., each node has a higher estimate in one scenario (d) than in another scenario (d’), then each node has a higher estimate in d than in d’ after one round of synchronous update. r SBF/  computes the shortest path costs r Bellman equation has a unique solution r SBF/-1 also computes the shortest path costs

Recap: Asynchronous Bellman-Ford (ABF) r No notion of global iterations m each node updates at its own pace r Asynchronously each node i computes using last received value d i j from neighbor j. r Asyncrhonously node j sends its estimate to its neighbor i: m there is an upper bound on the delay of estimate packets (no worry for out of order)

Distance Table: Example A E D CB d () A B C D E distance tables from neighbors destinations computation E’s distance table distance table E sends to its neighbors A: 10 B: 8 C: 4 D: 2 E: 0 Below is just one step! The protocol repeats forever!  A B D 0 7  A B D   1 2   0 A: 10 B: 8 D: 4 D:   9 4   2

Recap: Asynchronous Bellman-Ford: Summary r Distributed: each node communicates its routing table to its directly- attached neighbors r Iterative: continues periodically or when link changes, e.g. detects a link failure r Asynchronous: nodes need not exchange info/iterate in lock step! r Convergence in finite steps, independent of initial condition if network is connected

Properties of Distance-Vector Algorithms r Good news propagate fast

Properties of Distance-Vector Algorithms r Bad news propagate slowly r This is called the counting-to-infinity problem Question: why does counting-to-infinity happen?

What is a Routing Loop? r A routing loop is a global state (consisting of the nodes’ local states) at a global moment (observed by an oracle) such that there exist nodes A, B, C, … E such that A (locally) thinks B as down stream, B thinks C as down stream, … E thinks A as down stream 29

Backup Slides 30

31 Network problem r As if the network maximizes a logarithmic utility function, but with constants (w f, f  F) chosen by the users

32 Three Optimization Problems r SYSTEM(U f ): r USER f (U f ; p f ) r NETWORK(w f )

33 Decomposition Theorem r There exist vectors p, w and x such that 1. w f = p f x f for f  F 2. w f solves USER f (U f ; p f ) 3. x solves NETWORK(w) r The vector x then also solves SYSTEM(U).

34 Another Decomposition r SYSTEM(U): r USER f (U f ; p f ) r NETWORK(w f )

35 Decomposition Theorem r There exist vectors p, w and x such that 1. w f = p f x f for f  F 2. w f solves USER f (U f ; p f ) 3. x solves NETWORK(w) r The vector x then also solves SYSTEM(U).

36 TCP/Reno: Equilibrium r Pricing signal is aggregated loss rate p

37 TCP/Vegas: Equilibrium r Pricing signal is queueing delay T queueing

Summary: Network Bandwidth Allocation r Forward engineering: m how to determine objective functions: “first-principles” approach to derive utility functions m given objective, how to design effective alg (?) r Reverse engineering: understand current protocols r Discussion: problems of the framework 38

39 Using Virtual Circuit to Implement Network Services r In order to provide some functionalities, a network may choose virtual circuit, e.g., Virtual Private Network (VPN)

40 Using Datagram to Implement the Most Basic Network Service r A datagram network generally provides simple services: the forwarding of packets from src to dest. r We will focus on datagram networks which provide best effort service m extensions to provide more services will be discussed in the multimedia networking part of the course

EIGRP Neighbor Discovery r EIGRP routers actively establish relationships with their neighbors r EIGRP routers establish adjacencies with neighbor routers by using small hello packets. r The Hello protocol uses a multicast address of , and all routers periodically send hellos.

EIGRP Neighbor Discovery r On hearing hellos, the router creates a table of its neighbors. r The continued receipt of these packets maintains the neighbor table By forming adjacencies, EIGRP routers do the following: r Dynamically learn of new routes that join their network r Identify routers that become either unreachable or inoperable r Rediscover routers that had previously been unreachable

43 Neighbor Discovery - 3

Default Hello Intervals and Hold Time for EIGRP