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

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

Rocky Mountain IPv6 Summit April 9, 2008

Introduction to IPv6. IPv6 addresses

IPv6. (Internet Protocol version 6)

Lecture Computer Networks

Introduction to IPv6. IPv6 addresses

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

LECTURE 8. Mobile IP

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

Introduction to IPv6. IPv6 addresses

Internet Protocol, Version 6

11. IP Mobility 최 양 희 서울대학교 컴퓨터공학부

TCP/IP Protocol Suite

Module 28 Mobile IP: Discovery, Registration and Tunneling

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

IPv6 : Internet Protocol Version 6

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

Mohammad Hossein Manshaei 1393

TSIN02 - Internetworking

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

TSIN02 - Internetworking

ECS-087: Mobile Computing

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

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

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

The Netwok Layer IPv4 and IPv6 Part 2

Mobile IPv6. Raj Jain. Washington University in St. Louis

Mobility Management - Basics

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

Mobile & Wireless Networking. Lecture 9: Mobile IP. [Schiller, Section 8.1]

Mobile IP. Mobile IP 1

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

IPv6 Technical Challenges

Mobile IP and Mobile Transport Protocols

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

Internet Protocols (chapter 18)

SEN366 (SEN374) (Introduction to) Computer Networks

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

Mobile Communications Chapter 8: Network Protocols/Mobile IP

Mobile IPv6 Overview

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

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

IPv6 Protocol Architecture

Mobile Communications Chapter 9: Network Protocols/Mobile IP

Mobile IPv6. Washington University in St. Louis

Configuring IPv6 for Gigabit Ethernet Interfaces

ET4254 Communications and Networking 1

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

An Industry view of IPv6 Advantages

Introduction Mobility Support Handover Management Conclutions. Mobility in IPv6. Thomas Liske. Dresden University of Technology

Mobility Management Basics

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Introduction to IPv6

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

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

IPv6 Configuration Commands

Configuring IPv6 basics

Mobile IP. rek. Petr Grygárek Petr Grygarek, Advanced Computer Networks Technologies 1

Introduction to IPv6 - II

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

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

IPv6: An Introduction

Chapter 2 Advanced TCP/IP

Network layer: Overview. Network Layer Functions

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

Clase Nº4. Jorge Sa Silva. University of Coimbra Portugal

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

IPv6 Neighbor Discovery

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

Mobile Communications Mobility Support in Network Layer

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

CSCI-1680 Network Layer:

Workshop on Scientific Applications for the Internet of Things (IoT) March

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

Internet Control Message Protocol (ICMP)

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

Network Security. Security of Mobile Internet Communications. Chapter 17. Network Security (WS 2002): 17 Mobile Internet Security 1 Dr.-Ing G.

Chapter 8 LOCATION SERVICES

Charles Perkins Nokia Research Center 2 July Mobility Support in IPv6 <draft-ietf-mobileip-ipv6-14.txt> Status of This Memo

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

Table of Contents 1 IPv6 Basics Configuration 1-1

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

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

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

IPv6 Protocols & Standards

IPv6 Next generation IP

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

IPv4. Christian Grothoff.

Foreword xxiii Preface xxvii IPv6 Rationale and Features

OSI Data Link & Network Layer

Network Layer: Internet Protocol

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

Mobile IP. Mobile Computing. Mobility versus Portability

IP: (Internet Protocol) IP - 1

Chapter 9 Internet Protocol Version 6 (IPv6)

CS 457 Lecture 11 More IP Networking. Fall 2011

IP - The Internet Protocol

EEC-684/584 Computer Networks

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Transcription:

IPv6 1

IPv4 & IPv6 Header Comparison IPv4 Header IPv6 Header Ver IHL Type of Service Total Length Ver Traffic Class Flow Label Identification Flags Fragment Offset Payload Length Next Header Hop Limit Time to Live Protocol Header Checksum Source Address Destination Address Source Address Options Padding Destination Address 2

IPv6 Address Scope Address assigned to interface Interface ID Addresses depend on scope Link Local Local hardware connection Broadcast domain Site Local Global Autonomous system (AS) Network of one organization Global Site-Local Link-Local 3

Types of IPv6 Addresses Unicast One address on a single interface Delivery to single interface Multicast Address of a set of interfaces Delivery to all interfaces in set Anycast Address of a set of interfaces Delivery to closest single interface in set No broadcast addresses 4

IPv6 Address 128-bit address 340,282,366,920,938,463,463,374,607,431,768,211,456 addresses 50,000 addresses per square meter of land on Earth Colon-separated 16-bit hex 2031:0000:130F:0000:0000:09C0:876A:130B Leading zeros optional 2031:0:130F:0:0:9C0:876A:130B Successive 0 fields written :: (once) legal illegal 2031:0:130F::9C0:876A:130B 2031::130F::9C0:876A:130B IPv4 compatible used in tunneling IPv6 through IPv4 0:0:0:0:0:0:1.2.3.4 = ::0102:0304 IPv4 mapped used by IPv6 source sending to IPv4 dest 0:0:0:0:0:FFFF:1.2.3.4 = ::FFFF:0102:0304 5

