IPv6 associated protocols

Similar documents
IPv6 Autoconfiguration. Stateless and Stateful. Rabat, Maroc Mars 2007

IPv6 Associated Protocols. Athanassios Liakopoulos 6DEPLOY IPv6 Training, Skopje, June 2011

Routing Protocols for IPv6

IPv6 Protocol (RFC 2460 DS)

Athanassios Liakopoulos

IPv6 Addressing. Dakar, SN -Octobre 2006

IPv6 Addressing case studies

Introduction to IPv6 - II

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

Guide to TCP/IP Fourth Edition. Chapter 6: Neighbor Discovery in IPv6

IPv6 Protocol Architecture

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

Introduction to IPv6 protocol

Rocky Mountain IPv6 Summit April 9, 2008

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

Setup. Grab a vncviewer like: Or

IPv6 Neighbor Discovery

Routing Protocols Internal and External Routing. 6DEPLOY. IPv6 Deployment and Support

Routing Protocols Internal and External Routing. 6DEPLOY. IPv6 Deployment and Support

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT

IPv6 ND Configuration Example

IPv6 Neighbor Discovery

Step 2. Manual configuration of global unicast and link-local addresses

Introduction to IPv6

IPv6 Neighbor Discovery

Table of Contents 1 IPv6 Basics Configuration 1-1

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

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

Configuring IPv6 basics

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

12. Name & Address 최양희서울대학교컴퓨터공학부

Internet Protocol v6.

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

IPv6 Neighbor Discovery

The Netwok Layer IPv4 and IPv6 Part 2

IPv6 Stateless Autoconfiguration

IPv6 Multicast. Where and when?

DHCPv6 Overview 1. DHCPv6 Server Configuration 1

IPv6 Neighbor Discovery

Juniper Netscreen Security Device. How to Enable IPv6 Page-51

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

Configuring IPv6 for Gigabit Ethernet Interfaces

Configuring IPv6 First-Hop Security

IPv6 Configuration Commands

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

ODL Summit Bangalore - Nov 2016 IPv6 Design in OpenDaylight

IPv6. (Internet Protocol version 6)

IPv6 Client IP Address Learning

FiberstoreOS IPv6 Security Configuration Guide

Internet Protocol, Version 6

FiberstoreOS IPv6 Service Configuration Guide

The Netwok Layer IPv4 and IPv6 Part 2

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

IPv6 address configuration and local operation

Internet Protocol Version 6: advanced features. The innovative aspects of IPv6

IPv6 support in the DNS

IPv6 Support in the DNS

Internet Control Message Protocol

RPSLng. Routing Policy Specification Language - Next Generation

TD#RNG#2# B.Stévant#

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

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

Analyze and Verify Ouput of "debug dhcp ipv6 packets" in ASR9k

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

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

IPv6 Next generation IP

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6

Radware ADC. IPV6 RFCs and Compliance

HPE ArubaOS-Switch IPv6 Configuration Guide YA/YB.16.02

TCP/IP Protocol Suite

IPv6 Security. Pedro Lorga - WALC 2006 (Quito, Ecuador July 06)

Lecture Computer Networks

IPv6: An Introduction

DGS-1510 Series Gigabit Ethernet SmartPro Switch Web UI Reference Guide

The Netwok Layer IPv4 and IPv6 Part 2

IRT0030 ANDMESIDE LOENG 4. Indrek Rokk

IPv6 Feature Facts

Basic L2 and L3 security in Campus networks. Matěj Grégr CNMS 2016

Organization of Product Documentation... xi

ArubaOS-Switch IPv6 Configuration Guide for YA/YB.16.04

COE IPv6 Roadmap Planning. ZyXEL

CSCI-1680 Network Layer:

Tutorial: IPv6 Technology Overview Part II

IPv6 Security Fundamentals

MBC. Auto. Address. Networks. Mesh. uto- configuration for Wireless. Keecheon Kim. Konkuk University Seoul, Korea

Configuring Wireless Multicast

IPv6 Prefix Delegation for Hosts. Fred L. Templin IETF100 v6ops Working Group November 16, 2017

tcp ipv6 timer fin-timeout 40 tcp ipv6 timer syn-timeout 40 tcp ipv6 window 41

IPv6 Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9400 Switches)

netkit lab IPv6 Neighbor Discovery (NDP)

DHCPv6 (RFC3315 RFC4361)

IPv6 Bootcamp Course (5 Days)

Lab - Configuring IPv6 Addresses on Network Devices

Routing Policy Specification Language next generation. 6DEPLOY. IPv6 Deployment and Support

IPv6 Protocols & Standards. ISP/IXP Workshops

Veryx ATTEST TM Conformance Test Suite

IPv6 Technical Challenges

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

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

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

Transcription:

