Cpsc527 - Lecture 3. IPv6 (RFC1883) Dr. Son Vuong UBC

Similar documents
IPv6. IPv6, MPLS. IPv6. IPv6 Addresses. IPv4 Packet Format. IPv6. History

Rocky Mountain IPv6 Summit April 9, 2008

Internet Protocol, Version 6

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

IPng (IPv6) Motivation. Currently: mainly servers, workstations, SLIP/PPP Address space exhaustion + new uses:

Network Layer Part A (IPv6) Network Layer 4-1

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

Lecture Computer Networks

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

TSIN02 - Internetworking

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

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

Planning for Information Network

Networking Potpourri: Plug-n-Play, Next Gen

IP Next Generation (IPv6)

IPv6: An Introduction

IPv6 Concepts. Improve router performance Simplify IP header Align to 64 bits Address hierarchy with more levels Simplify routing tables

IPv6. (Internet Protocol version 6)

ECE 435 Network Engineering Lecture 14

Aeronautical Systems Center

CSCI-1680 Network Layer:

EEC-684/584 Computer Networks

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

CSF645 Mobile Computing 行動計算. IPv6. (Internetworking With TCP/IP vol Part 31) 吳俊興國立高雄大學資訊工程學系

Subnet Masks. Address Boundaries. Address Assignment. Host. Net. Host. Subnet Mask. Non-contiguous masks. To Administrator. Outside the network

Operation Manual IPv6 H3C S3610&S5510 Series Ethernet Switches Table of Contents. Table of Contents

IPv6 Basics. APNIC Training Bali, Indonesia February, Jordi Palet - 1

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

IPv6 Next generation IP

The Internet. The Internet is an interconnected collection of netw orks.

OSI Data Link & Network Layer

Seminar IPv6. Omicron 1

CSC 401 Data and Computer Communications Networks

IPv6 : Internet Protocol Version 6

History. IPv6 : Internet Protocol Version 6. IPv4 Year-Wise Allocation (/8s)

Institute of Computer Technology - Vienna University of Technology. L80 - IP Version 6

IP version 6. The not so new next IP version. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam.

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

IPv4/v6 Considerations Ralph Droms Cisco Systems

7th Slide Set Computer Networks

LOGICAL ADDRESSING. Faisal Karim Shaikh.

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Addresses, Protocols, and Ports

Lecture 3. The Network Layer (cont d) Network Layer 1-1

TCP/IP Protocol Suite

Foreword xxiii Preface xxvii IPv6 Rationale and Features

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Introduction to IPv6. Stig Venaas, UNINETT /18/2001

CSCD 433/533 Advanced Networks Spring Lecture 20 IPv6 and Tunnels

CMPE 80N: Introduction to Networking and the Internet

ECE 158A: Lecture 7. Fall 2015

IPv6 Protocol Architecture

Integrated Security 22

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

IPv6 Protocol. Does it solve all the security problems of IPv4? Franjo Majstor EMEA Consulting Engineer Cisco Systems, Inc.

Introduction to IPv6. IPv6 addresses

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Addresses, Protocols, and Ports

OSI Data Link & Network Layer

Lecture 7 Overview. IPv6 Source: Chapter 12 of Stevens book Chapter 31 of Comer s book

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

The Interconnection Structure of. The Internet. EECC694 - Shaaban

internet technologies and standards

New IP Header. Why change IP. Address Notation. Changes. Information Sources. IP Version 6 ITL

Information Sources Hans Kruse & Shawn Ostermann, Ohio University

IP: (Internet Protocol) IP - 1

SEN366 (SEN374) (Introduction to) Computer Networks

IPv6 tutorial. RedIRIS Miguel Angel Sotos

ET4254 Communications and Networking 1

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

Internet Routing Protocols Part II

INTRODUCTION OF IPV6. Ravikumar Naik 21/11/2011

OSI Data Link & Network Layer

Internet Protocols (chapter 18)

Chapter 09 Network Protocols

Communication Systems IPv6

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

Network Layer. Goals of This Lecture. Internet Reference Model. Outline of the Class

01/17/08 TDC /17/08 TDC363-03

Chapter 19 Network Layer: Logical Addressing

Introduction to IPv6. IPv6 addresses

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

An Industry view of IPv6 Advantages

Configuring IPv6 for Gigabit Ethernet Interfaces

Configuring IPv6. Information About IPv6. Send document comments to CHAPTER

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

Chapter 5 Network Layer

Chapter 12 Network Protocols

Information Sources Hans Kruse & Shawn Ostermann, Ohio University

Advanced Computer Networking. CYBR 230 Jeff Shafer University of the Pacific. IPv6

Network layer: Overview. Network Layer Functions

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

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

The Netwok Layer IPv4 and IPv6 Part 2

Transcription:

Cpsc527 - Lecture 3 IPv6 (RFC1883) Dr. Son Vuong UBC 1

Overview Limitations of current Internet Protocol (IP) How many addresses do we need? Features of new IP Address Allocation Provider selection Mobility Autoconfiguration 2

