Network Layer (2): Addressing. Networked Systems 3 Lecture 9

Similar documents
IPv6 Address Planning

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

IPv6 Addressing. ISP Training Workshops

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

Internet Protocol version 4 Part I

IPv6 Addressing. John Rullan Cisco Certified Instructor Trainer Thomas A. Edison CTE HS

Introduction to The Internet

Introduction to The Internet. ISP/IXP Workshops

IP Addressing Introductory material.

IP Addressing. IP Addresses. Introductory material.

The Internet. On October 24, 1995, the FNC unanimously passed a resolution defining the term Internet.

The Internet Introductory material.

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

TCP/IP Basis. OSI Model

IPv6 The Big Picture. Rob Evans, Janet

Industry Automation White Paper Januar 2013 IPv6 in automation technology

Hurricane Electric is using this document to update its customers and anyone else interested in Hurricane Electric s network offerings.

Internet Addresses (You should read Chapter 4 in Forouzan)

The Regional Internet Registries

Internet Operations and the RIRs

Internet Structure and Organization

IPv6Program. Expanding the Internet. The IPv4 to IPv6 transition

Measuring IPv6 Deployment. Geoff Huston APNIC December 2009

IPv6 and IPv4 Update from the RIPE NCC. Sandra Brás, Ferenc Csorba

What is AfriNIC, IPv4 exhaustion & IPv6 transition

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Topic 1: Internet Architecture & Addressing

Internet Bodies.

ICS 351: Today's plan

Introduction to IP v6

Future Internet Technologies

IPv6 in Africa. Adiel A. Akplogan. CEO, AfriNIC IICA Workshop. 22, September 2011

IPv6 Address Design. A Few Practical Principles. Texas IPv6 Summit 20 November, 2012

Address Scheme Planning for an ISP backbone Network

RIPE Network Coordination Centre RIPE NCC LIR Tutorial

IPv6 in Axis Video Products

Components of Routing Table Growth

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Desirable Properties Of An Internet Addressing Scheme

IPv6.marceln.org.

WHITE PAPER SERIES Transition to IPv6

How To Get An Ipv6 Allocation On Ipv4 (Ipv4) From Ipv5) From The Ipvripe Ncc (Ip6) From A Ipvv6 Ipv2 (Ip4) To Ip

BGP. 1. Internet Routing

Fireware How To Dynamic Routing

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

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

SolarWinds Technical Reference

Internetworking and Internet-1. Global Addresses

How To Transition To Annia.Org From Aaa To Anora.Org

Deploying IPv6, Now. Christian Huitema. Architect Windows Networking & Communications Microsoft Corporation

Introduction to IP Numbers vs. Domain names. Adiel A. Akplogan CEO, AFRINIC. 2014

IPv6 and 4-byte ASN Update

Distributed Systems. 22. Naming Paul Krzyzanowski. Rutgers University. Fall 2013

Networks University of Stirling CSCU9B1 Essential Skills for the Information Age. Content

Move to IPv6 for business continuity

1. How many unique network IDs are there in class A addresses? # of unique hosts?

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Network layer. Assignment 3

Digital Economy Facilitation Division, OGCIO Industry Forum July 2012

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Network System Design Lesson Objectives

One of the most important topics in any discussion of TCP/IP is IP. IP Addressing

Chapter 2 TCP/IP Networking Basics

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Preparing VoIP and Unified Communications Systems for IPv6 Technical Summary September 2014

We Are HERE! Subne\ng

Networking Basics for Automation Engineers

CIDR: Classless Interdomain Routing

Are You Ready to Teach IPv6?

Planning the transition to IPv6

IPv6 Addressing and Subnetting

TCP/IP Network Essentials. Linux System Administration and IP Services

Oracle Communications Internet Name and Address Management

Technical Support Information Belkin internal use only

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

Internetworking and IP Address

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

IP Addressing A Simplified Tutorial

IP Subnetting and Addressing

DG Forwarding Algorithm

Burning Bridges - Routing Your Bridged WISP Network With MikroTik

Lecture Computer Networks

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

Cisco Virtual Office Express

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Creating an Enabling Environment for IPv6 Adoption

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Types of IPv4 addresses in Internet

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

4.1.2., , [Section Number Retired] Determination of IP address allocation

How Network Operators Do Prepare for the Rise of the Machines

A PKI For IDR Public Key Infrastructure and Number Resource Certification

Transcription:

Network Layer (2): Addressing Networked Systems 3 Lecture 9

Lecture Outline Addressing Concepts Addressing in the Internet IPv4 IPv6 The shortage of IPv4 addresses 2

Addressing How to name hosts in a network? Is the address an identity or a location? Does it name the host, or the location at which it attaches to the network How should addresses be allocated? Hierarchical or flat? What is the address format? Human or machine readable? Textual or binary? Structured or unstructured? Fixed or variable length? How large? 3

Identity and Location Addresses can denote host identity Give hosts a consistent address, irrespective of where or when they attach to the network Simple upper-layer protocols Transport layer and applications unaware of multi-homing or mobility Puts complexity in network layer Network must determine location of host before it can route data Often requires in-network database to map host identity to routable address E.g., mobile phone numbers 4

Identity and Location Alternatively, an address can indicate the location at which a host attaches to the network Address structure matches the network structure Network can directly route data given an address E.g., geographic phone numbers: +44 141 330 4256 Simplifies network layer, by pushing complexity to the higher layers Multi-homing and mobility must be handled by transport layer or applications transport layer connections break when host moves 5

