Homework Assignment #3b Due 11/22 at 3:50pm EE122 Fall 2010

Similar documents
COM-208: Computer Networks - Homework 6

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

Network Layer (Routing)

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Introduction to BGP ISP/IXP Workshops

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Lecture 16: Border Gateway Protocol

Lecture 17: Border Gateway Protocol

Lecture 18: Border Gateway Protocol

CS321: Computer Networks Unicast Routing

Routing(2) Inter-domain Routing

Border Gateway Protocol

CSE 123: Computer Networks

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

COMP/ELEC 429 Introduction to Computer Networks

BGP Routing and BGP Policy. BGP Routing. Agenda. BGP Routing Information Base. L47 - BGP Routing. L47 - BGP Routing

Computer Networking Introduction

Homework Assignment #1 Due 9/19 at 5:00pm EE122 Fall 2011

CS4700/CS5700 Fundamentals of Computer Networks

Preventing the unnecessary propagation of BGP withdraws

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

PART III. Implementing Inter-Network Relationships with BGP

Dynamics of Hot-Potato Routing in IP Networks

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Interdomain Routing. EE122 Fall 2012 Scott Shenker

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Towards a Logic for Wide-Area Internet Routing

Module 14 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

Homework 2: IP Due: 11:59 PM, Oct 20, 2016

Review problems (for no credit): Transport and Network Layer

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

Internet Routing : Fundamentals of Computer Networks Bill Nace

Some Foundational Problems in Interdomain Routing

Chapter IV: Network Layer

Ravi Chandra cisco Systems Cisco Systems Confidential

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Routing(2) Inter-domain Routing

Internet Routing Protocols Lecture 01 & 02

Problem Set 8 Due: Start of Class, November 16

Inter-AS routing and BGP. Network Layer 4-1

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Introduction to BGP. ISP/IXP Workshops

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Unit 3: Dynamic Routing

Interdomain Routing. Networked Systems (H) Lecture 11

How the Internet works? The Border Gateway Protocol (BGP)

Module 18 Transit. Objective: To investigate methods for providing transit services. Prerequisites: Modules 12 and 13, and the Transit Presentation

The Case for Separating Routing from Routers

ETS110: Internet Protocol Routing Lab Assignment

Inter-Domain Routing: BGP

Module 10 An IPv6 Internet Exchange Point

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

CSE 473 Introduction to Computer Networks. Final Exam. Your Name: 12/17/2014 PLEASE WRITE LEGIBLY NO POINTS FOR ILLEGIBLE ANSWERS

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

TELE 301 Network Management

Interdomain Routing and Connectivity

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Configuring BGP. Cisco s BGP Implementation

CSCI Topics: Internet Programming Fall 2008

Simulation of Routing Protocol with CoS/QoS Enhancements in Heterogeneous Communication Network

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Lecture 19: Network Layer Routing in the Internet

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics:

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

DE-CIX Academy: BGP Introduction. Notice of Liability. BGP Configuration Examples. Network Diagram for all examples. Links and Examples

cs/ee 143 Communication Networks

CSc 450/550 Computer Networks Internet Routing

Chapter 4: Network Layer, partb

Master Course Computer Networks IN2097

Border Gateway Protocol - BGP

Chapter 4: Network Layer

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Module 19 Internet Exchange Points

Inter-Autonomous-System Routing: Border Gateway Protocol

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

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

Internet Routing Basics

Comprehensive Solution for Anomaly-free BGP

Homework #4. Due: December 2, 4PM. CWND (#pkts)

IPv6 Module 6 ibgp and Basic ebgp

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

CSE 473 Introduction to Computer Networks. Final Exam Review

CSC 4900 Computer Networks: Routing Protocols

Routing in the Internet

Introduction to IP Routing. Geoff Huston

Inter-Autonomous-System Routing: Border Gateway Protocol

Introduction to Computer Networks

Chapter 4: outline. Network Layer 4-1

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

You submitted this homework on Sun 23 Feb :12 PM PST. You got a score of 5.00 out of 5.00.

DATA COMMUNICATOIN NETWORKING

Network Configuration Example

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version

Transcription:

