IPv6 Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA (Ph : 2597371,

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.
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)
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.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv 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.
© 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
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Transitioning to IPv6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Limited address space The most visible and urgent problem with using IPv4 on the modern Internet is the rapid depletion of public addresses. Due to the.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
IP Version 6 Next generation IP Prof. P Venkataram ECE Dept. IISc.
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.
Host Autoconfiguration ALTTC, Ghaziabad. IPv4 Address and IPv6 equivalents ALTTC, Ghaziabad.
Chapter 8b Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
By Rod Lykins.  Background  Benefits  Security Advantages ◦ Address Space ◦ IPSec  Remaining Security Issues  Conclusion.
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.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
Introduction to IPv6 © J. Liebeherr, 2012, All rights reserved.
بسم الله الرحمن الرحیم. Why ip V6 ip V4 Addressing Ip v4 :: 32-bits :: :: written in dotted decimal :: :: ::
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Introduction to IPv6 NSS Wing,BSNL Mobile Services, Ernakulam 1.
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
Chapter 8: IP Addressing
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
© 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.
CIT 384: Network AdministrationSlide #1 CIT 384: Network Administration IPv6.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. IP version 6 Asst. Prof. Chaiporn Jaikaeo,
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.
Introduction to IPv6 Presented by:- ASHOK KUMAR MAHTO(09-026) & ROHIT KUMAR(09-034), BRANCH -ECE.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Lecture 10 Advance Topics in Networking IPv6.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—8-1 Implementing IPv6 Implementing Dynamic IPv6 Addresses.
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
W&L Page 1 CCNA CCNA Training 3.4 Describe the technological requirements for running IPv6 in conjunction with IPv4 Jose Luis Flores /
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lesson 3 1 BSCI Module 8 Lesson 3 Implementing Dynamic IPv6 Addresses.
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.
1 Lecture 13 IPsec Internet Protocol Security CIS CIS 5357 Network Security.
IPSec is a suite of protocols defined by the Internet Engineering Task Force (IETF) to provide security services at the network layer. standard protocol.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
IPv6 (Internet Protocol V. 6)
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IPv6 Security Issues Georgios Koutepas, NTUA IPv6 Technology and Advanced Services Oct.19, 2004.
Network Layer IP Address.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Understand IPv6 Part 2 LESSON 3.3_B Networking Fundamentals.
Instructor Materials Chapter 7: IP Addressing
Instructor Materials Chapter 7: IP Addressing
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
Lecture#5 IPV6 Addressing
CSCI {4,6}900: Ubiquitous Computing
Lecture#5 :IPV6 Adressing
Internet Protocol version 6 (IPv6)
IPv4 Issues The Need for IPv6 IPv6 is designed to be the successor.
Presentation transcript:

