CS 457 – Lecture 14 Global Internet

Slides:



Advertisements
Similar presentations
Addressing: IPv4, IPv6, and Beyond
Advertisements

Routing Basics.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Fundamentals of Computer Networks ECE 478/578 Lecture #14: InternetWorking Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
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.
CS4550 Computer Networks II IP : internet protocol, part 3 : routing policies, IPv6.
Computer Networks: Global Internet Global Internet.
Internet Routing (COS 598A) Today: Addressing and Routing Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
1 EE 122: IP Addressing Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern Paxson, Jennifer.
CS 164: Global Internet Slide Set In this set... More about subnets Classless Inter Domain Routing (CIDR) Border Gateway Protocol (BGP) Areas with.
IP Addressing and Forwarding COS 461: Computer Networks Spring 2011 Mike Freedman 1.
IP Addressing and Forwarding COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in COS 105) Michael Freedman
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
1 Internet Routing Jennifer Rexford Princeton University
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
Dr. John P. Abraham Professor University of Texas Pan American Internet Routing and Routing Protocols.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Introduction to BGP.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
Chapter 6 VLSM and CIDR.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
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.
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.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Spring 2006CS 3321 Interdomain Routing. Spring 2006CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
Inter-domain Routing Outline Border Gateway Protocol.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
NWEN 243 Networked Applications Lecture 10: Layer 3 – BGP & IP © , Kris BubendorferNWEN 243.
IP Addressing Introductory material.
Chapter 4: Network Layer
Working at a Small-to-Medium Business or ISP – Chapter 6
Computer Networks Routing Algorithms.
Click to edit Master subtitle style
Routing BY, P.B.SHANMATHI.
Chapter 4: Network Layer
IP.
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Introduction To Networking
Intra-Domain Routing Jacob Strauss September 14, 2006.
CS 457 – Lecture 10 Internetworking and IP
IPv4 Addresses.
Dynamic Routing Protocols
After 3.2 Revised
Dynamic Routing and OSPF
IP Addressing Introductory material
Chapter 4: Network Layer
Chapter 4: Network Layer
Planning the Addressing Structure
Dynamic Routing Protocols
COS 461: Computer Networks
Chapter 4: Network Layer
Working at a Small-to-Medium Business or ISP – Chapter 6
COMP/ELEC 429/556 Introduction to Computer Networks
Dr. John P. Abraham Professor UTRGV
CS 31006: Computer Networks – Moving From End-to-End To Per Hop
COMPUTER NETWORKS CS610 Lecture-41 Hammad Khalid Khan.
CIDR: Classless Interdomain Routing
Computer Networks Protocols
Presentation transcript:

CS 457 – Lecture 14 Global Internet Spring 2012

IP Address Allocation

Hierarchical Addressing: IP Prefixes Divided into network & host portions (left and right) 12.34.158.0/24 is a 24-bit prefix with 28 addresses 12 34 158 5 00001100 00100010 10011110 00000101 Network (24 bits) Host (8 bits)

IP Address and 24-bit Subnet Mask 12 34 158 5 00001100 00100010 10011110 00000101 11111111 00000000 255 255 255 Mask

Classful Addressing In the olden days, only fixed allocation sizes Class A: 0* Very large /8 blocks (e.g., MIT has 18.0.0.0/8) Class B: 10* Large /16 blocks (e.g,. Princeton has 128.112.0.0/16) Class C: 110* Small /24 blocks (e.g., AT&T Labs has 192.20.225.0/24) Class D: 1110* Multicast groups Class E: 11110* Reserved for future use This is why folks use dotted-quad notation!

Classless Inter-Domain Routing (CIDR) Use two 32-bit numbers to represent a network. Network number = IP address + Mask IP Address : 12.4.0.0 IP Mask: 255.254.0.0 Address 00001100 00000100 00000000 11111111 11111110 00000000 Mask Network Prefix for hosts Written as 12.4.0.0/15

