IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo

Slides:



Advertisements
Similar presentations
10: ICMPv6 Neighbor Discovery
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 26 IPv6 Addressing.
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)
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.
1 May, 2007: American Registry for Internet Numbers (ARIN) “advises the Internet community that migration to IPv6 numbering resources is necessary for.
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.
IPv6. Key Aspects Increased address space SLAAC Security Simplified router processing.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
Implementing IPv6 Module B 8: Implementing IPv6
Chapter 22 IPv6 (Based on material from Markus Hidell, KTH)
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
IPv6 Network Security.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
LOGO IPv6 Application Analysis Xi Chen
1 CMPT 471 Networking II ICMPv6 © Janice Regan, 2012.
9: Introduction to ICMPv6 Rick Graziani Cabrillo College
Lesson 6 Neighbor Discovery.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
Introduction to IPv6 © J. Liebeherr, 2012, All rights reserved.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
IPv6 With thanks to Rick Grazianni of Cabrillo College.
بسم الله الرحمن الرحیم. Why ip V6 ip V4 Addressing Ip v4 :: 32-bits :: :: written in dotted decimal :: :: ::
IPv6 – part I. FUNDAMENTALS AND PROTOCOLS / ICND 1.
CSIS 4823 Data Communications Networking – IPv6
Summary of Certification Process (part 1). IPv6 Client IPv6 packets inside IPv4 packets.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv6 Introduction to Networks.
Chapter 8: IP Addressing
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
Slide: 1 Neighbor Discovery. Slide: 2 Neighbor Discovery Overview Set of messages and processes that determine relationships between neighboring nodes.
Chapter 22 Next Generation IP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CIT 384: Network AdministrationSlide #1 CIT 384: Network Administration IPv6.
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.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
W&L Page 1 CCNA CCNA Training 3.5 Describe IPv6 addresses Jose Luis Flores / Amel Walkinshaw Aug, 2015.
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
ICMPv6 Error Message Types Informational Message Types.
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
IPv6 (Internet Protocol V. 6)
Submitted to: Submitted by: Mrs. Kavita Taneja Jasleen kaur (lect.) Hitaishi verma MMICT & BM MCA 4 th sem.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
IPv6. Network Layer4-2 IPv6 Initial motivation:  32-bit address space soon to be completely allocated. Additional motivation:  Simpler header format.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Instructor Materials Chapter 7: IP Addressing
Instructor Materials Chapter 7: IP Addressing
IPv6/Hexadecimal Objectives:
Internet ProtoCOL Version 6 I/II
IPv6 Overview Address space Address types IPv6 and Tunneling.
IPv6 Addressing Overview IPv6 increases the number of address bits by a factor of 4, from 32 to 128, providing a very large number of addressable.
Chapter 19 Network Layer Protocols
Ipv6 addressing Chapter 5d.
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
Ch.8 Dynamic IPv6 Address Allocation
Chapter 7: IP Addressing
An Introduction to IPv6 By Jim Johnston.
Chapter 15. Internet Protocol
Internet Protocol, Version 6 (IPv6)
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
IPv4 Issues The Need for IPv6 IPv6 is designed to be the successor.
Presentation transcript:

IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo.martelli@cern.ch

IPv6 and IPv4

Addresses

(correspond to: 89.8A.0A.10 Hex) IP addresses IPv4 32 bits Written as 4 groups of 8 bits, decimal notation: 137.138.10.16 (correspond to: 89.8A.0A.10 Hex) IPv6 128 bits Written as 8 groups of 16 bits, hexadecimal notation: 2001:0db8:a137:b138:c000:d000:e000:f001

Subnets IPv4 Netmask (0s in the host part): 137.138.10.0 255.255.255.0 Prefix length (number of bits used for the network address): 137.138.10.0/24 IPv6 Only prefix length: 2001:0db8:a137:b138::/64 Host part is omitted Smallest network: /64 (recommendation)

Network and Host parts 1111:2222:3333:4444:5555:6666:7777:8888/64 1 16 32 48 64 80 92 108 128 1111:2222:3333:4444:5555:6666:7777:8888/64 Site prefix Subnet Host

Number of addresses IPv4 32 bits means 232 ~= 4 billions IPv6 128 bits means 2128 ~= infinite A normal allocation for a site/company (/32) gives: - 232 subnets (the whole IPv4 space) - 264 host addresses per subnet (25000 hosts per square meter on earth, per subnet)