IPv6 Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA (Ph : ,

About Myself I am Principal Computer Engineer at IIT Kanpur and I manage the Campus Network and Internet Services of IITK. IIT Kanpur has one of the largest networks in the country. IITK Campus Network now has more than nodes providing connectivity to more than 6000 users in Academic Departments, Student Hostels and Residences. IITK has 1 Gbps Internet Connectivity. All application servers (Mail, DNS, Proxy Caching, Web etc.) are maintained in-house. B.Tech (1990) and M.Tech (1996) from IIT Kanpur Working in IIT Kanpur for more than 17 years

Why IPv6? IPv6 Shortage of IPv4 addresses Internet is expanding very rapidly in developing countries like India, China New devices like phones need IP address End-to-End Reachability is not possible without IPv6 New Features like Autoconfiguration, better support for QoS, Mobility and Security, Route Aggregation, Jumbo Frames

IPv6 Address IPv6 IPv4: 32 bits or 4 bytes long 4,200,000,000 possible addressable nodes IPv6: 128 bits or 16 bytes 3.4 * possible addressable nodes 340,282,366,920,938,463,374,607,432,768,211,456 5 * addresses per person

IPv6 Header Format IPv6 IPv4: 20 Bytes + Options IPv6: 40 Bytes + Extension Header Fragment Offset Flags Total Length Type of Service IHL PaddingOptions Destination Address Source Address Header ChecksumProtocolTime to Live Identification Version IPv4 Header Next Header Hop Limit Flow Label Traffic Class Destination Address Source Address Payload Length Version IPv6 Header

IPv6 Address Types IPv6 Unicast Address is for a single interface. IPv6 has several types (for example, global and IPv4 mapped). Multicast One-to-many Enables more efficient use of the network Uses a larger address range Anycast One-to-nearest (allocated from unicast address space). Multiple devices share the same address. All anycast nodes should provide uniform service. Source devices send packets to anycast address. Routers decide on closest device to reach that destination. Suitable for load balancing and content delivery services.

IPv6 Address Scope IPv6 Link-local: The scope is the local link (nodes on the same subnet) Unique-local: The scope is the organization (private site addressing) Global: The scope is global (IPv6 Internet addresses)

IPv6 Address Representation IPv6 x:x:x:x:x:x:x:x, where x is a 16-bit hexadecimal field Leading zeros in a field are optional: 2031:0:130F:0:0:9C0:876A:130B Successive fields of 0 can be represented as ::, but only once per address. Examples: 2031:0000:130F:0000:0000:09C0:876A:130B 2031:0:130f::9c0:876a:130b FF01:0:0:0:0:0:0:1 >>> FF01::1 0:0:0:0:0:0:0:1 >>> ::1 0:0:0:0:0:0:0:0 >>> ::

IPv6 Address Representation: Link Local IPv6 Hosts on the same link (the same subnet) use these automatically configured addresses to communicate with each other. Neighbor Discovery provides address resolution. The prefix for link-local addresses is FE80::/64. The following illustration shows the structure of a link-local address.

IPv6 Address Representation: Unique Local IPv6 IPv6 unicast unique-local addresses are similar to IPv4 private addresses. The scope of a unique-local address is the internetwork of an organization’s site. (You can use both global addresses and unique-local addresses in your network) The prefix for unique-local addresses is FC00::/8.

IPv6 Address Representation: Link Local IPv6 Remaining 54 bits Mandatory address for communication between two IPv6 devices Automatically assigned by router as soon as IPv6 is enabled

IPv6 Address Representation: Global Unicast IPv6 Global unicast and anycast addresses are defined by a global routing prefix, a subnet ID, and an interface ID.

IPv6 Address Representation EUI 64 IPv6 IPv6 uses the extended universal identifier (EUI)- 64 format to do stateless autoconfiguration. This format expands the 48-bit MAC address to 64 bits by inserting “FFFE” into the middle 16 bits. To make sure that the chosen address is from a unique Ethernet MAC address, the universal/local (U/L bit) is set to 1 for global scope (0 for local scope).

IPv6 Address Representation EUI 64 IPv6

Stateless Autoconfiguration IPv6 Stateless Address Configuration (IP Address, Default Router Address) Routers sends periodic Router Advertisement Node gets prefix information from the Router advertisement and generates the complete address using its MAC address Global Address=Link Prefix + EUI 64 Address Router Address is the Default Gateway

Stateless Autoconfiguration Example IPv6 MAC address: 00:0E:0C:31:C8:1F EUI 64 Address: 20E:0CFF:FE31:C81F Router Solicitation is sent on FF01::2 (All Router Multicast Address) and Advertisement sent on FF01::1 (All Node Multicast Address)

IPv6 Address Example IPv6 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:71:E5:47:82 inet addr: Bcast: Mask: inet6 addr: 2001:df0:92:0:218:71ff:fee5:4782/64 Scope:Global inet6 addr: fe80::218:71ff:fee5:4782/64 Scope:Link

DHCPv6 IPv6 Stateful Configuration Provides not only IP address, also other configuration parameters like DNS

DHCPv6 IPv6 Client I nitiates requests on a link to obtain configuration parameters use its link local address to connect the server Send requests to FF02::1:2 multicast address (All_DHCP_Relay_Agents_and_Servers) Relay Agent/ DHCPv6 Server 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)

Routing in IPv6 IPv6 Same Protocols as in IPv4 Static RIPng OSPFv3 MP-BGP4  Use ping6 and traceroute6 commands to check reachability and route

Routing in IPv6 IPv6 Aggregation of prefixes announced in the global routing table Efficient and scalable routing

Neighbor Discovery IPv6 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 (equivalent to ARP) Find routers Maintain neighbors’ reachability information Uses Multicast Address

Neighbor Discovery IPv6 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

Neighbor Discovery IPv6 It provides the functionality of: ARP ICMP redirect

Neighbor Discovery IPv6 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)

Neighbor Discovery IPv6 Neighbor Solicitation (NS): »to determine the link-layer address of a neighbor »or to check its reachability »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

