1 RedIRIS – Miguel Angel Sotos IPv6 tutorial.

Slides:



Advertisements
Similar presentations
10: ICMPv6 Neighbor Discovery
Advertisements

Introduction to IPv6 Presented by: Minal Mishra. Agenda IP Network Addressing IP Network Addressing Classful IP addressing Classful IP addressing Techniques.
Introduction to IPv6 Network & Application Passakon Prathombutr Next Generation Internet (NGI) National Electronics and Computer Technology Center.
Future Directions For IP Architectures Ipv6 Cs686 Sadik Gokhan Caglar.
IPv6 The New Internet Protocol Integrated Network Services Almerindo Graziano.
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 Features of IPv6 Larger Address Extended Address Hierarchy Flexible Header Format Improved Options Provision For Protocol Extension Support for Auto-configuration.
IPv4 to IPv6 Migration strategies. What is IPv4  Second revision in development of internet protocol  First version to be widely implied.  Connection.
1 May, 2007: American Registry for Internet Numbers (ARIN) “advises the Internet community that migration to IPv6 numbering resources is necessary for.
EE 545 – BOGAZICI UNIVERSITY. Agenda Introduction to IP What happened IPv5 Disadvantages of IPv4 IPv6 Overview Benefits of IPv6 over IPv4 Questions -
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services IPv6.
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.
IPv6-The Next Generation Protocol RAMYA MEKALA UIN:
Socket Programming with IPv6. Why IPv6? Addressing and routing scalability Address space exhaustion Host autoconfiguration QoS of flow using flowlabel.
IPV6. Features of IPv6 New header format Large address space More efficient routing IPsec header support required Simple automatic configuration New protocol.
KOM 15032: Arsitektur Jaringan Terkini Bab 2. Pengalamatan IPv6.
Implementing IPv6 Module B 8: Implementing IPv6
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Transitioning to IPv6.
IPv4 & IPv6 Coexistence & Migration Joe Zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
Enabling IPv6 in Corporate Intranet Networks
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.
IP Version 6 Next generation IP Prof. P Venkataram ECE Dept. IISc.
COSC 541 Data and Computer Communications IPV6 OVERVIEW Professor:Mort Anvari Student: Fuqiang Chen Student ID: Date:Mar
IPv6 Network Security.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
Understanding Internet Protocol
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
IP Version 6 (IPv6) Dr. Adil Yousif. Why IPv6?  Deficiency of IPv4  Address space exhaustion  New types of service  Integration  Multicast  Quality.
CS 6401 IPv6 Outline Background Structure Deployment.
1 IPv6 Address Management Rajiv Kumar. 2 Lecture Overview Introduction to IP Address Management Rationale for IPv6 IPv6 Addressing IPv6 Policies & Procedures.
Introduction to IPv6 © J. Liebeherr, 2012, All rights reserved.
CSIS 4823 Data Communications Networking – IPv6
Introduction to IPv6 NSS Wing,BSNL Mobile Services, Ernakulam 1.
IP Version 6 COMT 222. © 2005 Hans Kruse & Shawn Ostermann, Ohio University 2 Why change IP Number of addresses Routing Table Size Client configuration.
Summary of Certification Process (part 1). IPv6 Client IPv6 packets inside IPv4 packets.
© 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.
Module 3: Designing IP Addressing. Module Overview Designing an IPv4 Addressing Scheme Designing DHCP Implementation Designing DHCP Configuration Options.
IPv6 – What You Need To Know Tom Hollingsworth CCNP,CCVP,CCSP, MCSE.
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.
IPv6. Content  History  IPv4 Downfall  IPv6 Features  IPv6 Addresses  Changes from IPv4  IPv6 Headers/Frames/Packets  Autoconfiguration  Commands.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
IP Version 6 ITL. © 2003 Hans Kruse & Shawn Ostermann, Ohio University 2 Information Sources Christian Huitema, “IPv6, The New Internet Protocol”,
Page 1 Network Addressing CS.457 Network Design And Management.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
Linux Operations and Administration Chapter Eight Network Communications.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer NAT, IPv6.
1 Computer Networks IPv6. 2 Motivation The primary motivation from changing the IP datagram format is to increase the size of the useable address space.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
IPv6 Security Issues Georgios Koutepas, NTUA IPv6 Technology and Advanced Services Oct.19, 2004.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
IP Version 6 (IPv6).
IPv6 Overview Address space Address types IPv6 and Tunneling.
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Chapter 6 Exploring IPv6.
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
LESSON 3.3_A Networking Fundamentals Understand IPv6 Part 1.
IPv6 : Next generation IP
CSCI {4,6}900: Ubiquitous Computing
Internet Protocol, Version 6 (IPv6)
Computer Networks Protocols
Presentation transcript:

