How to deal with large numbers (millions) of entities in a system? IP devices in the internet (0.5 billion) Users in P2P network (millions)

Similar documents
Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

Network Layer: Internet Protocol

RSC Part II: Network Layer. 3. IP addressing. II.5 Network routing. II. 1 Basic Network layer concepts II.2 Introduction to IP

Design principles/protocol functions

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Network Layer: Control/data plane, addressing, routers

internet technologies and standards

Computer Networking Introduction

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CS 3516: Advanced Computer Networks

Chapter 4: Network Layer

Master Course Computer Networks IN2097

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Chapter 4 Network Layer: The Data Plane

Network layer: Overview. Network Layer Functions

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

RSC Part II: Network Layer 3. IP addressing (2nd part)

CSC 4900 Computer Networks: Network Layer

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

CSC 401 Data and Computer Communications Networks

Design Principles / Protocol Functions. 1: Separation of Control and Data

Lecture 12: Aggregation. CSE 123: Computer Networks Alex C. Snoeren

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

IP Addressing & Interdomain Routing. Next Topic

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Basics of communication. Grundlagen der Rechnernetze Introduction 31

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Internet Addresses Reading: Chapter 4. 2/11/14 CS125-myaddressing

Lecture 12: Addressing. CSE 123: Computer Networks Alex C. Snoeren

Internetworking Part 2

CS 457 Networking and the Internet. Addressing. Topics 9/15/16. Fall 2016 Indrajit Ray

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Addressing and Routing

Chapter 4: network layer

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. IP Addressing. Jasleen Kaur. Fall 2016

EE 122: Inter-domain routing Border Gateway Protocol (BGP)

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

Why dynamic route? (1)

COMP211 Chapter 4 Network Layer: The Data Plane

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

internet technologies and standards

Lecture 3: Packet Forwarding

Internet Network Protocols IPv4/ IPv6

Internetworking Part 2

Chapter 4: Network Layer

PART III. Implementing Inter-Network Relationships with BGP

CCE1030 Computer Networking

Lecture 17: Network Layer Addressing, Control Plane, and Routing

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Network layer Network Layer 4-1

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

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

Chapter IV: Network Layer

Chapter 4: Network Layer

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

IP Addressing. Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Other Developments: CIDR

CS4700/CS5700 Fundamentals of Computer Networks

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

COMP/ELEC 429 Introduction to Computer Networks

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

cs144 Midterm Review Fall 2010

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

IP Addressing & Forwarding

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Inter-Domain Routing: BGP

Network Layer. Chapter 5 Section 5.1, 5.3, 5.5, 5.6. CS 360 Spring 2012 Pacific University

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

ECE 4450:427/527 - Computer Networks Spring 2017

Mobility: vocabulary

IP Addresses. IP Addresses

Lecture 8. Network Layer (cont d) Network Layer 1-1

Announcements. IP Addressing & Forwarding. Designing IP s Addresses. Goals of Today s Lecture. Grouping Related Hosts. IP Addresses (IPv4)

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

EECS 122, Lecture 17. The Distributed Update Algorithm (DUAL) Optimization Criteria. DUAL Data Structures. Selecting Among Neighbors.

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Basic Idea. Routing. Example. Routing by the Network

CSc 450/550 Computer Networks Internet Routing

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

Layering and Addressing CS551. Bill Cheng. Layer Encapsulation. OSI Model: 7 Protocol Layers.

Chapter 4 Network Layer: The Data Plane

Routing by the Network

Internet Routing : Fundamentals of Computer Networks Bill Nace

CSCE 463/612 Networks and Distributed Processing Spring 2018

Computer Networks Prof. Ashok K. Agrawala

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Networking Potpourri: Plug-n-Play, Next Gen

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Computer Networks and Data Systems

CSC 4900 Computer Networks: Routing Protocols

Transcription:

Designs for Scale How to deal with large numbers (millions) of entities in a system? IP devices in the internet (0.5 billion) Users in P2P network (millions) More generally: Are there advantages to large scale? For every type of animal there is a most convenient size, and a large change in size inevitably carries with it a change of form. True for networks? 1

Dealing with scale: Hierarchical routing Scale: > 500 million destinations: Can t store all dest s in routing tables! Routing table exchange would swamp links! Administrative autonomy internet = network of networks Each network admin may want to control routing in its own network 2

Hierarchical routing Aggregate routers into regions, autonomous systems (AS) Routers in same AS run same routing protocol Intra-AS routing protocol Routers in different AS can run different intra-as routing protocol Gateway routers Special routers in AS Run intra-as routing protocol with all other routers in AS Also responsible for routing to destinations outside AS Run inter-as routing protocol with other gateway routers 3