Address Allocation Are addresses allocated hierarchically? Allows routing on aggregate addresses E.g., phone call to +1 703 243 9422! Route to US without looking at rest of number Forces address structure to match network topology Requires rigid control of allocations Or is there a flat namespace? Flexible allocations, no aggregation not scalable 6

Address Formats Textual or binary? Fixed or variable length? Fixed length binary easier (faster) for machines to process Variable length textual easier for humans to read Which are you optimising for? 7

IP Addresses IP addresses have the following characteristics: They specify location of a network interface They are allocated hierarchically They are fixed length binary values IPv4: 32 bits IPv6: 128 bits Domain names are a separate application level namespace 8

IP Addresses Both IPv4 and IPv6 addresses encode location Addresses are split into a network part and a host part A netmask describes the number of bits in the network part The network itself has the address with the host part equal to zero The broadcast address for a network has all bits of host part equal to one(allows messages to be sent to all hosts on a network) A host with several network interfaces will have one IP addresses per interface E.g., laptop with an Ethernet interface and a Wi-Fi interface will have two IP addresses 9

IPv4 Addresses 32 bit binary addresses IP address: 130.209.247.112 = 10000010 11010001 11110111 01110000 Netmask: 255.255.240.0 = 11111111 11111111 11110000 00000000 20 bits network = 130.209.240.0/20 Broadcast address: 130.209.255.255 = 10000010 11010001 11111111 11111111 10

Aside: Classes of IP address IP addresses used to be allocated so the netmask was a multiple of 8 bits Class A a /8 network (~16 million addresses) Class B a /16 network (65536 addresses) Class C a /24 network (256 addresses) Inflexible, and wasted addresses Old terminology still used sometimes...! Arbitrary length netmask allowed since 1993: The Glasgow SoCS network is a /20 11

IP Address Management IPv4 has 2 32 = 4,294,967,296 addresses IANA administers the pool of unallocated addresses Historically would assign addresses directly to ISPs, large enterprises, etc. Now, addresses assigned to regional Internet registries (RIRs) as needed: AfriNIC (Africa), APNIC (Asia-Pacific), ARIN (North America), LACNIC (Latin America and Caribbean), and RIPE (Europe, Middle East, Central Asia) Allocations made one /8 (2 24 = 16,777,216 addresses) at a time RIRs allocate addresses to ISPs and large enterprises within their region; ISPs allocate to their customers IANA has allocated all available addresses to RIRs Last allocation made on 3 February 2011 12

RIR IPv4 Address Exhaustion (1) 13 Source: Geoff Huston, APNIC 28 Dec 2014 http://ipv4.potaroo.net/

RIR IPv4 Address Exhaustion (2) ARIN & AFRINIC still allocating addresses at time of writing, others have stopped general use allocations. Predicted exhaustion dates for ARIN & AFRINIC are based on their currently announced policies. 14 Source: Geoff Huston, APNIC 28 Dec 2014 http://ipv4.potaroo.net/

The IPv4 Address Space is Fully Used In practical terms, we have run out of IPv4 address space 15

IPv6 IPv6 provides 128 bit addresses if deployed it will solve address shortage for a long time 2 128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 addresses! Approximately 665,570,793,348,866,943,898,599 addresses per square metre of the Earth s surface 16

IPv6 Addresses 128 bit binary addresses, written as : separated hexadecimal 2001:0db8:85a3:08d3:1319:8a2e:0370:7334 A single run of consecutive zeros can be compressed to a :: 2001:200::8002:203:47ff:fea5:3085 17

IPv6 Addresses Local identifier part of IPv6 address is 64 bits: 2001:0db8:85a3:08d3:1319:8a2e:0370:7334 Local identifier part Can be derived from Ethernet/Wi-Fi MAC address: 48 bit IEEE MAC: 0014:5104:25ea Expand to 64 bits: Invert bit 6: 0014:51ff:fe04:25ea 0214:51ff:fe04:25ea Or randomly chosen, with bit 6 set to zero, to give illusion of privacy 18

IPv6 Addresses Routers advertise network part, hosts auto-configure address: 2001:0db8:85a3:08d3:1319:8a2e:0370:7334 Network part Network part is split into a global routing prefix (a.k.a. routing goop of up to 48 bits) and a subnet identifier Formalises the distinction present in IPv4: 130.209.247.112 = 10000010 11010001 11110111 01110000 Global routing prefix Subnet Host Netmask 19

IPv6 Deployment Issues IPv6 requires changes to every single host, router, firewall, and application... Significant deployment challenge! Host changes done: MacOS X, Windows, Linux, FreeBSD, Symbian, ios, Android, etc. Backbone routers generally support IPv6, home routers and firewalls (mostly) not yet Many applications have been updated 20

NAT vs. IPv6 NAT widely deployed for IPv4 Initially seems simple: no host changes; web browsing and email still work But hugely complicated for peer-to-peer applications lecture 14 Very difficult to debug problems, or deploy new classes of application! IPv6 starting to see large-scale use: 21 Source: Geoff Huston, APNIC 28 Dec 2014 http://bgp.potaroo.net/v6/as2.0/

Summary Addressing: identity vs. location, address formats Internet addressing: IPv4 and address exhaustion IPv6 22