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

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

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

Introduction to IPv6. IPv6 addresses

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

LECTURE 8. Mobile IP

Module 28 Mobile IP: Discovery, Registration and Tunneling

Internet Protocol, Version 6

TCP/IP Protocol Suite

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

ECS-087: Mobile Computing

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)

TSIN02 - Internetworking

Mohammad Hossein Manshaei 1393

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

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

TSIN02 - Internetworking

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

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

IPv6 Technical Challenges

Mobile IP and Mobile Transport Protocols

IPv6 Protocol Architecture

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

Planning for Information Network

Mobility Management - Basics

Mobile IP. Mobile IP 1

Internet Protocols (chapter 18)

Mobile IPv6 Overview

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

Mobile Communications Chapter 8: Network Protocols/Mobile IP

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

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

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

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

Configuring IPv6 for Gigabit Ethernet Interfaces

Mobile Communications Chapter 9: Network Protocols/Mobile IP

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

Introduction to IPv6 - II

SEN366 (SEN374) (Introduction to) Computer Networks

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

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

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

Introduction to IPv6

IPv6 Configuration Commands

Mobile IPv6. Washington University in St. Louis

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

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

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

ET4254 Communications and Networking 1

Internet Control Message Protocol (ICMP)

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

Mobility Management Basics

Chapter 8 LOCATION SERVICES

IPv6: An Introduction

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

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

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

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

Configuring IPv6 basics

IPv6 Neighbor Discovery

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

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

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

Network layer: Overview. Network Layer Functions

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

Mobile Communications Mobility Support in Network Layer

CSCI-1680 Network Layer:

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

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

An Industry view of IPv6 Advantages

Network Layer: Internet Protocol

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

IPv4. Christian Grothoff.

Chapter 2 Advanced TCP/IP

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

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

CS 457 Lecture 11 More IP Networking. Fall 2011

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

OSI Data Link & Network Layer

Internet Protocol (IP)

Table of Contents 1 IPv6 Basics Configuration 1-1

How Mobile IP Works? Presenter: Ajoy Singh

internet technologies and standards

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

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

IP: (Internet Protocol) IP - 1

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

IPv6 Protocols & Standards

CMPE 257: Wireless and Mobile Networking

Mobile IP Support for RFC 3519 NAT Traversal

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

Master Course Computer Networks IN2097

Transcription:

1 v4 & v6 Header Comparison v6 Ver Time to Live v4 Header IHL Type of Service Identification Protocol Flags Source Address Destination Address Total Length Fragment Offset Header Checksum Ver Traffic Class Payload Length v6 Header Next Header Source Address Flow Label Hop Limit Options Padding Destination Address 2 v6 Address Scope Types of v6 Addresses Address assigned to interface Interface ID Addresses depend on scope Link Local Local hardware connection Broadcast domain Site Local Autonomous system (AS) Network of one organization Global 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 Global Site-Local Link-Local No broadcast addresses 3 4

5 v6 Address v6 Prefix 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 Prefix Format (PF) Binary Hex Type Application Colon-separated 16-bit hex 2031:0000:130F:0000:0000:09C0:876A:130B 0000 0000 0000 001 0::/8 0200::/7 Reserved address Reserved for ATM Not assigned Used in telephony Leading zeros optional 2031:0:130F:0:0:9C0:876A:130B Successive 0 fields written :: (once) 001 2000::/3 Aggregatable Global Unicast Address Aggregation of host addresses into networks and subnets legal illegal 2031:0:130F::9C0:876A:130B 2031::130F::9C0:876A:130B v4 compatible used in tunneling v6 through v4 0:0:0:0:0:0:1.2.3.4 = ::0102:0304 v4 mapped used by v6 source sending to v4 dest 0:0:0:0:0:FFFF:1.2.3.4 = ::FFFF:0102:0304 1111 1110 10 1111 1110 11 1111 1111 FE80::/10 FEC0::/10 FF00::/8 Link Local Address Site Local Address Multicast Address Address hosts on LAN segment Addresses used with an AS (like 10.0.0.0 in v4) Assigned to a group 6 Unicast Address Formats Hierarchical Addressing & Aggregation Link Local FP (10 bits) 1111111010 FE80::/10 Reserved (54 bits) MUST be 0 Interface ID (64 bits) MAC derived Customer 1 2001:0410:0001:/48 ISP 2001:0410::/32 Site Local FP (10 bits) 1111111011 FEC0::/10 Global FP (3 bits) 001 2000::/3 Subnet (38 bits) ISP assigned (45 bits) Provider Administered Subnet (16 bits) Locally Administered Subnet (16 bits) Locally Administered Interface ID (64 bits) MAC derived Interface ID (64 bits) MAC derived or Locally Administered or Random Customer 2 v6 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 7 8