IPv6 Prefix Prefix Format (PF) Binary Hex Type Application 0000 0000 0::/8 Reserved address Not assigned 0000 001 0200::/7 Reserved for ATM Used in telephony 001 2000::/3 Aggregatable Global Unicast Address Aggregation of host addresses into networks and subnets 1111 1110 10 FE80::/10 Link Local Address Address hosts on LAN segment 1111 1110 11 FEC0::/10 Site Local Address Addresses used with an AS (like 10.0.0.0 in IPv4) 1111 1111 FF00::/8 Multicast Address Assigned to a group 6

Unicast Address Formats Link Local FP (10 bits) 1111111010 FE80::/10 Reserved (54 bits) MUST be 0 Interface ID (64 bits) MAC derived Site Local FP (10 bits) Subnet (38 bits) Subnet (16 bits) Interface ID (64 bits) 1111111011 FEC0::/10 Locally Administered MAC derived Global FP (3 bits) ISP assigned (45 bits) Subnet (16 bits) Interface ID (64 bits) 001 2000::/3 Provider Administered Locally Administered MAC derived or Locally Administered or Random 7

Hierarchical Addressing & Aggregation Customer 1 2001:0410:0001:/48 ISP 2001:0410::/32 Customer 2 IPv6 Internet 2001:0410:0002:/48 2000::/3 Authority Assigns 2001:0410::/32 to ISP ISP Assigns 2001:0410:1:/48 to customer 1 Assigns 2001:0410:2:/48 to customer 2 Customer 1 Assigns subnets 2001:0410:1:1/64, 2001:0410:1:2/64 8

Extension Headers Next header field Points to header following IPv6 header Upper Layer Protocol IP Option Header 6 TCP Header 0 Hop by Hop Options Header 17 UDP Header 43 IPv6 Routing Header 41 IPv6 Header 44 IPv6 Fragment Header 45 Interdomain Routing Protocol 50 Encapsulating Security Payload 46 Resource Reservation Protocol 51 IPv6 Authentication Header 58 IPv6 ICMP Packet 59 No Next Header 60 Destination Options Header Extension headers Multiple of 8 bytes Syntax depends on option Headers (except 60) appear only once 9

IPv6 Option Headers Tunneling Option 41 IPv6 datagram in data field of IPv6 datagram Example used with fragmentation when router adds option field Hop-by-hop header Options checked by every router and destination node Destination options header Options checked by destination node Routing header Source sets route through network Fragment header Handles fragmentation Authentication header / Encapsulating Security Payload Implement IPsec 10

Option Header Examples IPv6 Header Next = TCP TCP Header + Data IPv6 Header Next = Routing Routing Header Next = TCP TCP Header + Data IPv6 Header Next = Routing Routing Header Next = Fragment Fragment Header Next = TCP TCP Header + Data Fragment IPv6 Header Next = Routing Hop by Hop Header Next = Fragment Fragment Header Next = TCP TCP Header + Data Fragment 11

Traffic Class + Flow DSCP 6 bits Differentiated Services Code Point Sets per-hop behavior according to service ECN 2 bits Explicit Congestion Notification Router can set congestion indication Flow Stream of related packets from 1 source to 1 destination Require particular handling by routers Requirements cached in routers Example real time priority 24 bit flow label Chosen randomly from 1 to FFFFF 0 not part of a flow Flow identified by label + src IP + dest IP 12

ICMPv6 ICMP Internet Control Message Protocol Offset 0 7 8 15 16 31 0 Type Code (subtype) Checksum 32 ICMP Message 1 Destination Unreachable 128 Echo Request 2 Packet Too Big 129 Echo Reply 3 Time (Hop Count) Exceeded 130 Group Membership Query 4 Parameter Problem 131 Group Membership Report 132 Group Membership Reduction 133 Router Solicitation 134 Router Advertisement 135 Neighbor Solicitation 136 Neighbor Advertisement 137 Redirect Message 13

Neighbor Discovery Identify hosts and routers on physical LAN segment Replaces ARP Address resolution Obtain MAC address for neighbors Neighbor Solicitation Node sends ICMP neighbor solicitation message to host 64 bit local link multicast prefix FF02:: 64 bit host address Interface ID Neighbor advertisement Neighbor sends ICMP neighbor advertisement with MAC address 14

Router and Prefix Discovery Router advertisements Routers send ICMP messages to hosts on some schedule Addressed to FF02::1 Multicast address all systems on local link Provides configuration parameters MTU Global IP prefix IP address configuration method (ICMP / stateless) Router solicitation message Host sends ICMP message to request router service Addressed to FF02::2 Multicast address all routers on local link Routers respond with router advertisement 15

Stateful Auto Configuration DHCP service Similar to IPv4 DHCP messages Solicit Advertise Request Reply Release Reconfigure DHCP client Waits for DHCP advertisement Sends DHCP request DHCP server Sends DHCP reply Provides IP address + configuration parameters 16

