ECSE-6600: Internet Protocols Exam 2



Similar documents
Route Discovery Protocols

APNIC elearning: BGP Attributes

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Exterior Gateway Protocols (BGP)

Introduction to TCP/IP

Border Gateway Protocol BGP4 (2)

basic BGP in Huawei CLI

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Border Gateway Protocol (BGP)

TCP for Wireless Networks

CS551 External v.s. Internal BGP

Internet inter-as routing: BGP

6.263 Data Communication Networks

Lecture 18: Border Gateway Protocol"

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Load balancing and traffic control in BGP

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

CS268 Exam Solutions. 1) End-to-End (20 pts)

APNIC elearning: BGP Basics. Contact: erou03_v1.0

How To Understand Bg

IP Routing Configuring RIP, OSPF, BGP, and PBR

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

Based on Computer Networking, 4 th Edition by Kurose and Ross

2 TCP-like Design. Answer

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

BGP Attributes and Path Selection

Mobile Communications Chapter 9: Mobile Transport Layer

A Survey on Congestion Control Mechanisms for Performance Improvement of TCP

E : Internet Routing

Advanced BGP Policy. Advanced Topics

BGP Best Path Selection Algorithm

Load balancing and traffic control in BGP

GregSowell.com. Mikrotik Routing

BGP Terminology, Concepts, and Operation. Chapter , Cisco Systems, Inc. All rights reserved. Cisco Public

Transport Layer Protocols

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

Using the Border Gateway Protocol for Interdomain Routing

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

OSPF Routing Protocol

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

BGP Router Startup Message Flow

Interdomain Routing. Outline

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

Examination. IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

Network layer: Overview. Network layer functions IP Routing and forwarding

Final for ECE374 05/06/13 Solution!!

TCP in Wireless Mobile Networks

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Introduction to LAN/WAN. Network Layer (part II)

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

THE UNIVERSITY OF AUCKLAND

Active Queue Management (AQM) based Internet Congestion Control

Administra0via. STP lab due Wednesday (in BE 301a!), 5/15 BGP quiz Thursday (remember required reading), 5/16

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

BGP overview BGP operations BGP messages BGP decision algorithm BGP states

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Understanding Virtual Router and Virtual Systems

Chapter 6: Implementing a Border Gateway Protocol Solution for ISP Connectivity

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

TCP/IP Over Lossy Links - TCP SACK without Congestion Control

CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012

BGP: Border Gateway Protocol

Internet inter-as routing: BGP

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

Introduction to MPLS-based VPNs

Exercises TCP/IP Networking. Solution. With Solutions

IP Routing Configuring Static Routes

CSE 123: Computer Networks Fall Quarter, 2014 MIDTERM EXAM

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

Link-State Routing Protocols

Multihomed BGP Configurations

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

The ISP Column. An Introduction to BGP the Protocol

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

Monitoring Routing. Monitoring OSPF LSAs. Type 1 CHAPTER

BGP Basics. BGP Uses TCP 179 ibgp - BGP Peers in the same AS ebgp - BGP Peers in different AS's Private BGP ASN. BGP Router Processes

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

Understanding Route Redistribution & Filtering

JUNOS Secure BGP Template

Bell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

BGP as an IGP for Carrier/Enterprise Networks

(Refer Slide Time: 02:17)

Lecture 12: Link-state Routing"

RFC 2547bis: BGP/MPLS VPN Fundamentals

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

Chapter 49 Border Gateway Protocol version 4 (BGP-4)

Active measurements: networks. Prof. Anja Feldmann, Ph.D. Dr. Nikolaos Chatzis Georgios Smaragdakis, Ph.D.

Transcription:

ECSE-6600: Internet Protocols Exam 2 Time: 75 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT omit necessary detail {Note: Simply copying text directly from the slides or notes will not earn (partial) credit. Brief, clear and consistent explanation will.} 1

I. Below, you are given a true or false statement and asked a follow up question. 1. [5 pts] True statement: TCP uses a three-way handshake for connection setup. (5 pt) Explain why TCP does not use a two-way handshake. What extra functionality is gained in a three-way handshake that is not possible with a two-way handshake? 3-way handshake makes duplex connections possible. We need 2 sets of sequence numbers for two-way communication. 2

2. (5 pts) True statement: The IP address, Area ID, AS number are all identifiers. (5 pts) Explain why we need new identifiers like area ID and ASN? Why not encode them into the IP address, similar to the way a network ID and interface ID were encoded? There can be a lot of areas with common IP prefixes. So identifying areas with IP addresses will be hard. Also a single area might encompass many IP prefixes. Routing among AS s becomes possible. 3