CIDR: Hierarchal Address Allocation Prefixes are key to Internet scalability Address allocated in contiguous chunks (prefixes) Routing protocols and packet forwarding based on prefixes Today, routing tables contain ~250,000-300,00 prefixes 12.0.0.0/16 : 12.1.0.0/16 12.3.0.0/24 12.2.0.0/16 12.3.1.0/24 12.3.0.0/16 : : : 12.0.0.0/8 12.3.254.0/24 12.253.0.0/19 12.253.32.0/19 12.253.64.0/19 12.254.0.0/16 12.253.96.0/19 12.253.128.0/19 12.253.160.0/19

Scalability Through Hierarchy Hierarchical addressing Critical for scalable system Don’t require everyone to know everyone else Reduces amount of updating when something changes Non-uniform hierarchy Useful for heterogeneous networks of different sizes Initial class-based addressing was far too coarse Classless Inter Domain Routing (CIDR) helps Next few slides History of the number of globally-visible prefixes Plots are # of prefixes vs. time

Pre-CIDR (1988-1994): Steep Growth Growth faster than improvements in equipment capability

CIDR Deployed (1994-1996): Much Flatter Efforts to aggregate (even decreases after IETF meetings!)

CIDR Growth (1996-1998): Roughly Linear Good use of aggregation, and peer pressure in CIDR report

Boom Period (1998-2001): Steep Growth Internet boom and increased multi-homing

Long-Term View (1989-2011) From: http://bgp.potaroo.net/

Obtaining a Block of Addresses Separation of control Prefix: assigned to an institution Addresses: assigned by the institution to their nodes Who assigns prefixes? Internet Corporation for Assigned Names and Numbers Allocates large address blocks to Regional Internet Registries Regional Internet Registries (RIRs) E.g., ARIN (American Registry for Internet Numbers) Allocates address blocks within their regions Allocated to Internet Service Providers and large institutions Internet Service Providers (ISPs) Allocate address blocks to their customers Who may, in turn, allocate to their customers…

Figuring Out Who Owns an Address Address registries Public record of address allocations Internet Service Providers (ISPs) should update when giving addresses to customers However, records are notoriously out-of-date Ways to query UNIX: “whois –h whois.arin.net 128.112.136.35” http://www.arin.net/whois/ http://www.geektools.com/whois.php …

Example Output for 128.112.136.35 OrgName: Princeton University OrgID: PRNU Address: Office of Information Technology Address: 87 Prospect Avenue City: Princeton StateProv: NJ PostalCode: 08544-2007 Country: US NetRange: 128.112.0.0 - 128.112.255.255 CIDR: 128.112.0.0/16 NetName: PRINCETON NetHandle: NET-128-112-0-0-1 Parent: NET-128-0-0-0-0 NetType: Direct Allocation RegDate: 1986-02-24

Hard Policy Questions How much address space per geographic region? Equal amount per country? Proportional to the population? What about addresses already allocated? Address space portability? Keep your address block when you change providers? Pro: avoid having to renumber your equipment Con: reduces the effectiveness of address aggregation Keeping the address registries up to date? What about mergers and acquisitions? Delegation of address blocks to customers? As a result, the registries are horribly out of date Many Of These Questions Still Being Answered Let’s understand how Internet routing works…

Global Internet Routing Objective is to provide routes to prefixes Could be an IPv4 prefix Could be an IPv6 prefix Route should get you to the right “??” Route to 129.82.0.0/16 should get you to ColoState Once here, packet may follow a RIP or OSPF route to the right subnet

Autonomous Systems What is an AS? a set of routers under a single technical administration uses an interior gateway protocol (IGP) and common metrics to route packets within the AS uses an exterior gateway protocol (EGP) to route packets to other AS’s AS may use multiple IGPs and metrics, but appears as single AS to other AS’s

Example IGP IGP EGP EGP EGP EGP IGP EGP IGP IGP 1 2 2.1 2.2 1.1 1.2 2.2.1 EGP EGP EGP 3 4.2 4.1 IGP EGP 4 IGP 5 3.2 3.1 IGP 5.2 5.1

BGP Routing Choices Link state or distance vector? no universal metric - policy decisions Problems with distance-vector: Bellman-Ford algorithm slow to converge (counting to infinity problem) Problems with link state: metric used by routers not the same - loops LS database too large - entire Internet may expose policies to other AS’s