1 RedIRIS – Miguel Angel Sotos IPv6 tutorial

2 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

History 3 70s TCP/IP – developed in 1973, part of a project of the Department of Defense (ARPA agency, USA) ARPAnet network Universities and Research centers computers networks connection

History 4 80s 1983, ARPAnet starts using TCP/IP 1986, NSF (National Science Foundation) begins the development of NFSnet, it will be the ARPAnet substitute, being the base of the Internet

History 5 90s 1993, first previsions of exhaustion of IPv4 addresses IETF (Internet Engineegin Task Force) develops IPv6 specifications Initially it was IPng ¿What happens with IPv5? Packets were marked with the version number 5, when the packets carried an experimental protocol, called ST, real time streaming.

6 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

Why IPv6 7 The main reason, more addresses But, what happens if I don’t need more addresses? –IPv6 is in fashion –Don’t loose the oportunity –Simplify end to end connections –No more NATs for security Tecnically: –All in one –Security in network layer –Autoconfiguration –More efficient and jerarquical routing –We start again –Headers are more simple

Why IPv6 8 And now we have a lot of devices connected to a network, even TVs, cameras, fridges…everything!

Why IPv6 9 Countries with lack of IPv4 addresses Increasing demand Companies adopting and introducing IPv6 IPv6 support will be necessary to not be disconnected of part of the network and internet IPv6 is robust, no patches Anyway…maybe IPv4 will not disappear

10 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

IPv6 header 11 It’s more simple

IPv6 header 12 CLASS is the Type of Service in IPv4 HOP LIMIT is the TTL of IPv4 FLOW LABEL is used in QoS PAYLOAD LENGTH is the data length carried by the packet NEXT HEADER If I have more info, I use more headers… No checksum No fragmentation, only end to end MTU discovery

IPv6 header 13 Types of header extensions Routing Fragmentation Hop-by-hop options Destiny options Atuthentication ICMP Completely new Including IGMP

IPv6 addresses 14 IPv4 – 4000 million of addresses –Allocation without control –Fragmentation IPv6 – 3.4x10^38 addresses –Clean slate, we start from scratch. Control, order. –128 bits to addres the world

IPv6 addresses 15 4 times bigger –32 to 128 bits Sintax: –aaaa:bbbb:cccc:dddd:eeee:ffff:0000:1111 –Hexadecimal digits in groups of 4 –You can substitute a group of 0s by :: –No masks, instead we have /number_of_bits (like CIDR notation in IPv4)

IPv6 addresses 16 Addres format: Unicast, multicast, anycast Global unicast addresses start with 001 (binary) so we have addresses starting with 2 or 3 –2001::… or 3ffe::… No broadcast (instead, multicast)

IPv6 addresses 17 Interface-id Last 64 bits of the address Unique in a local network The IPv6 address is asociated with the interface, not the host MAC address is mapped

IPv6 addresses 18 Hosts addresses When I have IPv6 configured or enabled in a host, I automatically have a link-local address Starts with fe80:: Not routeable Is unique in the local network That address is configured automatially using the interface-id Used for autoconfiguration

IPv6 addresses 19 Multicast addresses Start with FF00 First 0 is Flags – (0,1 – permanent, not permanent) Second 0 is scope 1 – node 2 – link 5 – site 8 – organization E – global FF02::1 – all the nodes of a network FF02::2 – all the routers of a network

IPv6 addresses 20 Anycast addresses Used for a group of interfaces with the same address One packet sent to that address goes to the nearest host with that address