Intra-AS and inter-as routing a C C.b b d A A.a a b A.c c B.a a B c b Gateways: Perform inter-as routing amongst themselves Perform intra-as routers with other routers in their AS inter-as, intra-as routing in gateway A.c network layer link layer physical layer 4

Intra-AS and inter-as routing (2) a Host h1 C C.b b A.a Inter-AS routing between A and B A.c a d A b c Intra-AS routing within AS A B.a a B c b Host h2 Intra-AS routing within AS B 5

Dealing with scale: Addressing Old-fashioned class-full addressing: class A B C 0 network host 10 network host 110 network host 1.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255 D 1110 multicast address 32 bits 224.0.0.0 to 239.255.255.255 6

IP addressing: CIDR Classful addressing: Inefficient use of address space, address space exhaustion E.g., class B net allocated enough addresses for 65K hosts, even if only 2K hosts in that network CIDR: Classless InterDomain Routing Network portion of address of arbitrary length Address format: a.b.c.d/x, where x is # bits in network portion of address network part 11001000 00010111 00010000 00000000 200.23.16.0/23 host part 7

IP addresses: How to get one? Q: How does network get network part of IP addr? A: Gets allocated portion of its provider ISP s address space ISP's block 11001000 00010111 00010000 00000000 200.23.16.0/20 Organization 0 11001000 00010111 00010000 00000000 200.23.16.0/23 Organization 1 11001000 00010111 00010010 00000000 200.23.18.0/23 Organization 2 11001000 00010111 00010100 00000000 200.23.20.0/23....... Organization 7 11001000 00010111 00011110 00000000 200.23.30.0/23 8

Hierarchical addr: Route aggregation Hierarchical addressing allows efficient advertisement of routing information: Organization 0 200.23.16.0/23 Organization 1 200.23.18.0/23 Organization 2 200.23.20.0/23 Organization 7. 200.23.30.0/23. Fly-By-Night-ISP Send me anything with addresses beginning 200.23.16.0/20 Internet ISPs-R-Us Send me anything with addresses beginning 199.31.0.0/16 9

Hierarchical addr: Route aggregation ISPs-R-Us has a more specific route to Organization 1 Organization 0 200.23.16.0/23 Organization 2 200.23.20.0/23 Organization 7. 200.23.30.0/23. Fly-By-Night-ISP Send me anything with addresses beginning 200.23.16.0/20 Internet Organization 1 200.23.18.0/23 ISPs-R-Us Send me anything with addresses beginning 199.31.0.0/16 or 200.23.18.0/23 10

Hierarchical addr: More specific routes Multiple advertised routes could hold destination 200.23.16.0/20 200.23.18.0/23 both hold 200.23.18.7 Always route to more specific destination (longest prefix match) Fly-By-Night-ISP ISPs-R-Us Send me anything with addresses beginning 200.23.16.0/20 Send me anything with addresses beginning 199.31.0.0/16 or 200.23.18.0/23 Internet 11

Dealing with scale Question: what are the advantages of large scale? Take advantage of having to do similar things for others (caching) Fault tolerance: Large number of servers We have redundancy; multiple routes between sites Metcalfe s law: Value of a network is proportional to square of number of things connected (bigger is better) Law of large numbers Allocation of resources based on average usage rather than peak Amortizing upgrade maintenance over a large population Popular network and services likely to be upgraded/improved Denial of service: Size/replication makes it harder to attack More generally, a system with replicated components is more survivable 12

Dealing with Scale Discussion: For every type of animal there is a most convenient size, and a large change in size inevitably carries with it a change of form. Question: True for networks? Why? How so? Examples? Ethernet doesn t scale up: Geographical distance, speed of light delays degrade performance of random access protocols. (geographic scaling). Maybe scale with # users in geographically narrow net if bandwidth scales with users As number of communicants scales, need to change/improve manner in which to access communication channel Example: small number of students, versus 500-class lecture. Keeping bandwidth fixed as # users scales Email versus HTTP Push systems work ok when small number of sender (email) Pull is better with large number of senders (http) 13

Dealing with Scale Discussion: For every type of animal there is a most convenient size, and a large change in size inevitably carries with it a change of form. Question: True for networks? Why? How so? Examples? Routing: Large number of users and optimal routes => requires lots of info to compute routes, etc... Doesn t scale Certain services become necessary when you get big Name storage/translation: DNS, phone books A single centralized site eventually breaks Need replication or other form of distribution As network gets bigger flooding breaks Use limited flooding, caching (Gnutella) Switched vs. routed networks Change from layer 2 switched networks to layer 3 routed networks as # users gets bigger 14