IP Addresses Example: 164.107.134.5 = 1010 0100 : 0110 1011 : 1000 0110 : 0000 0101 = A4:6B:86:05 (32 bits) Maximum number of address = 2 32 = 4 Billion Class A Networks: 15 Million nodes Class B Networks: 64,000 nodes or less Class C Networks: 250 nodes or less 3

IP Address Class A: 0 Network Local Class B: Class C: Class D: 1 7 24 bits 10 Network Local 2 14 16 bits 110 Network Local 3 21 8 bits 1110 Host Group (Multicast) 4 28 bits Local = Subnet + Host (Variable length) Router Router Subnet 4

Three Possible IP Death Scenario Year Networks Computers 1980 10 10 2 1990 10 3 10 5 1997 10 6 10 8 No more addresses No more network numbers Too big routing tables and routing messages Band-aids for mobility, integrated services, security In 12/1987: Network number shortage [Callon] 5

How Many Addresses 10 Billion people by 2020 Do We Need? Each person will be served by more than one computer Assuming 100 computers per person 10 12 computers More addresses may be required since Multiple interfaces per node Multiple addresses per interface Some believe 2 6 to 2 8 addresses per host Safety margin 10 15 addresses IPng Requirements 10 12 end systems and 10 9 networks Desirable 10 12 to 10 15 networks 6

IPv6 Addresses 128-bit long. Fixed size 2 128 = 3.4 10 38 addresses 665 10 21 addresses per sq. m of earth surface If assigned at the rate of 10 6 /µs, it would take 20 years Expected to support 8 10 17 to 2 10 33 addresses 8 10 17 1,564 addresses per sq. m Assigned to Interfaces. Allows multiple interfaces per host. Allows multiple addresses per interface Allows unicast, multicast, anycast Allows provider based, site-local, link-local 85% of the space is unassigned 7

Colon-Hex Notation Dot-Decimal: 127.23.45.88 Colon-Hex: FEDC:0000:0000:0000:3243:0000:0000:ABCD Can skip leading zeros of each word Can skip one sequence of zero words, e.g., FEDC::3243:0000:0000:ABCD ::3243:0000:0000:ABCD 3243:0000:0000:ABCD:: Can leave the last 32 bits in dot-decimal, e.g., ::127.23.45.88 Can specify a prefix by /length, e.g., 2345:BA23:7000::/40 8

Initial IPv6 Prefix Allocation Allocation Prefix Allocation Prefix Reserved 0000 0000 Unassigned 101 Unassigned 0000 0001 Unassigned 110 NSAP 0000 001 Unassigned 1110 IPX 0000 010 Unassigned 1111 0 Unassigned 0000 011 Unassigned 1111 10 Unassigned 0000 1 Unassigned 1111 110 Unassigned 0001 Unassigned 1111 1110 Unassigned 001 Unassigned 1111 1110 0 Provider-based 010 Link-Local 1111 1110 10 Unassigned 011 Site-Local 1111 1110 11 Geographic 100 Multicast 1111 1111 9

Provider-based Unicast Addresses 3 n bits m bits o bits p bits 125-m-n-o-p 010 Registry ID Provider ID Subscriber ID Subnet ID Interface ID 5-bit Registry: 18 hex InterNIC, 8 RIPNIC, 14 hex APNIC, 10 hex IANA Variable size partitions (n=5, m=16, 0=24, p=32, Interface=48) Multiple subnets per subscriber (physical link) One subnet cannot span multiple subscribers (physical links) 10

Local-Use Addresses Link Local: Not forwarded outside the link (LAN), FE:80::xxx 10 bits n bits 118-n 1111 1110 10 0 Interface ID Site Local: Not forwarded outside the site (LANs), FE:C0::xxx 10 bits n bits m bits 1111 1110 11 0 Subnet ID 118-n-m bits Interface ID Provides plug and play 11

Multicast Addresses 0 0 0 T T = 0 Permanent (well-known) multicast address, 1 Transient Scope: 8 bits 4 bits 4 bits 112 bits 1111 1111 Flags Scope Group ID 1 Node-local 2 Link-local 5 Site-local 8 Organization-local E Global (0,F: reserved) Predefined: 1 All nodes, 2 Routers, 1:0 DHCP servers 12

Multicast Addresses (Cont) Example: 43 Network Time Protocol Servers FF01::43 All NTP servers on this node FF02::43 All NTP servers on this link FF05::43 All NTP servers in this site FF08::43 All NTP servers in this organization FF0E::43 All NTP servers in the Internet 13

IP Version Numbers Assigned by Internet Assigned Number Authority (IANA) Version 1-3 were never formally assigned IPv4: Current IP IPv5: ST IPv6: IP - The Next Generation (based on a TV show) IPv7: Initial next generation (One of the IAB documents incorrectly reported current version as 6) 14 n

Header IPv6: Version Priority Flow Label Payload Length Next Header Hop Limit Source Address Destination Address IPv4: Version IHL Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source Address Destination Address Options Padding 15