IPv6 addresses 21 Example of global addresses: IPv4: IPv6:2001:0720:0418:cafe:cccc:1111:abeb:b0b0 We can summarize: 2001:720:0000:0000:0000:0000:0000:9876 is 2001:: :720:0000:0000:0000:0000:0000:0000 is 2001:720:: ¿What will be ::/0 ?

IPv6 addresses 22 How we can distribute my prefix in my network? To each one of the centers I can assign a /48 –First 48 bits are fixed A network is a /64 –Interface ID I have 16 bits to distribute the addresses in my center –Network ID

IPv6 addresses 23 Example, RedIRIS have 2001:0720::/32 for all the Universities and Research centers Company/Building Department

IPv6 addresses 24 Special addresses Loopback ( ) is ::1 Default( /0) is ::/0 IPv6 compatible with IPv4 (for tunnels) :: IPv6 mapped over IPv4 ::FFFF: Link-local address, starts with fe80::

25 Agenda History WhyIPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

Autoconfiguration 26 New IPv6 feature (similar to IPv6 DHCP) Network administration is easier – plug and play The user connects the host to the network and is automatically configured Advantage over DHCP It’s not necessary an additional server

Autoconfiguration 27 Protocol used here is neighbor discovery Hosts and network equipment exchange multicast IPv6 packets to check the host IPv6 address Duplicate IPv6 addresses detection Two types Stateful and stateless Different mechanisms that can be used in a complementary way

Autoconfiguration 28 Stateful Manual configuration, or using DHCP Like IPv4 Stateless Completely automatic configuration It’s not necessary the manual config of hosts and servers. In some cases, we need minimal network equipment configuration (routers)

Autoconfiguration 29 Neighbour advertisement The host send a router request message ICMP type 133 The router sends a router advertisement message ICMP type 134 Include the prefix announced by the router with the TTL

Autoconfiguration 30 The host sends the neighbour request message to check the IPv6 address of the neighbour ICMP type 135 A neighbour advertisement message is sent A router can send a change or redirection message to find the best hop for a destiny

31 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

DNS 32 Now, applications behave in a different way First, they request the IPv6 addres (timeout…) If it’s coded correctly, it will ask for IPv4 –You have to be very careful when putting an IPv6 service in production Good connectivity –You have to be very careful when configuring an IPv6 address in the DNS Deny of service!

DNS :800:400:10::71 Access to the web server (port 80) Port 80 not reachable

DNS 34 –I have configured all the hosts in my network, –Also my router DNS is a must, due to the length of the addresses –Bind v9 support IPv6 addresses IPv6 requests over IPv6: » options{ listen-on-v6 { any; }; } IPv6 requests over IPv4

DNS 35 It’s better not to create an special zone for IPv6 (like ipv6.my_center.com) But, it can be dangerous for production services During tests, it’s better ftp.ipv6.my_center.com than ftp.my_center.comftp.my_center.com Anyway, we should go for the same direct zone –Direct zone –We use the same config files as with IPv4 (AAAA instead of A)

DNS 36 Reverse zone nibble-bit notation with.arpa – ip6.arpa –Root servers are configured to support this format –Recommended and the zone which is delegated with the Registries (like RIPE) –Latests versions of glibc support this format

37 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

Transition 38 We cannot switch off the Internet and then switch on with IPv6 There are several mechanisms IPv4 and IPv6 can live together BUT IPv4 and IPv6 are not compatible Three types of transition mechanisms Dual-stack Based on tunnels Based on address translation

Transition 39 Dual-stack We depend on vendors implementations My equipment support native IPv4 and native IPv6, at the the same time, parallel. More operational effort I can plan a periodic migration, step by step Network Servers Applications and services Hosts The best one It’s recommended a testing period

Transition 40 Tunnels IPv6 traffic is encapsulated in IPv4 packets I connect two IPv6 worlds separated by an IPv4 domain Automatic tunnels The host has an IPv4 compatible IPv6 address 6to4: IPv4 address of the tunnel endpoints are identified in the IPv6 prefix »We use 2002::/16 Manual tunnels Explicit configuration IPv4 tunnel endpoints IPv6 address of the tunnel interface Tunnel brokers Automatic configuration to have basic IPv6 connectivity if my network is only IPv4