Transition to IPv6 Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA (Ph : ,

Transition Mechanism IPv6 No fixed day to convert; no need to convert all at once. Transition Options: Dual Stack IPv6-IPv4 Tunnel IPv6-IPv4 Translation

Transition Mechanism IPv6

6/4 Dual Stack Hosts and Network IPv6 This allows all the end hosts and intermediate network devices (like routers, switches, modems etc.) to have both IPv4 and IPv6 addresses and protocol stack. If both the end stations support IPv6, they can communicate using IPv6; otherwise they will communicate using IPv4. This will allow both IPv4 and IPv6 to coexist and slow transition from IPv4 to IPv6 can happen.

6/4 Dual Stack Hosts and Network IPv6

6/4 Dual Stack Hosts and Network IPv6 IITK_KNPR_CMTR_DIA#sh run Building configuration... interface GigabitEthernet0/1 description Connected to IITK ip address ipv6 address 2001:DF0:92::1/64 ipv6 enable ! interface GigabitEthernet0/2 description Airtel IPv6 Connectivity ip address ipv6 address 2404:A800:2:D::2/64 ipv6 enable !

Tunneling IP6 via IP4 IPv6 This allows encapsulating IPv6 packets in IPv4 packets for transport over IPv4 only network. This will allow IPv6 only end stations to communicate over IPv4 only networks.

IP6-IP4 Translation IPv6 This allows communication between IPv4 only and IPv6 only end stations. The job of the translator is to translate IPv6 packets into IPv4 packets by doing address and port translation and vice versa.

Current Status of IPv6 Deployment IPv6

What, When and How to Migrate IPv6 All the major Operating Systems support IPv6. Most of the new network equipment supports IPv6 either by default or is available as an upgrade. Countries like US, France, Canada, Japan, China, and South Korea etc. have taken a lead in IPv6 deployment. The government in these countries have strongly promoted the use of IPv6 and also mandated the support of IPv6 by all equipment manufacturers and suppliers and service providers. China has launched China Next Generation Internet (CNGI) which is based on IPv6. China also showcased IPv6 readiness in the Beijing 2008 Olympics. IT IS TIME FOR INDIA TO ACT

Migration Steps IPv6 1.Check IPv6 compliance: Study the existing network and verify that all the equipment installed supports IPv6. Recommend upgrade of the equipment which does not support software upgrade or hardware upgrade/replacement. All future equipment purchase must ensure that the equipment is IPv6 compatible.

Migration Steps IPv6 2. Plan IPv6 addressing: Take IPv6 addresses from the Regional Internet Registry (APNIC in case of India) or upstream Internet provider. Make IPv6 Address allocation policy and plan IPv6 addressing for the entire network.

Migration Steps IPv6 3.Enable IPv6 Routing: Enable IPv6 routing in the entire network. For organization LANs, this would require IPv6 address configuration in all Layer 3 switches and routers and enable static/ dynamic routing. In case of Service provider networks, this would require configuring Provider Edge (PE) Routers as 6PE to support IPv6 over MPLS (Multi Protocol Label Switching) backbone, enabling IPv6 routing in the Customer Edge (CE) Router or Customer Premise Equipment (CPE) to connect the customer network over IPv6 and enabling BGP (Border Gateway Protocol) routing over IPv6 with the upstream providers to provide Internet access over IPv6. The IPv6 routes to customer networks may be static or BGP

Migration Steps IPv6 4. Setup IPv6 Application Servers: Upgrade the Domain Name servers to support IPv6 address resolution. Other servers like Web servers, Mail servers, Network Management servers, Authentication/ AAA servers etc. can also be upgraded to support IPv6.

Migration Steps IPv6 5. Enable IPv6 Peering: Enable IPv6 peering with upstream Internet providers. Service Providers need to enable IPv6 peering with other ISPs (Internet Service Providers) also through Internet Exchange (NIXI in case of India).

Migration Steps IPv6 6. Migrate Services on IPv6: Test various services like Internet access, , VoIP, IPTv etc. on IPv6 and migrate the services to support both IPv6 and IPv4. Service Providers should test and migrate their services like Internet Leased Line, VPN, Broadband, Multiplay, and Mobile etc. to support both IPv6 and IPv4.

IPv6 QoS Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA (Ph : ,

About Myself I am Principal Computer Engineer at IIT Kanpur and I manage the Campus Network and Internet Services of IITK. IIT Kanpur has one of the largest networks in the country. IITK Campus Network now has more than nodes providing connectivity to more than 8000 users in Academic Departments, Student Hostels and Residences. IITK has three 1 Gbps Internet Connectivity. All application servers (Mail, DNS, Proxy Caching, Web etc.) are maintained in-house. B.Tech (1990) and M.Tech (1996) from IIT Kanpur Working in IIT Kanpur for more than 17 years

IPv6 Security Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA (Ph : ,

About Myself I am Principal Computer Engineer at IIT Kanpur and I manage the Campus Network and Internet Services of IITK. IIT Kanpur has one of the largest networks in the country. IITK Campus Network now has more than nodes providing connectivity to more than 8000 users in Academic Departments, Student Hostels and Residences. IITK has 1 Gbps Internet Connectivity. All application servers (Mail, DNS, Proxy Caching, Web etc.) are maintained in-house. B.Tech (1990) and M.Tech (1996) from IIT Kanpur Working in IIT Kanpur for more than 17 years

IPv6 Security IPv6 IPv4 was not designed with security in mind. Packet Sniffing: Due to network topology, IP packets sent from a source to a specific destination can also be read by other nodes, which can then get hold of the payload (for example, passwords or other private information). IP Spoofing: IP addresses can be very easily spoofed both to attack those services whose authentication is based on the sender’s address (as the rlogin service or several WWW servers). Connection Hijacking: Whole IP packets can be forged to appear as legal packets coming from one of the two communicating partners, to insert wrong data in an existing channel.

IPv6 Security IPv6 In IPv4, Security is implemented in: Applications – HTTPS, IMAPS, SSH etc. IPsec tunnels

Security in IPv6 IPv6 IPv4 - NAT breaks end-to-end network security IPv6 - Huge address range – No need of NAT

Security in IPv6 IPv6 Reconnaissance In IPv6: Default subnets in IPv6 have 2 64 addresses Scan with 10 Mpps will take more than years Ping sweeps on IPv6 networks are not possible

Security in IPv6 IPv6 Viruses and Worms In IPv6 : Viruses and , IM worms: IPv6 brings no change. Other worms: IPv4: reliance on network scanning IPv6: not so easy Worm developers will adapt to IPv6 IPv4 best practices around worm detection and mitigation remain valid. IPS systems and Anti-viruses will not change.

IPv6 IPsec IPv6 Applies to both IPv4 and IPv6: – Mandatory for IPv6 – Optional for IPv4 Applicable to use over LANs, across public & private WANs, & for the Internet IPSec is a security framework – Provides suit of security protocols – Secures a pair of communicating entities –Two different modes: Transport mode (host-to- host) and Tunnel Mode (Gateway-to-Gateway or Gateway-to-host)

IPv6 IPsec Protocol IPv6 Services Provided by IPsec Authentication – ensure the identity of an entity (integrity) and replay protection Confidentiality – protection of data from unauthorized disclosure Key Management – generation, exchange, storage, safeguarding, etc. of keys in a public key cryptosystem

IPv6 IPsec Protocol IPv6 IPsec Services Authentication: AH (Authentication Header - RFC 4302) Confidentiality: ESP (Encapsulating Security Payload - RFC 4303) Key management: IKEv2 (Internet Key Exchange - RFC4306) When two computers (peers) want to communicate using IPSec, they mutually authenticate with each other first and then negotiate how to encrypt and digitally sign traffic they exchange. These IPSec communication sessions are called security associations (SAs).

IPv6 IPsec Protocol IPv6 IPsec Services S/MIMES-HTTP IP TCP Application approach SMTPFTP TCP HTTP ESPAH IP Network approach

IPv6 IPsec Protocol IPv6 IPsec AH Next HeaderLengthReserved Security Parameters Index Authentication Data (variable number of 32-bit words) IPv6 AH Header Format IPv6 Header Hop-by-Hop Routing Authentication Header Other Headers Higher Level Protocol Data IPv6 AH Packet Format

IPv6 IPsec Protocol IPv6 IPsec ESP ESP Format Security Parameters Index (SPI) Initialization Vector (optional) Replay Prevention Field (incrementing count) Payload Data (with padding) Authentication checksum

IPv6 IPsec Protocol IPv6 Implementations Linux-kernel 2.6.x onwards Cisco IOS-12.4(4)T onwards Windows Vista onwards

Security Issues in IPv6 IPv6 IPsec Key Exchange Protocol not yet fully Standardized Scanning possible – If IP address assignment is poorly designed No protection against all denial of service attack (DoS attacks difficult to prevent in most cases) No many firewalls in market with V6 capability