1995 vs 1975 IPv6 vs IPv4 IPv6 only twice the size of IPv4 header Only version number has the same position and meaning as in IPv4 Removed: header length, type of service, identification, flags, fragment offset, header checksum Redefined: length, protocol type, time to live Added: Priority and flow label All fixed size fields. No optional fields. Replaced by extension headers. 8-bit hop limit = 255 hops max (Limits looping) Next Header = 6 (TCP), 17 (UDP), 16

Protocol and Header Types Decimal Keyword Header Type 0 HBH Hop-by-hop (IPv6) 1 ICMP Internet Control Message 2 IGMP Internet Group Management (IPv4) 3 GGP Gateway-to-Gateway 4 IP IP in IP (IPv4 Encaptulation) 5 ST Stream 6 TCP 17 UDP 29 ISO-TP4 43 RH Routing Header (IPv6) 44 FS Fragmentation Header (IPv6) 45 IDRP Interdomain Routing 51 AH Authentication header (IPv6) 52 ESP Encrypted Security Payload 59 Null No next header 60 ISO-IP CLNP 88 IGRP 89 OSPF Open Shortest Path First 17

Extension Headers Base Header Extension Header 1 Extension Header n Data Most extension headers are examined only at destination Routing: Loose or tight source routing Fragmentation: All IPv6 routers can carry 536 Byte payload Authentication Security Encaptulation: Confidentiality Hop-by-Hop Option: Special options that require processing at every node, e.g., jumbogram option for packets longer than 64 kb - upto 4GB (32-bit length) Destination Options: 18

Routing Header Next Header Reserved Routing Type Num. Address Next Address Strict/Loose bit mask Address 1 Address 2 Address n Strict Discard if Address[Next-Address] neighbor Type = 0 Current source routing Type > 0 Policy based routing (later) New Functionality: Provider selection, Host mobility, Autoreaddressing (route to new address) 19

Address Autoconfiguration Allows plug and play BOOTP and DHCP are used in IPv4 DHCPng will be used with IPv6 Two Methods: Stateless and Stateful Stateless: A system uses link-local address as source and multicasts to "All routers on this link" Router replies and provides all the needed prefix info All prefixes have an associated lifetime System can use link-local address permanently if no router 20

Address Autoconfiguration (Cont) Two lifetimes: Valid > preferred Prefix cannot be used after valid lifetime expires Prefix can be used after preferred lifetime expires but it is better to choose other addresses Duplicate Detection: Send to self Stateful: Problem w stateless: Anyone can connect Routers ask the new system to go DHCP server (by setting managed configuration bit) System multicasts to "All DHCP servers" DHCP server assigns an address 21

Transition Mechanisms Dual-IP Hosts, Routers, Name servers Tunneling IPv6 over IPv4 Hosts and Routers can be gradually upgraded to IPv6 It is better (though not required) to upgrade routers before upgrading hosts Application Internet Dual TCP IPv4 IPv6 Ethernet IPv4 22

Tunneling Logical view: Dual IPv6/IPv4 Router Dual IPv6/IPv4 Router A B E F tunnel IPv6 IPv6 IPv6 IPv6 Physical view: A B C D E F IPv6 IPv6 IPv4 IPv4 IPv6 IPv6 Flow: X Src: A Dest: F data Src:B Dest: E Flow: X Src: A Dest: F Src:B Dest: E Flow: X Src: A Dest: F Flow: X Src: A Dest: F data data data A-to-B: IPv6 Cpsc 317 Fall 2006 Dr. Son Vuon B-to-C: IPv6 inside IPv4 B-to-C: IPv6 inside IPv4 E-to-F: IPv6 22b

Transition Mechanisms (Cont) Domain Name Server (DNS) records will tell hosts which IP to use for a destination IPv4 addresses use record type "A" with 32-bit addresses IPv6 will use record type "AAAA" (quad-a) with 128-bit addresses DNS servers may be upgraded to provide the new record type but may use IPv4 for communication IPv6 hosts may also use manually configured host tables if no upgraded DNS server 23

Application Issues Most application protocols will have to be upgraded FTP, SMTP, Telnet, Rlogin 27 of 51 Full Internet standards, 6 of 20 draft standards, 25 of 130 proposed standards will be revised for IPv6 No checksum checksum at upper layer is mandatory, even in UDP non-ietf standards: X-Open, Kerberos,... will be updated Should be able to request and receive AAAA DNS records May want to take advantage of new features: Security, flow control, encryption,... Extension to TCP socket interface has already been developed 24

Implementations 4.4-lite BSD by US Naval Research Laboratory (NRL) UNIX, OPEN-VMS by Digital Equipment Corporation. DOS/WINDOWS by FTP Software HP-UX SICS (Swedish Institute of Computer Science) Linux NetBSD by INRIA Rocquencourt Solaris 2 by Sun Streams by Mentat Routers: Cisco, Nortel, Juniper, Hitachi, Bitway Complete list in: http://www.ipv6.org/impl/index.html 25

Summary IPv6 uses 128-bit addresses Allows provider-based, site-local, link-local, multicast, anycast addresses Fixed header size. Extension headers instead of options. Extension headers for provider selection, security Allows auto-configuration Dual-IP router and host implementations for transition 26