Stateless Auto Configuration Node reads 48-bit MAC address from hardware Converts 6-byte MAC address to 8-byte node address 48-bit MAC address 24 bits FFEE 24 bits Example: 11 22 33 44 55 66 11 22 33 FF EE 44 55 66 Extends link-local prefix to 64 bits FE80::/10 FE80::/64 Attaches link-local prefix to node address Creates temporary link-local unicast address Example: FE80::1122:33FF:EE44:5566 Verifies unique address with neighbor solicitation No response to link-level address assigns address to interface Sends router solicitation Routers respond with router advertisement No response node attempts DHCP Response message provides parameters MTU, global prefix Replaces FE80::/64 global prefix to form global unicast address 17

Mobile IP (RFC 2002) Internet protocol supporting host mobility Maintains TCP connections as host changes location Supports authentication Mobile host maintains single long-term IP address Version 4 IP address and address format are unaffected Routing tunnel replaces standard IP routing 138.27.192.87 132.4.16.X X=1, 2, 3,..., 254 Router 1 2 3 138.27.192.Y Y=1, 2, 3,..., 254 Router 1 2 3 18

Mobile IP Basic Idea Similar to Call forwarding Mail forwarding at post office Mobile Node IP datagram IP datagram Permanent IP address Usual home service router Finds mobile service routers when roaming IP datagram Home router and mobile service router coordinate IP datagrams Sent to usual home router Forwarded by home router to mobile service router Forwarded to Mobile Node 19

Mobile IP Entities Mobile Node (MN) Host or router that can change its point of attachment Home Address Permanent IP address assigned to MN Correspondent Node (CN) Node that sends datagrams to MN home address Home Agent (HA) Maintains table of registered mobile nodes Forwards datagrams addressed to mobile node Foreign Agent (FA) Delivers datagrams between MN and HA Mobility Agent HA or FA supporting mobility Care-of-Address (COA) FA address used to identify current location of MN 20

Agent Discovery Mobility Agents broadcast availability Home Agents (HA) Foreign Agents (FA) Mobile Node (MN) looks for Local router services when connected to home network Foreign Agent (FA) services when connected to foreign network FA advertises services 21

Care of Address Discovery Mobile Node (MN) Requests service from Foreign Agent (FA) Foreign Agent Assigns Care-of-Address (COA) to MN FA can have 1 or more available COAs Usually FA assigns same COA to all MNs MN requests service from FA 22

Registration Foreign Agent Requests Mobile IP support from MN s Home Agent Home Agent Agrees to provide Mobile IP support MN Registers COA with its HA HA forwards datagrams to FA Datagrams for MN arrive at HA MN registers with FA and HA FA forwards request to HA FA informs MN of status HA accepts or rejects 23

Establishment of Service in Mobile IP MN in home network MN in foreign network 24

Mobile IP End to End Delivery From: HA IP address To: FA COA Address From: CN IP address To: MN Home Address DATA HA Standard IP datagram FA Encapsulated IP datagram MN From: CN IP address To: MN Home Address DATA Standard IP datagram CN From: CN IP address To: MN Home Address DATA 25

Roaming and Hand Off Roaming MN Moves to new attachment point (network) Requires change of FA Multiple bindings Multiple COAs old + new Avoid datagram loss Avoid too frequent registrations HA Forwards each packet to multiple COAs MN Receives packet at one COA Route optimization after reconnection 26

Change of Foreign Agent CN HA FA old FA new MN MN changes location 27 Encapsulated IP datagram IP datagram IP datagram registration Encapsulated IP datagram IP datagram registration ACK update ACK IP datagram Encapsulated IP datagram IP datagram Encapsulated IP datagram IP datagram

Triangle Routing Home agent is bottleneck Increases network load 28

(1) IP datagram 29 HA (2b) Warning (3) Binding Request (4) Binding Update (5) IP datagram Route Optimization FA IP datagrams (2a) Encapsulated IP datagram

Roaming Under Route Optimization 30

IPv6 Mobile IP Implements Mobile IP 1. Mobile node (MN) obtains local address using autoconfiguration Roaming address = care-of-address (CoA) No special Foreign Agent 2. MN registers with Home Agent by sending Binding Update 3. HA forwards traffic for registered MN Tunnels packets from CN to MN 4. MN sends packets to CN directly 5. Route optimization HA provides CN with CoA CN 4 5 3 HA 1 MN 2 31

IPv6 Mobility Support Node writes home address in destination option header Destination node can identify datagram by home address Tunneling Using IPv6 routing extension headers instead of encapsulation Reduces processing cost of delivering packets Handover Node moves from ESS to ESS Layer 2 handover change AP and ESS ID Node detects change in on-link subnet prefix Updates CoA IPv6 Mobility header messages Home Test Init, Home Test, Care-of Test Init, and Care-of Test Binding Update / Acknowledgement MN to notifies node or HA of current binding 32