IPv6: An Introduction

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

Lecture Computer Networks

Planning for Information Network

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

TSIN02 - Internetworking

IPv6 Next generation IP

LOGICAL ADDRESSING. Faisal Karim Shaikh.

TCP/IP Protocol Suite

CSEP 561 Internetworking. David Wetherall

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

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

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Internet Protocol, Version 6

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

Internetworking Part 2

An Industry view of IPv6 Advantages

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

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

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

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

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

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

Mobile Communications Chapter 8: Network Protocols/Mobile IP

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

EEC-684/584 Computer Networks

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

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

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

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

Chapter 09 Network Protocols

CSCI-1680 Network Layer:

Introduction to IPv6 - II

Internetworking Part 2

Radware ADC. IPV6 RFCs and Compliance

Foreword xxiii Preface xxvii IPv6 Rationale and Features

IPv6 tutorial. RedIRIS Miguel Angel Sotos

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

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

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August

internet technologies and standards

LECTURE 8. Mobile IP

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

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

Network Layer: Internet Protocol

Introduction to IPv6

IPv6. Internet Technologies and Applications

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

Transition to IPv6. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Internet Routing Protocols Part II

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

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

Introduction to IPv6. IPv6 addresses

Chapter 12 Network Protocols

TSIN02 - Internetworking

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Mobile Communications Chapter 9: Network Protocols/Mobile IP

Internet Protocol version 6

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Transitioning to IPv6

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

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

IP - The Internet Protocol

The Interconnection Structure of. The Internet. EECC694 - Shaaban

IP: (Internet Protocol) IP - 1

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

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

IPv6 Protocol Architecture

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

Network Layer (4): ICMP

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

Mobility Management - Basics

OSI Data Link & Network Layer

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

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

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

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

Mobility Management Basics

IPv6 migration challenges and Security

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

Communication Systems DHCP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 19 Network Layer: Logical Addressing

IPv6. (Internet Protocol version 6)

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Internet Protocols (chapter 18)

IPv4/v6 Considerations Ralph Droms Cisco Systems

Configuring IPv6 basics

Introduction to TCP/IP networking

Guide to TCP/IP Fourth Edition. Chapter 2: IP Addressing and Related Topics

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

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

Acknowledgments. Part One - Introduction to the TCP/IP Protocol

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

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

Seminar IPv6. Omicron 1

Mobile Communications Mobility Support in Network Layer

ECE 435 Network Engineering Lecture 14

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

Transcription:

Outline IPv6: An Introduction Dheeraj Sanghi Department of Computer Science and Engineering Indian Institute of Technology Kanpur dheeraj@iitk.ac.in http://www.cse.iitk.ac.in/users/dheeraj Problems with IPv4 Basic IPv6 Protocol IPv6 features Auto-configuration, QoS, Security, Mobility Transition Plans IIT Kanpur 1 Internet Protocol Transports a datagram from source host to destination, possibly via several intermediate nodes ( routers ) Service is: Unreliable: Losses, duplicates, out-of of-order order delivery Best effort: Packets not discarded capriciously, delivery failure not necessarily reported Connectionless: Each packet is treated independently IP Datagram Header 0 4 8 16 19 31 VERS HLEN TOS TOTAL LENGTH IDENTIFICATION FLAG FRAGMENT OFFSET TTL PROTOCOL CHECKSUM SOURCE ADDRESS DESTINATION ADDRESS OPTIONS (if any) + PADDING IIT Kanpur 2 IIT Kanpur 3 Problems with IPv4: Limited Address Space IPv4 has 32 bit addresses. Flat addressing (only netid + hostid with fixed boundaries) Results in inefficient use of address space. Class B addresses are almost over. Addresses will exhaust in the next 5 years. IPv4 is victim of its own success. Problems with IPv4: Routing Table Explosion IP does not permit route aggregation (limited supernetting possible with new routers) Mostly only class C addresses remain Number of networks is increasing very fast (number of routes to be advertised goes up) Very high routing overhead lot more memory needed for routing table lot more bandwidth to pass routing information lot more processing needed to compute routes IIT Kanpur 4 IIT Kanpur 5

Problems with IPv4: Header Limitations Maximum header length is 60 octets. (Restricts options) Maximum packet length is 64K octets. (Do we need more than that?) ID for fragments is 16 bits. Repeats every 65537th packet. (Will two packets in the network have same ID?) Variable size header. (Slower processing at routers.) No ordering of options. (All routers need to look at all options.) Problems with IPv4: Other Limitations Lack of quality-of of-service support. Only an 8-bit 8 ToS field, which is hardly used. Problem for multimedia services. No support for security at IP layer. Mobility support is limited. IIT Kanpur 6 IIT Kanpur 7 IP Address Extension Strict monitoring of IP address assignment Private IP addresses for intranets Only class C or a part of class C to an organization Encourage use of proxy services Application level proxies Network Address Translation (NAT) Remaining class A addresses may use CIDR Reserved addresses may be assigned But these will only postpone address exhaustion. They do not address problems like QoS, mobility, security. IPng Criteria At least 10 9 networks, 10 12 end-systems Datagram service (best effort delivery) Independent of physical layer technologies Robust (routing) in presence of failures Flexible topology (e.g., dual-homed nets) Better routing structures (e.g., aggregation) High performance (fast switching) Support for multicasting IIT Kanpur 8 IIT Kanpur 9 IPng Criteria IPv6: Distinctive Features Support for mobile nodes Support for quality-of of-service Provide security at IP layer Extensible Auto-configuration (plug-and and--play) Straight-forward transition plan from IPv4 Minimal changes to upper layer protocols Header format simplification Expanded routing and addressing capabilities Improved support for extensions and options Flow labeling (for QoS) capability Auto-configuration and Neighbour discovery Authentication and privacy capabilities Simple transition from IPv4 IIT Kanpur 10 IIT Kanpur 11