9 Extension Headers Next header field Points to header following v6 header 6 17 41 45 46 58 Upper Layer Protocol TCP Header UDP Header v6 Header Interdomain Routing Protocol Resource Reservation Protocol v6 ICMP Packet Extension headers Multiple of 8 bytes Syntax depends on option Headers (except 60) appear only once 0 43 44 50 51 59 60 Option Header Hop by Hop Options Header v6 Routing Header v6 Fragment Header Encapsulating Security Payload v6 Authentication Header No Next Header Destination Options Header v6 Option Headers Tunneling Option 41 v6 in data field of v6 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 sec 10 Option Header Examples Traffic Class + Flow v6 Header Next = TCP v6 Header Next = Routing v6 Header Next = Routing v6 Header Next = Routing TCP Header + Data Routing Header Next = TCP Routing Header Next = Fragment Hop by Hop Header Next = Fragment TCP Header + Data Fragment Header Next = TCP Fragment Header Next = TCP TCP Header + Data Fragment TCP Header + Data Fragment 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 + dest 11 12

13 ICMPv6 ICMP Internet Control Message Protocol Offset 0 7 8 15 16 31 Neighbor Discovery Identify hosts and routers on physical LAN segment Replaces ARP 0 32 Type Code (subtype) ICMP Message Checksum Address resolution Obtain MAC address for neighbors 1 2 3 Destination Unreachable Packet Too Big Time (Hop Count) Exceeded 128 129 130 Echo Request Echo Reply Group Membership Query Neighbor Solicitation Node sends ICMP neighbor solicitation message to host 4 Parameter Problem 131 132 133 Group Membership Report Group Membership Reduction Router Solicitation 64 bit local link multicast prefix FF02:: 64 bit host address Interface ID 134 135 136 Router Advertisement Neighbor Solicitation Neighbor Advertisement Neighbor advertisement Neighbor sends ICMP neighbor advertisement with MAC address 137 Redirect Message 14 Router and Prefix Discovery Stateful Auto Configuration 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 prefix 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 DHCP service Similar to v4 DHCP messages Solicit Advertise Request Reply Release Reconfigure DHCP client Waits for DHCP advertisement Sends DHCP request DHCP server Sends DHCP reply Provides address + configuration parameters 15 16

17 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 Mobile (RFC 2002) Internet protocol supporting host mobility Maintains TCP connections as host changes location Supports authentication Mobile host maintains single long-term address Version 4 address and address format are unaffected Routing tunnel replaces standard routing 138.27.192.87 132.4.16.X X=1, 2, 3,..., 254 Router Router 1 2 3 138.27.192.Y Y=1, 2, 3,..., 254 1 2 3 18 Mobile Basic Idea Mobile Entities Similar to Call forwarding Mail forwarding at post office Mobile Node Permanent address Usual home service router Finds mobile service routers when roaming Home router and mobile service router coordinate s Sent to usual home router Forwarded by home router to mobile service router Forwarded to Mobile Node Mobile Node (MN) Host or router that can change its point of attachment Home Address Permanent address assigned to MN Correspondent Node (CN) Node that sends s to MN home address Home Agent (HA) Maintains table of registered mobile nodes Forwards s addressed to mobile node Foreign Agent (FA) Delivers s between MN and HA Mobility Agent HA or FA supporting mobility Care-of-Address (COA) FA address used to identify current location of MN 19 20

21 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 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 FA advertises services 22 Registration Foreign Agent Requests Mobile support from MN s Home Agent Home Agent Agrees to provide Mobile support MN Registers COA with its HA HA forwards s to FA Datagrams for MN arrive at HA Establishment of Service in Mobile MN registers with FA and HA FA forwards request to HA MN in home network FA informs MN of status HA accepts or rejects MN in foreign network 23 24

25 Mobile End to End Delivery Roaming and Hand Off From: HA address From: CN address To: FA COA Address To: MN Home Address Standard FA DATA HA Roaming MN Moves to new attachment point (network) Requires change of FA Multiple bindings Multiple COAs old + new Avoid loss Avoid too frequent registrations MN HA Forwards each packet to multiple COAs From: CN address To: MN Home Address DATA Standard From: CN address To: MN Home Address DATA CN MN Receives packet at one COA Route optimization after reconnection 26 Change of Foreign Agent CN HA FA old FA new MN registration MN changes location Triangle Routing Home agent is bottleneck Increases network load registration ACK update ACK 27 28

29 Route Optimization Roaming Under Route Optimization FA HA (2a) s (5) (4) Binding Update (2b) Warning (3) Binding Request (1) 30 v6 Mobile Implements Mobile 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 1 MN 4 2 5 CN 3 HA v6 Mobility Support Node writes home address in destination option header Destination node can identify by home address Tunneling Using v6 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 v6 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 31 32