3. (5 pts) True statement: OSPF uses a sequence number field and an Age Field (5 pts) Explain why we need both these fields? Why not solve the problems which they address with a single field? Age prevents old LSAs from looping in the network forever or to avoid stale information from affecting the database. This is similar to TTL field in IP packets. We need sequence number field to consider only the latest LSAs. If we have just a sequence number field, we will not be able to remove looping LSA packets. If we have only the age field, we will not detect duplicates. 4

4. (5 pts) True statement: Hello exchange and database synchronization is done using different methods when OSPF is mapped to a broadcast LAN, compared to how it is done on a point-to-point link (5 pts) Explain what are the differences in how Hellos are exchanged and how database synchronization is done in broadcast LANs, when compared to how it is done on a point-to-point link. In a broadcast LAN: A Hello is sent to the multicast address AllSPFRouters and this prevents readvertisment, since all routers on the broadcast link receive the Hello. Instead of sending N-1 (assuming there are N hosts in the network) Hellos we send only 1 Hello. LSAs are sent to the multicast address AllSPFRouters and the LSA ACKs are sent only to AllDRRouters address. Hence this avoids sending separate copies to DR and BDR. 5

5. (5 pts) True statement: EGP and I-BGP can result in looping packets if a full mesh or tree structure is not imposed, whereas E-BGP does not have this problem (5 pts) Explain why EGP and I-BGP have this looping problem, and why E-BGP does not have this problem. Header info in EGP and I-BGP does not give distance or a list of path elements that can prevent a loop. Therefore a logical topology that is loop-free has to be enforced. 6

6. (5 pts) True statement: Recursive lookup is performed by BGP before accepting any route. (5 pts) Explain why recursive lookup is necessary in BGP (it was not needed in OSPF!)? BGP nexthop is not the same as IP-nexthop and doesn t guarantee the existence of an IP-nexthop. Recursive lookup resolves BGPnexthop to give the IP-nexthop. 7

II. [10 pts] TCP Congestion Control (4 pts) TCP congestion control has four key pieces: self-clocking, slow start phase, congestion avoidance phase and fast retransmit/recovery. Explain what is the role of each piece, and how they are complementary to each other in terms of functionality. (3 pts) What are the key differences between TCP Reno and SACK from both a retransmission perspective and congestion control perspective? (3 pts) How does the use of active queue management (AQM) schemes like random early detection/drop (RED) at routers help TCP congestion control over-and-above the congestion control functions at end-systems? Self-clocking: Takes care of packet conservation principle, that is the network has as many unacked packets as the window provides. Slow-start: Probes the available bandwidth to the connection quickly using an exponential window increase. Congestion Avoidance: In this phase, congestion has been detected and the window increase is much slower to avoid further losses. Fast retransmit/recovery: To facilitate quick detection of congestion, TCP reacts to triple duplicate acks by cuttings its window to ssthresh. It retransmits the packet for which the ACK was not received this is fast retransmit; by fast recovery, we mean the window is not allowed to fall to 1, TCP is allowed to send a packet if the window allows it. Reno vs SACK: In Reno we have cumulative ACKs and so a packet loss causes retransmit starting from the unacked packet. With SACK all the received bytes are acked. So the retransmission is only for those bytes that were lost. From a congestion control perspective SACK avoids more timeouts. AQM: helps TCP reduce losses by a) Conveying early congestion signals, b) Distributing losses randomly and hence preventing burst losses and consequent timeouts. 8

9

IV. [10 pts] BGP Policy Routing and Load Balancing: a) (5 pts) BGP allows for policy routing by filtering routes at the inbound and outbound points. Discuss the advantages and limitations of this approach, compared to a link-state approach where each AS advertises the policies it has for every inter-domain link, and each node uses this map to determine an end-to-end route. b) (5 pts) BGP provides multiple hooks for load-balancing: MED, LOCAL-PREF, punching holes in prefixes/subverting CIDR, AS-path padding and communities. Briefly state some goals for load-balancing and analyze how effective each of these hooks are in meeting those goals. a)advantages: Filtering is a local strategy and changes can be effected quickly. It has no control overhead since we need not advertise the policy. Limitations: Lack of global information for computing routes could mean sub-optimal routes being chosen. Policy can be anonymous (not everyone knows my policy). b)goals for load balancing: To equally distribute inbound/outbound traffic among multiple paths available. To avoid route-flapping while still adjusting routing to effect load balancing. MED can be used to specify preferences for incoming traffic. But they can export instability. Local-pref can help choose between multiple exits from an AS, but this might override an external AS s preferences. Subverting CIDR can help receive traffic on different interfaces, but this increases routing table sizes remotely and changes cannot be effected quickly. Padding can regulate inbound traffic by advertising artificially larger AS-Paths. Communities allow arbitrary local inbound/outbound policies given that other providers co-operate. 10

11