IPv6 notation IPv6 Leading 0s can be omitted: 2001:0db8:a100:0001:0020:0300:0000:4000 can also be written: 2001:db8:a100:1:20:300:0:4000 Groups of 0s can be omitted and replaced by :: (only once): 2001:0db8:a137:0000:0000:abcd:0000:1234 2001:0db8:a137::abcd:0:1234

Special addresses IPv4 IPv6 Loopback 127.0.0.1 ::1 Unspecified address Link Local FE80::/10 Unique Local 10.0.0.0/8 (RFC1918) FC00::/7 Default route 0.0.0.0/0 ::/0 Multicast 224.0.0.0/4 FF00::/8 Documentation 2001:DB8::/32 [http://tools.ietf.org/html/rfc4291]

Broadcast vs Multicast IPv4 uses broadcast to reach all the nodes on a subnet: 255.255.255.255 Broadcast addresses no longer exist in IPv6, but special multicast addresses for groups of hosts. Some examples: All Nodes Addresses: FF02::1 (link-local) All Routers Addresses: FF02::2 (link-local) FF05::2 (site-local) All DHCPv6 servers: FF02::1:2 (link-local) FF05::1:3 (site-local) [http://tools.ietf.org/html/rfc2375]

Packets

IP headers [http://tools.ietf.org/html/rfc2460] IPv6 header 32 bits 32 bits Version IHL Type-of-Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header checksum Source address Destination address Options 6x32bits = 24 bytes Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source address Destination address 10x32bits = 40 bytes [http://tools.ietf.org/html/rfc2460]

Fragmentation IPv4: When a packet is too big for the next link over which it is to travel, it can be fragmented by the sender (host or router). IPv6: Fragmentation can only occur at the source node, and reassembly is only done at the destination node. IPv6 routers never fragment IPv6 packets. Packets exceeding the size of the maximum transmission unit of the destination link are dropped and this condition is signaled by a Packet too Big ICMPv6 type 2 message to the originating node, similarly to the IPv4 method when the Don't Fragment bit set. End nodes in IPv6 are expected to perform path MTU discovery to determine the maximum size of packets to send, and the upper-layer protocol is expected to limit the payload size. However, if the upper-layer protocol is unable to do so, the sending host may use the Fragment extension header in order to perform end-to-end fragmentation of IPv6 packets. [http://en.wikipedia.org/wiki/IPv6_packet#Fragmentation]

MTU IPv4: Minimum MTU = 576 Bytes Maximum MTU = 65535 (216 – 1) Bytes

Protocols

Neighbor discovery IPv4: ARP Address Resolution Protocol IPv6: NDP Neighbor Discovery Protocol

NDP NDP specifies 5 types of ICMP packets: - Router Advertisement (RA): periodic advertisement of the availability of a router - Router Solicitation (RS): the host needs RA immediately (at boot time) - Neighbor Solicitation (NS): to determine the link-layer address of a neighbor (equivalent to ARP request) - Neighbor Advertisement (NA): answer to a NS packet (equivalent to ARP reply) - Redirect: Used by a router to inform a host of a better route to a given destination [http://tools.ietf.org/html/rfc4861]

Host Auto-configuration IPv4: - DHCP IPv6: - SLAAC (StateLess Address AutoConfiguration) - DHCPv6

Yes, and I can be your gateway SLAAC IPv6 hosts can configure themselves automatically when connected to a routed IPv6 network using ICMPv6 router discovery (RD) messages and EUI-64 for their own unique address. Is there a Router? Routers respond to those requests with a router advertisement (RA) packet that contains network configuration parameters (subnet, default gateway). Yes, and I can be your gateway [http://tools.ietf.org/html/rfc2462]

EUI-64 EUI-64 is an identifier used to generate a unique host address from the MAC address MAC address: 00 12 34 56 78 9A FFFE inserted: 00 12 34 FF FE 56 78 9A 0000 0000 0000 0010 Bit 7 is inverted: EUI-64 address: 02 12 34 FF FE 56 78 9A [http://tools.ietf.org/html/rfc3513]

Routing protocols RIP(v2) IPv4 only RIPng IPv6 only OSPF(v2) IPv4 only ISIS IPv4 and IPv6 Multiprotocol BGP IPv4 and IPv6

Questions? edoardo.martelli@cern.ch