Transition 41 6to4 I connect two IPv6 worlds isolated (IPv4 between them) The router to the Internet creates a 6to4 tunnel to the other domain The IPv4 addresses of the tunnel endpoints are included in the IPv6 prefix Used 2002::/16 Teredo Provides IPv6 connectivity behind a NAT Encapsulates IPv6 packets into UDP IPv4 They can go through the NAT and the Internet

Transition 42 To migrate all my network to IPv6 I’ll have the following problems: My hardware doesn’t support IPv6 –Upgrade it –Use a Linux router –Use an alternate router, with a tunnel to a provider –I have a firewall »Not a lot of solutions »Upgrade is important

Transition 43 Level 2 migration, integrating an IPv6 router in the same vlan Small IPv6 router

Transition 44 More natural migration, including dual-stack

Transition 45 Migration using Level 3

46 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

Security 47 Support for IPv6+firewalls+tunnels is not widely deployed But IPv6 has IPsec… The same as with IPv4, but in that case is part of the protocol (security header), less problems –Security is included, as part of the IPv6 specifications –Authentication –Encryption

Security 48 With the right security policies, it’s not a problem to have public addresses for everyone. It’s easier the network administration NAT is not necessary Problems with multimedia applications Problems with IPsec Problems with multicast Problems with end to end, peer to peer and point to point applications

49 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

IPv6 & Windows 50 You can create an IPv6 tunnel against Micrsoft Good for testing With windos 2000 you have to install SP2 With Windows XP With SP1 or higher It’s part of the system To install it Form properties of my network places Using CLI Netsh interface ipv6 install Without SP1 You cannot do DNS queries using IPv6 Install it using CLI Ipv6 install

IPv6 & Windows 51 With windows Vista*With MAC (live show) Installed by default You can deactivate it

IPv6 & Linux 52 In the latests versions, kernel has complete IPv6 support –If my host has IPv6 activated In my loopback address I’ll see: ::1/128 Scope: Host In the interfaces I’ll see a link-local address eth0 Link encap:Ethernet HWaddr 00:60:08:3A:9E:B7 inet addr: Bcast: Mask: inet6 addr: fe80::260:8ff:fe3a:9eb7/10 Scope:Link … –My host will be configured using the prefix that the router announces, having complete IPv6 connectivity eth0 Link encap:Ethernet HWaddr 00:60:08:3A:9E:B7 inet addr: Bcast: Mask: inet6 addr: 3ffe:3328:5:1:260:8ff:fe3a:9eb7/64 Scope:Global inet6 addr: fe80::260:8ff:fe3a:9eb7/10 Scope:Link

IPv6 & Linux 53 How-to State of the art Testing URLs

54 Agenda History Why IPv6 IPv6 addresses Autoconfiguration DNS Transition mechanisms Security in IPv6 IPv6 in Windows and Linux IPv6 now

55 Only the lack of addresses promoted the born of IPv6 When IPv4 addresses are going to be exhausted? 2012 ¿? But: It seems that we still have the 35% of IPv4 address space available Internet double its size each year NAT allows sharing addresses

IPv6 now 56 Not equal deployment Asian countries with expanding economies or high population density China/Japan Quick deployment In Europe/USA, no lack of addresses Very slow deployment

IPv6 now 57 Academic and research networks 90% of European and American networks provide native IPv6 Very few traffic, about 5-10% A good starting point We have the base for the commercial deployment The killer application?

IPv6 now 58 In Spain 4% of Telcos provide IPv6 services research projects or testbeds more or less, ready There is no client requirements RedIRIS We offer IPv6 services since % of the centers with native IPv6 connection 25% of the final users Few traffic, about 7% of the total

Finally 59 Transition cost low CAPEX High OPEX When IPv4 addresses will be finished? ¿2020?, ¿2030? –IPv4 probably will not disappear –Very large transition period –IPv6 has to be familiar, we have to start playing with it in our networks