Vers Traffic Class IPv6 Header Format 0 4 12 16 24 31 Flow Label Payload Length Next Header Hop Limit Source Address Destination Address Extension Headers Less used functions moved to extension headers. Only present when needed. Processed only by node identified in IPv6 destination field. => much lower overhead than IPv4 options Exception: Hop-by by-hop option header Eliminated IPv4 s 40-byte limit on options Currently defined extension headers: Hop-by by-hop, Routing, Fragment, Authentication, Privacy, End-to to-end. Order of extension headers in a packet is defined. Headers are aligned on 8-byte 8 boundaries. IIT Kanpur 12 IIT Kanpur 13 Address Types IPv6 Addresses Unicast Multicast Anycast Address for a single interface. Identifier for a set of interfaces. Packet is sent to all these interfaces. Identifier for a set of interfaces. Packet is sent to the nearest one. 128-bit addresses Multiple addresses can be assigned to an interface Provider-based hierarchy to be used in the beginning Addresses should have 64-bit interface IDs in EUI-64 format Following special addresses are defined : IPv4-mapped IPv4-compatible link-local local site-local IIT Kanpur 14 IIT Kanpur 15 IPv6 Routing QoS Capabilities Hierarchical addresses are to be used. Initially only provider-based hierarchy will be used. Longest prefix match routing to be used. (Same as IPv4 routing under CIDR.) OSPF, RIP, IDRP, ISIS, etc., will continue as is (except 128-bit addresses). Easy renumbering should be possible. Provider selection possible with anycast groups. Protocol aids QoS support, not provide it. Flow labels To identify packets needing same quality-of of-service 20-bit label decided by source Flow classifier: Flow label + Source/Destination addresses Zero if no special requirement Uniformly distributed between 1 and FFFFFF Traffic class 8-bit value Routers allowed to modify this field IIT Kanpur 16 IIT Kanpur 17

IPv6: Security Issues Mobility Support in IPv6 Provision for Authentication header Guarantees authenticity and integrity of data Encryption header Ensures confidentiality and privacy Encryption modes: Transport mode Tunnel mode Independent of key management algorithm. Security implementation is mandatory requirement in IPv6. Mobile computers are becoming commonplace. Mobile IPv6 allows a node to move from one link to another without changing the address. Movement can be heterogeneous, i.e., node can move from an Ethernet link to a cellular packet network. Mobility support in IPv6 is more efficient than mobility support in IPv4. There are also proposals for supporting micro-mobility. mobility. IIT Kanpur 18 IIT Kanpur 19 Operation of Mobile IPv6 Mobile node is always addressable by its home address. Home link is the link to which mobile nodes home address is bound. When attached to home link, packets are routed conventionally. When the node moves to foreign links, it gets a care-of address. Binding is an association between a home address and a care-of address. Care-of address is obtained using auto-configuration mechanisms of neighbour discovery. Mobile node, when away, registers its binding with a router on the home link called home-agent agent. Binding update and Binding Ack destination options are used for this purpose. Home agent uses proxy neighbour discovery to intercept packets destined for the mobile node. It then tunnels the packet to mobile node s care-of address. Mobile node when away uses its care-of address for communication. IIT Kanpur 20 IIT Kanpur 21 Neighbour Discovery Mobile node uses a Home Address option to tell the other nodes its original address. Communicating nodes can cache the bindings and communicate with the mobile node directly. They use Binding Request destination option to learn the current binding. A mobile node can send a Binding Update to a communicating node which is using its home address as destination address. The communicating node should acknowledge it with a Binding Acknowledgement. Router Discovery - determines set of routers on the link. Prefix Discovery - set of on-link address prefixes. Parameter Discovery - to learn link parameters such as link MTU, or internet parameters like hop limit, etc. Address Auto-configuration - address prefixes that can be used for automatically configuring interface address. Address resolution - IP to link-layer layer address mapping. Duplicate Address Detection. Route Redirect - inform of a better first hop node to reach a particular destination. IIT Kanpur 22 IIT Kanpur 23