IPv6 associated protocols Address auto-configuration in IPv6 Copy Rights This slide set is the ownership of the 6DISS project via its partners The Powerpoint version of this material may be reused and modified only with written authorization Using part of this material must mention 6DISS courtesy PDF files are available from www.6diss.org Looking for a contact? Mail to : martin.potts@martel-consulting.ch Or bernard.tuy@renater.fr 1

Droits d auteur L ensemble des présentations utilisées dans le cadre de cet atelier est la propriété de 6DISS, représenté par ses différents partenaires. La version Powerpoint des présentations peut être réutilisée et modifiée après qu une autorisation écrite ait été obtenue L usage de tout ou partie de ce matériel doit mentionné que sa source est le projet 6DISS La version PDF des présentations est disponible sur www.6diss.org Pour tout contact : Mail à Martin.Potts@martel-consulting.ch Ou Bernard.Tuy@renater.fr Agenda Associated protocols in IPv6 Neighbor Discovery Protocol Path MTU protocol Address auto-configuration in IPv6 2

New Protocols New features specified in IPv6 Protocol (RFC 2460 DS) Neighbor Discovery (ND) (RFC 2461 DS) Auto-configuration: Stateless Address Auto-configuration (RFC 2462 DS) DHCPv6: Dynamic Host Configuration Protocol for IPv6 (RFC 3315 PS) Path MTU discovery (pmtu) (RFC 1981 PS) New Protocols (2) MLD (Multicast Listener Discovery) (RFC 2710 PS) Multicast group management over an IPv6 link Based on IGMPv2 MLDv2 (equivalent to IGMPv3 in IPv4) ICMPv6 (RFC 2463 DS) "Super" Protocol that : Covers ICMP (v4) features (Error control, Administration, ) Transports ND messages Transports MLD messages (Queries, Reports, ) 3

Neighbor Discovery IPv6 nodes which share the same physical medium (link) use Neighbor Discovery (NDP) to: discover their mutual presence determine link-layer addresses of their neighbors find routers maintain neighbors reachability information (NUD) not directly applicable to NBMA (Non Broadcast Multi Access) networks : ND uses multicast for certain services. Neighbor Discovery (2) Protocol features: Router discovery Prefix(es) discovery Parameters discovery (link MTU, Max Hop Limit,...) Address auto-configuration Address resolution Next Hop determination Neighbor Unreachability Detection Duplicate Address Detection Redirect 4

Neighbor Discovery (3): Comparison with IPv4 It is the synthesis of: ARP R-Disc ICMP redirect... Neighbor Discovery (4) ND specifies 5 types of ICMP packets : Router Advertisement (RA) : periodic advertisement (of the availability of a router) which contains:» list of prefixes used on the link (autoconf)» a possible value for Max Hop Limit (TTL of IPv4)» value of MTU Router Solicitation (RS) : the host needs RA immediately (at boot time) 5

Neighbor Discovery (5) Neighbor Solicitation (NS): to determine the link-layer @ of a neighbor or to check its impeachability also used to detect duplicate addresses (DAD) Neighbor Advertisement (NA): answer to a NS packet to advertise the change of physical address Redirect : Used by a router to inform a host of a better route to a given destination Address Resolution Find the mapping: Dst IP @ Link-Layer (MAC) @ Recalling IPv4 & ARP ARP Request is broadcasted e.g. ethernet @: FF-FF-FF-FF-FF-FF Btw, it contains the Src s LL @ ARP Reply is sent in unicast to the Src It contains the Dst s LL @ 6

Address Resolution (2) IPv6 with Neighbor Discovery At boot time, every IPv6 node has to join 2 special multicast groups for each network interface: All-nodes multicast group: ff02::1 Solicited-node multicast group: ff02:1:ffxx:xxxx (derived from the lower 24 bits of the node s address) H1: IP1, MAC1 H2: IP2, MAC2 NS D3=Multi(IP2)? D2 ( MAC2) S3 = IP1 S2 = MAC1 NA D3 = IP1 D2 = MAC1 S3 = IP2 S2 = MAC2 Address Resolution (3) Solicited Multicast Address Concatenation of the prefix FF02::1:FF00:0/104 with the last 24 bits of the IPv6 address Example: Dst IPv6 @: 2001:0660:010a:4002:4421:21FF:FE24:87c1 Sol. Mcast @: FF02:0000:0000:0000:0000:0001:FF24:87c1 ethernet: 33-33-FF-24-87-c1 7

Path MTU discovery (RFC 1981) Derived from RFC 1191, (IPv4 version of the protocol) Path : set of links followed by an IPv6 packet between source and destination link MTU : maximum packet length (bytes) that can be transmitted on a given link without fragmentation Path MTU (or pmtu) = min { link MTUs } for a given path Path MTU Discovery = automatic pmtu discovery for a given path Path MTU discovery (2) Protocol operation makes assumption that pmtu = link MTU to reach a neighbor (first hop) if there is an intermediate router such that link MTU < pmtu it sends an ICMPv6 message: "Packet size Too Large" source reduces pmtu by using information found in the ICMPv6 message => Intermediate network element aren t allowed to perform packet fragmentation 8

