BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.

Slides:



Advertisements
Similar presentations
10: ICMPv6 Neighbor Discovery
Advertisements

ZyXEL Confidential Address Autoconfiguration Feng Zou SW2 ZyXEL Communications Corp. 04/11/2006.
Future Directions For IP Architectures Ipv6 Cs686 Sadik Gokhan Caglar.
IPv6 Introduction What is IPv6 Purpose of IPv6 (Why we need it)Purpose of IPv6 IPv6 Addressing Architecture IPv6 Header ICMP v6 Neighbor Discovery (ND)
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
TCP/IP Protocol Suite 1 Chapter 27 Upon completion you will be able to: Next Generation: IPv6 and ICMPv6 Understand the shortcomings of IPv4 Know the IPv6.
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
IPv6 Overview Brent Frye EECS710. Overview Google Drive Microsoft Cloud Drive Dropbox Paid-for alternatives 2.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6 Victor T. Norman.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
Chapter 22 IPv6 (Based on material from Markus Hidell, KTH)
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
IPv6 Network Security.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
IPv6: Neighbor Discovery
LOGO IPv6 Application Analysis Xi Chen
ICMP & ICMPv6 Referenced on RFC’s 792 and 2463 respectively. Frank Azevedo.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
Guide to TCP/IP Fourth Edition
1 © 2012 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada ICMPv6 & Neighbor Discovery Protocol: Learn It.
ICMPv6 Presented by Dr.Apichan Kanjanavapastit. Introduction Another protocol that has been modified in version 6 of the TCP/IP protocol suite is ICMP.
1 CMPT 471 Networking II ICMPv6 © Janice Regan, 2012.
9: Introduction to ICMPv6 Rick Graziani Cabrillo College
CS 6401 IPv6 Outline Background Structure Deployment.
Lesson 6 Neighbor Discovery.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
ICMPv6 PMTU for IPv6 NDP for IPv6
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
IPv6 – part I. FUNDAMENTALS AND PROTOCOLS / ICND 1.
1 CMPT 471 Networking II ICMP © Janice Regan, 2012.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
Summary of Certification Process (part 1). IPv6 Client IPv6 packets inside IPv4 packets.
IP Networks and Routing
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lessons 1 and 2 1 BSCI Module 8 Lessons 1 and 2 Introducing IPv6 and Defining.
Rick Graziani Cabrillo College Fall 2013.
Slide: 1 Neighbor Discovery. Slide: 2 Neighbor Discovery Overview Set of messages and processes that determine relationships between neighboring nodes.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
© Jörg Liebeherr (modified by M. Veeraraghavan) 1 ICMP: A helper protocol to IP The Internet Control Message Protocol (ICMP) is the protocol used for error.
IPv6 Routing Milo Liu SW2 R&D ZyXEL Communications, Inc.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
資 管 Lee Lesson 6 IPv4: ARP, RARP IPv6: Neighbor Discovery.
Engineering Workshops Purposes of Neighbor Solicitation.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
1 Kyung Hee University Chapter 28 ICMPv6. 2 Kyung Hee University 28.1 Introduction  This new version, Internet Control Message Protocol version 6 ( ICMPv6.
Engineering Workshops 56 Allocation Schemes CIDR representation and IPv6 allocations.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lesson 3 1 BSCI Module 8 Lesson 3 Implementing Dynamic IPv6 Addresses.
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/05/15 IPv6-based wireless sensor network 1.
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
ICMPv6 Error Message Types Informational Message Types.
Attacking on IPv6 W.lilakiatsakun Ref: ipv6-attack-defense-33904http://
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
ZyXEL Confidential ICMPv6 Feng Zhou SW2 ZyXEL Communications Corp. 03/27/2006.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
Guide to TCP/IP Fourth Edition Chapter 5: Internet Control Message Protocol.
IPv6 (Internet Protocol V. 6)
1 IPv6: Packet Structures Dr. Rocky K. C. Chang 29 January, 2002.
Understanding IPv6 Slide: 1 Lesson 5 ICMPv6. Understanding IPv6 Slide: 2 Lesson Objectives Purpose of ICMPv6 and the structure of all ICMPv6 messages.
1 IPv6: Address Architecture Dr. Rocky K. C. Chang 29 January, 2002.
IPv6 Security Issues Georgios Koutepas, NTUA IPv6 Technology and Advanced Services Oct.19, 2004.
Engineering Workshops Stateless Autoconfiguration.
1 Internet Protocol, Version 6 (IPv6) Special Topics in Computer Sciences Second Term 1433/1434 H Dr. Loai Bani Melhim.
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
The New Internet Protocol
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
The New Internet Protocol
Chapter 15. Internet Protocol
Internet Protocol, Version 6 (IPv6)
Presentation transcript:

BAI513 - Protocols IP Version 6 Operation BAIST – Network Management

Objectives Neighbor Discovery Auto Configuration MTU Discovery ICMPv6 IPv6 Security IPv6 QOs IPv6 Technology Scope

Neighbor Discovery RFC 2461 Protocol built on top of ICMPv6 (RFC 2463) –Combination of IPv4 protocols (ARP, ICMP,…) Neighbor Discovery: –Determines the link-layer address of a neighbor on the same link, Duplicate Address Detection –Finds neighbor routers, Keeps track of neighbors Defines 5 ICMPv6 packet types –Router Solicitation / Router Advertisements –Neighbor Solicitation / Neighbor Advertisements –Redirect

Router Solicitation Message Formats Type = 133 Code = 0 Valid Options = Source Link-Layer Address TypeCodeChecksum Reserved Options …

Router Advertisement Message Formats Type = 134 Code = 0 TypeCodeChecksum Cur Hop LimitMO ReservedRouter Lifetime Reachable Time Retrans Timer Options…

RA Message Formats (cont.) Cur Hop Limit –Default value that should be placed in the Hop Count field of the IP header. M – “Managed Address Configuration” flag –When set, hosts use the administered (stateful) protocol for address autoconfiguration in addition to any address autoconfiguration using statless address autoconfiguration. O – “Other Stateful Configuration” flag –When set, hosts use the administered (stateful) protocol for autoconfiguration of other (non- address) information.

RA Message Formats (cont.) Router Lifetime –Lifetime associated with the default router in units of seconds. Maximun value is 18.2 hours. A value of 0 indicates that the router is not a default router. Reachable Time –The time, in seconds, that a node assumes a neighbor is reachable. Retrans Timer –The time, in milliseconds, between retransmitted Neighbor Solication messages.

RA Message Formats (cont.) Possible Options Source Link-Layer Address –link-layer address of the interface which the RA is sent. MTU –Should be sent on links that have a cariable MTU Prefix Information –Specify the prefixes that are on-link and/or are used for address autoconfiguration.

Neighbor Solication Message Format Type = 135 Code = 0 TypeCodeChecksum Reserved Target Address Options …

NS Message Formats (cont.) Target Address –IP address of the target of the solication. –MUST NOT be a multicast address. Possible Option –Sender’s source link-layer address,must not be included when source IP address is unspecified. Must be included with multicast and should be included with unicast

Neighbor Advertisement Message Format Type = 136 Code = 0 TypeCodeChecksum Reserved Target Address Options … R RSO

NA Message Formats (cont.) R – Router Flag, indicates that the sender is a router. S – Solicated Flag, indicates that the advertisement was sent in response to a NA from the destination address. O – Override Flag, indicates that the advertisement should override an existing cache entry. Target Address – MUST NOT be a multicast address Posible Options – Target Link-Layer Address

Redirect Message Format Type = 137Code = 0 TypeCodeChecksum Reserved Target Address Options … Destination Address

Redirect Message Format (cont.) Target Address –An IP address that is a better first hop to use for the ICMP destination address. Destination Address –IP address of the destination which is redirected to the target. Posible Options –Target link-layer address – should be included, if known. –Redirected Header – as much as posible of the IP packet that triggered the sending of the Redirect Message.

IPv6 and Path MTU Discovery Definitions: –link MTUa link’s maximum transmission unit, –path MTUthe minimum MTU of all the links in a path between a source and a destination Minimum link MTU for IPv6 is 1280 octets (68 octets for IPv4) –On links with MTU < 1280, link-specific fragmentation and reassembly must be used Implementations are expected to perform path MTU discovery to send packets bigger than 1280 octets: –for each dest., start by assuming MTU of first-hop link –if a packet reaches a link in which it cannot fit, will invoke ICMP “packet too big” message to source, reporting the link’s MTU; MTU is cached by source for specific destination Minimal implementation can omit path MTU discovery as long as all packets kept ≤ 1280 octets – e.g., in a boot ROM

IPv6 Auto-Configuration At boot time, an IPv6 host build a Link-Local address, then its global IPv6 address(es) from RA RA indicates SUBNET PREFIX Stateless Stateless (RFC 2462) –Host autonomously configures its own Link-Local address –Router solicitation are sent by booting nodes to request RAs for configuring the interfaces. Stateful Stateful –DHCPv6 (under definition at IETF) Renumbering Renumbering Hosts renumbering is done by modifying the RA to announce the old prefix with a short lifetime and the new prefix. Router renumbering protocol (RFC 2894), to allow domain-interior routers to learn of prefix introduction / withdrawal SUBNET PREFIX + MAC ADDRESS

Stateless Autoconfiguration Router solicitations are sent by booting nodes to request RAs for configuring the interfaces. 1 - ICMP Type = 133 (RS) Src = :: Dst = All-Routers multicast Address query= please send RA 2. RA 1. RS 2 - ICMP Type = 134 (RA) Src = Router Link-local Address Dst = All-nodes multicast address Data= options, prefix, lifetime, autoconfig flag

Duplicate Address Detection Duplicate Address Detection (DAD) (RFC 2462) uses neighbor solicitation to verify the existence of an address to be configured. ICMP type = 135 ICMP type = 135 Src = 0 (::) Dst = Solicited-node multicast of A Data = link-layer address of A Query = what is your link address? AB

ICMPv6 (RFC 2463) Similar to ICMP for IPv4 Uses an IPv6 Next Header value of 58. ICMPv6 messages are grouped into 2 general classes: error & informational message The 2 message classes are identified by the high-order bit in the ICMPv6 Type field. High-order bit value of 0 identifies an error message (values of 0 to 127) High-order bit value of 1 identifies an informational message (values of 128 to 255)

ICMPv6 Messages ICMPv6 Error Messages –1Destination Unreachable –2Packet Too Big –3Time Exceeded –4Parameter Problem ICMPv6 Informational Messages –128Echo Request –129Echo Reply TypeCodeChecksum Message Body

ICMPv6 Error Messages Destination Unreachable Message Type 1 –Code 0 – no route to destination –Code 1 – communication with destination administratively prohibited –Code 2 – not assigned –Code 3 – address unreachable –Code 4 – port unreachable

ICMPv6 Error Messages (cont.) Packet Too Big Type 2 –Code – Set to 0 by sender and ignored by receiver Time Exceeded Message Type 3 –Code 0 – hop limit exceeded in transit –Code 1 – fragment reassembly time exceeded

ICMPv6 Error Messages (cont.) Parameter Problem Message Type 4 –Code 0 – erroneous header field encountered –Code 1 – unrecognized Next Header type encountered –Code 2 – unrecognized IPv6 option encountered

ICMPv6 Informational Messages Both ICMPv6 Echo Request Messages (Type 128, Code 0) and Echo Reply Messages (Type 129, Code 0) perform as ICMPv4 Echo messages with identical fields TypeCodeChecksum IdentifierSequence Number Data …

IPv6 Security - IPSec IPSec standards apply to both IPv4 and IPv6 All implementations required to support authentication and encryption headers (“IPSec”) Authentication separate from encryption for use in situations where encryption is prohibited or prohibitively expensive Key distribution protocols are not yet defined (independent of IP v4/v6) Support for manual key configuration required

IP Quality of Service (v4 &v6) Two basic approaches developed by IETF: “Integrated Service” (int-serv) –fine-grain (per-flow), quantitative promises (e.g., x bits per second), uses RSVP signaling “Differentiated Service” (diff-serv) –coarse-grain (per-class), qualitative promises (e.g., higher priority), no explicit signaling Signaled diff-serv (RFC 2998) – uses RSVP for signaling with course-grained qualitative aggregate markings – allows for policy control without requiring per- router state overhead

IPv6 Support for Int-Serv 20-bit Flow Label field to identify specific flows needing special QoS –each source chooses its own Flow Label values; routers use Source Addr + Flow Label to identify distinct flows –Flow Label value of 0 used when no special QoS requested (the common case today) This part of IPv6 is not standardized yet, and may well change semantics in the future – flow-label-07.txt

IPv6 Support for Diff-Serv 8-bit Traffic Class field to identify specific classes of packets needing special QoS –same as new definition of IPv4 Type-of- Service byte –may be initialized by source or by router enroute; may be rewritten by routers enroute –traffic Class value of 0 used when no special QoS requested (the common case today)

IP Service IPv4 Solution IPv6 Solution DHCP IGMP/PIM/Multicast BGP IP Multicast MLD/PIM/Multicast BGP,Scope Identifier MLD/PIM/Multicast BGP,Scope Identifier Autoconfiguration Serverless, Reconfiguration, DHCP Serverless, Reconfiguration, DHCP IPv6 Technology Scope 32-bit, Network Address Translation 128-bit, Multiple Scopes 128-bit, Multiple Scopes Addressing Range Quality-of-Service Differentiated Service, Integrated Service Security IPSec Mandated, works End-to-End IPSec

Summary Neighbor Discovery Auto Configuration MTU Discovery ICMPv6 IPv6 Security IPv6 QOs IPv6 Technology Scope