Neighbour Discovery Operation Based on ICMPv6 messages Router Solicitation (RS) Router Advertisement (RA) Neighbour Solicitation (NS) Neighbour Advertisement (NA) Redirect Router Solicitation sent when an interface becomes enabled, hosts request routers to send RA immediately. Neighbour Discovery Operation (contd..) Router advertisement Sent by routers periodically or in response to RS. Hosts build a set of default routers based on this information. Provides information for address auto- configuration, set of on-link prefixes etc. Supplies internet/subnet parameters, like MTU, and hop limit. Includes router s link-layer layer address. IIT Kanpur 24 IIT Kanpur 25 Neighbour Discovery Operation (contd..) Neighbour Solicitation To request link-layer layer address of neighbour Also used for Duplicate Address Detection Neighbour Advertisement Sent in response to NS May be sent without solicitation to announce change in link-layer layer address Redirect - used to inform hosts of a better first hop for a destination. Address Auto-configuration The problem System bootstrap ( plug and play ) Address renumbering Addressing Possibilities Manual Address configured by hand Autonomous Host creates address with no external interaction (e.g., link local) Semi-autonomous Host creates address by combining a priori information and some external information. Stateless Server Host queries a server, and gets an address. Server does not maintain a state. Stateful Server Host queries a server, and gets an address. Server maintains a state. IIT Kanpur 26 IIT Kanpur 27 Auto-configuration in IPv6 Link-local prefix concatenated with 64-bit MAC address. (Autonomous mode) Prefix advertised by router concatenated with 64-bit MAC address. (Semi-autonomous mode.) DHCPng (for server modes) Can provide a permanent address (stateless mode) Provide an address from a group of addresses, and keep track of this allocation (stateful mode) Can provide additional network specific information. Can register nodes in DNS. Address Renumbering To migrate to a new address change of provider change in network architecture Methods router adds a new prefix in RA, and informs that the old prefix is no longer valid. When DHCP lease runs out, assign a new address to node. DHCPng can ask nodes to release their addresses. Requires DNS update. DHCPng can update DNS for clients. Existing conversations may continue if the old address continues to be valid for some time. IIT Kanpur 28 IIT Kanpur 29

Upper Layer Issues Minor changes in TCP Maximum segment size should be based on Path MTU. The packet size computation should take into account larger size of IP header(s). Pseudo-header for checksum is different. UDP checksum computation is now mandatory. Most application protocol specifications are independent of TCP/IP - hence no change. FTP protocol exchanges IPv4 addresses - hence needs to be changed. The pseudo-header is changed in checksum computation: Address are 128 bits. Payload length is 32 bits. Payload length is not copied from IPv6 header. (Extension headers should not be counted.) Next header field of last extension header is used in place of protocol. UDP packets must also have checksum. (Since no IP checksum now.) IIT Kanpur 30 IIT Kanpur 31 Changes in Other Protocols Transition to IPv6: Design Goal ICMPv6 Rate limiting feature added Timer based Bandwidth based IGMP, ARP merged Larger part of offending packet is included DNS AAAA type for IPv6 addresses A6 type: recursive definition of IP address Queries that do additional section processing are redefined to do processing for both A and AAAA type records No flag day. Incremental upgrade and deployment. Minimum upgrade dependencies. Interoperability of IPv4 and IPv6 nodes. Let sites transition at their own pace. Basic migration tools Dual stack and tunneling Translation IIT Kanpur 32 IIT Kanpur 33 Transition Mechanisms: Dual Stack Transition Mechanism: Tunnels New nodes support both IPv4 and IPv6. Upgrading from IPv4 to v4/v6 does not break anything. Same transport layer and application above both. Provides complete interoperability with IPv4 nodes. Tunnel IPv6 packets across IPv4 topology. Configured tunnels: Explicitly configured tunnel endpoints. Router to router, host to router. Automatic tunnels: Automatic address resolution using embedded IPv4 address (like IPv4-compatible address). Host to host, router to host IIT Kanpur 34 IIT Kanpur 35

Transition mechanism: Translation Transition Plan for Internet This will allow communication between IPv6 only hosts and IPv4 only hosts. A typical translator consists of two components: translation between IPv4 and IPv6 packets. Address mapping between IPv4 and IPv6 For translation, three technologies are available: header conversion transport relay application proxy Maintain complete V4 routing till addresses last. Upgrade V4 routers to dual stack. Incrementally build up V6 backbone routing system. Use v6-over over-v4 v4 tunnels to construct 6bone. Grow like Mbone (multicast backbone). De-activate tunnels as soon as underlying path upgraded to V6. IIT Kanpur 36 IIT Kanpur 37 Transition Options for User Sites Incrementally upgrade V4 hosts to dual V4/V6 Use IPv4-compatible addresses with existing IPv4 address assignments Host-to to-host automatic tunneling over IPv4 Upgrade routers to IPv6. Hosts may require native IPv6 addresses DNS upgrade is needed before hosts get IPv6 addresses Connect IPv6 router to an IPv6-enabled ISP. Install translators like NAT-PT or SIIT. Thank You IIT Kanpur 38 IIT Kanpur 39