Homework Assignment #3b Due 11/22 at 3:50pm EE122 Fall 2010 Please submit your solutions using BSpace (https://bspace.berkeley.edu/). Log in to BSpace with your CalNet ID, click on the EL ENG 122 Fa10 tab, and click on Assignments under Course Tools. Assignments should be submitted in one of the following formats:.txt,.pdf, or.ps. The various figures referred to in the problems are on the sheets at the end of the assignment. Hint: if you can t find the answer in the lecture notes, the textbook provides the needed information for several of these problems. Good luck! 1) General Routing (from K&R) [5 points] Consider the network in Figure 1, with ASes A, B, C, D. Each AS has some number of routers (labeled as A1, A2, etc.) and the domains are connected internally and with each other by the links depicted in the figure. Assume that ebgp and ibgp are used for interdomain routing, and that ASes A and D are using RIP for intradomain routing while ASes B and C are using OSPF for intradomain routing. Prefix x hangs off an interface on router C3. i) Router D3 learns about prefix x from which routing protocol: OSPF, RIP, ebgp, or ibgp? ii) Router D1 learns about prefix x from which routing protocol? iii) Router A3 learns about prefix x from which routing protocol? iv) Router A1 learns how to reach router A3 from which routing protocol? v) Will router A1 use interface 1 or interface 2 to reach prefix x? 2) BGP Policies I [4 points] Consider an interdomain network with domains A through F. For simplicity, assume that destinations in this problem are domains, not prefixes. Recall that routes are expressed in terms of the series of domains: e.g., [A- B- C] denotes a route that started with domain A and went to domain B and then to domain C (which is the destination). Domains always advertise the route to

themselves (i.e., domain X advertises the path [X] to all peers, customers, and providers). The following connectivity/business relationships exist: B is a customer of A C is a customer of A D is a customer of A B and C are peers C and D are peers E is a customer of B F is a customer of B F is a customer of C G is a customer of D Assuming that each domain s routing policies follow normal business practice, and that BGP has converged, i) What routes does A advertise to B? ii) What routes does C advertise to B? iii) What routes does E advertise to B? iv) What routes does F advertise to B? 3) BGP Policies II (3 points) We say an interdomain routing system is in a stable state if none of the domains wants to change their routes given the current set of routes they are receiving from their neighbors. Consider the network in Figure 2, and focus only on routes to AS D. Assume all domains advertise their current route to D to all the domains they are connected to (i.e., there are no restrictive route export policies). Hint: In answering the questions below, don t expect to analyze this theoretically. Just work through, by hand, how BGP would update route advertisements. In doing so, it is easiest to have one AS update at a time. Consider different advertisement and updating orders (for instance, you might have A update, then B, then C, then B, then A, then ). If you play with this for a while, the answers for the questions below should be obvious. Also, recall that at any given time an AS only offers one route to a particular destination (i.e., it doesn t advertise more than one route to a particular destination at once; announcing a new path amounts to withdrawing the previous path). i) In the beginning, the routing preferences of the three ASes for routes to AS D are as follows (with highest preference first): AS A: [A- B- D], [A- D]

AS B: [B- C- D], [B- D] AS C: [C- A- D], [C- D] Does the system have: (a) no stable states, (b) one stable state, (c) more than one stable state. ii) AS A decided that it actually likes the path [A- B- C- D] best, so the preferences are: AS A: [A- B- C- D], [A- B- D], [A- D] AS B: [B- C- D], [B- D] AS C: [C- A- D], [C- D] Does the system have : (a) no stable states, (b) one stable state, (c) more than one stable state. iii) Because ASes are dumb as bricks and just imitate each other (just kidding AT&T, please don t cut off my DSL!), AS B decides that it also likes longer path best, so the preferences become: AS A: [A- B- C- D], [A- B- D], [A- D] AS B: [B- C- A- D], [B- C- D], [B- D] AS C: [C- A- D], [C- D] Does the system have: (a) no stable states, (b) one stable state, (c) more than one stable state. 4) Distance- Vector [3 points] Consider a network depicted in Figure 3 which is running (in theory) a synchronous routing process: each node exchanges distance information with its peers at the same time, so all the routing tables are updated simultaneously. Assume the networking is running a distance vector routing protocol with poisoned reverse. a) When the network is first coming up, each router s routing table (containing the distances to each destination) only has entries for its directly connected neighbors. Fill in the router A s routing table for the first five steps of the updating process (note that the process might reach a stable state before step 5). Step 0: (initialized)

Step 1: 3 10 Step 2: Step 3: Step 4: Step 5: b) After calculating the distances in step 2, what distances does router A then advertise to router B (that router B will then use when computing the distances in step 3)? c) In general, for distance vector routing starting from the beginning (with routers only knowing about their direct connections), how long can it take for the routing process to converge? Letting d denote the longest shortest path in the network, pick from one of the following answers: d+1, 2d, d- 5, d- 1, 2d- 1, ln[d]. In other words, if all you know about the graph is d, what is the tight upper bound on the convergence process?