IPv6 Address autoconfiguration Stateless and Stateful Contributions Main authors Miguel Baptista, FCCN, Portugal Carlos Friaças, FCCN, Portugal Contributors Mónica Domingues, FCCN, Portugal Paulo Ferreira, FCCN, Portugal Bernard Tuy, Renater, France 9

Prerequisites You must have followed previously the modules: 010-IPv6 Introduction 020-IPv6 Protocol 030-IPv6 Addressing 040-IPv6 Associated Protocols Agenda Stateless Autoconfiguration Stateful Autoconfiguration (DHCPv6) Conclusions 10

Stateless Autoconfiguration Hosts should be plug & play Uses some of the Neighbor Discovery ICMPv6 messages When booting, the host asks for network parameters: IPv6 prefix(es) default router address(es) hop limit (link local) MTU Stateless Autoconfiguration Only routers have to be manually configured but work on prefix delegation is in progress (http://www.ietf.org/rfc/rfc3633.txt) Hosts can get automatically an IPv6 address BUT it isn t automatically registered in the DNS Servers should be manually configured 11

Stateless Autoconfiguration IPv6 Stateless Address Autoconfiguration is described in RFC 2462 Hosts are listening for Router Advertisements (RA) messages, periodically transmited by routers RA messages coming from the router(s) on the link identify the subnet Allows a host to create a global IPv6 address from: Its interface identifier (EUI-64 address) Link Prefix (obtained via Router Advertisement) Global Address = combine Link Prefix with EUI-64 address Stateless Autoconfiguration Usually, the router sending the RA messages is used, by hosts, as the default router If the RA doesn t carry any prefix The hosts don t configure (automatically) any global IPv6 address (but may configure the default gateway address) RA messages contain two flags indicating what type of stateful autoconfiguration (if any) should be performed It s impossible to automatically send DNS server addresses IPv6 addresses depends on NIC card 12

Stateless Autoconfiguration example MAC address is 00:0E:0C:31:C8:1F EUI-64 address is 20E:0CFF:FE31:C81F Internet 2. And Do 1. the a Duplicate Create 3. DNS 4. Send Create 6. Server the Set Router Address link global Default Address 5. local Solicitation Do address Detection Router a DAD?! FF02::2 (All routers) FE80::20F:23FF:FEF0:551A Router Advertisement 2001:690:1:1 ::/0 FE80::20E:0CFF:FE31:C81F 2001:690:1:1::20E:0CFF:FE31:C81F FE80::20F:23FF:FEf0:551A Router Solicitation Dest. FF02::2 Stateful autoconfiguration (DHCPv6) Dynamic Host Configuration Protocol for IPv6 RFC 3315 stateful counterpart to IPv6 Stateless Address Autoconfiguration. According to RFC 3315 DHCPv6 is used when: no router is found Or if Router Advertisement message enables use of DHCP 13

Stateful autoconfiguration (DHCPv6) DHCPv6 works in a client / server model Server Responds to requests from clients Optionally provides the client with: IPv6 addresses Other configuration parameters (DNS servers ) Is listening on multicast addresses: All_DHCP_Relay_Agents_and_Servers (FF02::1:2) All_DHCP_Servers (FF05::1:3) Memorizes client s state Provides means for securing access control to network resources Stateful autoconfiguration (DHCPv6) Client initiates requests on a link to obtain configuration parameters uses its link local address to connect the server Sends requests to FF02::1:2 multicast address (All_DHCP_Relay_Agents_and_Servers) Relay agent node that acts as an intermediary to deliver DHCP messages between clients and servers is on the same link as the client Is listening on multicast addresses: All_DHCP_Relay_Agents_and_Servers (FF02::1:2) 14

Stateful Autoconfiguration example 2. 3. 4. 1. Host Client Server What s 5. execute Host will responds the send configures DNS an an DHCPv6 servers with Information-Request a the Reply Address DNS Client Message server Internet Example: in /etc/resolver.conf file DHCPv6 Server FF02::1:2 (All_DHCP_Relay_Agents_and_Servers) Information-Request (DNS Server s address?) Reply-message DNS 2001:690:5:0::10 Conclusions The two types of configuration complement each other Example: we can obtain the address from stateless autoconfiguration and the DNS server address from DHCPv6 In dual-stack networks we can obtain DNS server addresses from DHCPv4 DHCPv6 clients aren t still available natively in Operating Systems. So, we still need to install manually a client No transparent to users 15

Questions? 16