IPv6 End Station Addressing: Choosing SLAAC or DHCP Jeff Harrington - NYSERNet



Similar documents
Implementing DHCPv6 on an IPv6 network

IPv6 Autoconfiguration Best Practice Document

ERNW Newsletter 46 / Januar 2015

IPv6 Infrastructure Security Jeffrey L Carrell Network Conversions Network Security Consultant, IPv6 SME/Trainer

About Me. Work at Jumping Bean. Developer & Trainer Contact Info: mark@jumpingbean.co.za

IP(v6) security. Matěj Grégr. Brno University of Technology, Faculty of Information Technology. Slides adapted from Ing.

IPv6 First Hop Security Protecting Your IPv6 Access Network

IPv6 Network Security.

IPv6 Infrastructure Security

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

Joe Davies. Principal Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group June 1, 2011

IPV6 DEPLOYMENT GUIDELINES FOR. ARRIS Group, Inc.

IPv6 Functionality. Jeff Doyle IPv6 Solutions Manager

IPv6 Trace Analysis using Wireshark Nalini Elkins, CEO Inside Products, Inc.

IPv6 in Axis Video Products

Developing an IPv6 Addressing Plan Guidelines, Rules, Best Practice

Basic IPv6 WAN and LAN Configuration

ProCurve Networking IPv6 The Next Generation of Networking

Internet Control Protocols Reading: Chapter 3

IPv6 INFRASTRUCTURE SECURITY WORKSHOP SESSION 10 BUILDING IPv6 INFRASTRUCTURE NETWORK SECURITY

GB-OS Version 6.2. Configuring IPv6. Tel: Fax Web:

OS IPv6 Behavior in Conflicting Environments

IPv6 Secure Neighbor Discovery

Campus IPv6 connection Campus IPv6 deployment

About the Technical Reviewers

IP Address Assignment in Large Industrial Networks

DHCP and DNS Services

IPv6.marceln.org.

Chapter 36 Dynamic Host Configuration Protocol for IPv6 (DHCP6)

IPv6 for AT&T Broadband

Industry Automation White Paper Januar 2013 IPv6 in automation technology

Leveraging Best Practices for SolarWinds IP Address Manager

IPv6 SECURITY. May The Government of the Hong Kong Special Administrative Region

Chapter 3 Configuring Basic IPv6 Connectivity

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Introduction to IPv6 and Benefits of IPv6

IX Support Tool Setting Manual

Exam : Title : TS: Windows Server 2008 Network Infrastructure, Configuring Ver :

IPv6 stateless address autoconfiguration 2 let IPv6 hosts configure

How to Set Up Automatic Subnet Scan Using SolarWinds IP Address Manager. Share:

How To Understand and Configure Your Network for IntraVUE

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Personal Firewall Default Rules and Components

Dedication Preface 1. The Age of IPv6 1.1 INTRODUCTION 1.2 PROTOCOL STACK 1.3 CONCLUSIONS 2. Protocol Architecture 2.1 INTRODUCTION 2.

Eric Vyncke, Distinguished Engineer, 2011 Cisco and/or its affiliates. All rights reserved. Cisco Public 1

Detecting rogue systems

IPv6 Addressing and Subnetting

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Configuring DHCP. DHCP Server Overview

No need to operate a DHCP server. If a server s IP address changes, clients will lose the ability to access it!

IPv6 Opportunity and challenge

ICS 351: Today's plan

Recommended IP Addressing Methods for EtherNet/IP Devices

Interconnecting Cisco Networking Devices Part 2

Network Working Group. Category: Standards Track October 2006

IPv6 for SMB s: Easy or Hard?

MULTIFUNCTIONAL DIGITAL SYSTEMS. TopAccess Guide

APNIC IPv6 Deployment

Charter Text Network Design and Configuration

NETGEAR ProSAFE WC9500 High Capacity Wireless Controller

Neighbour Discovery in IPv6

CCT vs. CCENT Skill Set Comparison

Use Domain Name System and IP Version 6

Security of IPv6 and DNSSEC for penetration testers

Security Assessment of Neighbor Discovery for IPv6

Version 1.3 April IPv6 Supplement: Configure IP Settings and IP Filtering

Are You Ready to Teach IPv6?

Installing and Using the vnios Trial

Microsoft Windows 2003 DNS Server for Wireless LAN Controller (WLC) Discovery Configuration Example

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

CCNA Exploration: Accessing the WAN Chapter 7 Case Study

Installing Cable Modem Software Drivers

Windows 7 Resource Kit

Overview. Lecture 16: IP variations: IPv6, multicast, anycast. I think we have a problem. IPv6. IPv6 Key Features

Corresponding Auto Names for IPv6 Addresses <draft-kitamura-ipv6-auto-name-02.txt> Hiroshi KITAMURA NEC Corporation

WHITE PAPER. Infoblox IPAM Integration with Microsoft AD Sites and Local Services

IPv6 Virtual Labs: How to & Lessons s Learned. IPv6 Virtual Labs:

: Interconnecting Cisco Networking Devices Part 2 v1.1

Introduction to Mobile IPv6

Discovering IPv6 with Wireshark. presented by Rolf Leutert

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

GS716Tv3, GS724Tv4, and GS748Tv5 Smart Switches

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

IPv6 Advantages. Yanick Pouffary.

Dynamic Host Configuration Protocol for IPv6

IPv6-only hosts in a dual stack environnment

IPv6 Associated Protocols

Transcription:

IPv6 End Station Addressing: Choosing SLAAC or DHCP Jeff Harrington - NYSERNet 1

Important Planning Decisions Planning for IPv6 on Campus Three major areas need to be addressed during planning. There are many changes in IPv6, but we have found consistency in implementation delays due to these factors: Campus Addressing Plan End Station/Host Addressing Security 2

Important Planning Decisions Planning for IPv6 on Campus Planning the mechanisms for end station addressing will be more complex in IPv6 than IPv4. New requirements, new tools, and new limitations must be accounted for. Consistency and coherency will be essential. Build up tool sets before deployment Can be modeled after IPv4 tools, but you will have to make changes. 3

Important Planning Decisions End Station/Host Addressing IPv6 adds more options to end station addressing. In addition to static addressing or DHCP, a new dynamic method of addressing is available called Stateless Address Autoconfiguration (SLAAC). There are advantages and disadvantages to both methods of host addressing. 4

Important Planning Decisions End Station/Host Addressing No method of host addressing is complete without additional steps. There are ways to resolve the different limitations in each method. Organizations will have to determine which method of addressing hosts works in their environment and the final decision may actually be to include both. 5

Static IPv6 Addresses Static IPv6 addresses can be used in a similar manner to static IPv4 addresses. Should be used for network devices and servers. Can be used in small subnets where DHCPv6 is either not available or not required. Not as easy to configure or remember addresses in IPv6 as IPv4. Does not change link-local addresses. 6

Static IPv6 Addresses IPv6 hosts can (and do) have more the one address. Just configuring a static address isn t enough. Must turn off end station autoconfiguration: In Windows: netsh interface ipv6 set interface "Local Area Connection" routerdiscovery=disabled enabled In Linux: sudo sysctl -w net.ipv6.conf.eth1.autoconf=0 sudo sysctl -w net.ipv6.conf.eth1.accept_ra=0 MacOSX: net.inet6.ip6.use_tempaddr=0 If the station gets a static and dynamic address it will decide on it s own which address to use for a given flow. (RFC 6724) 7

Dynamic Host Addressing For end stations that do not need a well-known, stable address, dynamic addressing should be used. In IPv4 only option is DHCP. For IPv6 the default dynamic addressing option is SLAAC, but DHCPv6 is available. With Dynamic addressing, consider the requirements: hosts receive an address, a default gateway, DNS resolvers, a lifetime, and potentially other parameters. 8

Dynamic Host Addressing Other considerations would be host support for the addressing method, DNS updates, user tracking/accounting, privacy and security. SLAAC and DHCPv6 approach host addressing differently, and fulfill different requirements. Depending on your needs, match the addressing method to your environment. Work is ongoing in both SLAAC and DHCPv6 to provide a solution that meets all requirements, but neither method is complete. 9

Stateless Autoconfiguration Stateless Address Autoconfiguration (SLAAC) is the default method IPv6 hosts obtain an IPv6 address. End stations automatically generate the Interface ID (lower 64 bits) of their address as an EUI-64 address based on the station MAC address. The Prefix is provided to the end station via a Router Advertisement (RA). The RA contains the prefix(es) for that subnet, the default gateway and prefix lifetime. 10

Stateless Autoconfiguration End stations request an RA during start up, or upon connecting to a network for the first time. RAs are also periodically sent by the router to refresh lifetimes. 11

Stateless Autoconfiguration Because all implementations of IPv6 support SLAAC, deployment can be ubiquitous. All hosts and all OSes can implement SLAAC. Privacy, security and DNS resolution are major issues with implementing SLAAC. 12

Stateless Autoconfiguration Privacy Extenstions to SLAAC The original SLAAC standard bases the Interface ID on the station MAC address. With this configuration, mobile devices retain the lower 64 bits of the address regardless of their location. RFC 4941 defines privacy extensions for SLAAC. All major OSes implement this RFC by default. With privacy extensions enabled the end station IPv6 address is recalculated every 24 hours. 13

Stateless Autoconfiguration Privacy extensions do limit tracking of users as they move locations. Issues with privacy extensions include Long lived connections lose connectivity after ~7 days With users changing IPs regularly logging the user/ip address correlation is difficult Security policies may need to be revisited do you filter based on source address? Draft is under consideration to create stable privacy addresses. End Station addresses would still change based on location, fulfilling the privacy concerns. But would be stable inside each location. draft-ietf-6man-stable-privacy-addresses-01.txt 14

Stateless Autoconfiguration SLAAC does not include any DNS functionality. Neither AAAA host entries into authoritative servers or providing resolvers to hosts is part of SLAAC. Populating addresses or reverse records dynamically into DNS must be done by another method. End stations are not given resolver(s) or local domain information. 15

Stateless Autoconfiguration End stations in dual stack environments can use the information provided via IPv4 For IPv6 only hosts, need another method to provide DNS information. Use the O flag and have local router provide information. Use the O flag and have DHCP server provide information. 16

Stateless Autoconfiguration RFC 6106 specifies new extensions to SLAAC that allow DNS information to be included in RAs. Routers can send out both resolvers and domains. Supported in Linux implementations, Mac OS X and ios. Not supported in Android, Windows (third party applications can provide support), Cisco IOS or JUNOS. Full support listed at http://en.wikipedia.org/wiki/comparison_of_ipv6_supp ort_in_operating_systems 17

Stateless Autoconfiguration Security issues surrounding SLAAC are concerned with ensuring that only legitimate routers send RAs. Same concern for DHCPv6. Blocking rogue RAs should be considered standard practice RA Guard Manual filters High preference on legitimate RAs 18

Stateless Autoconfiguration Additional security issue with SLAAC involves filtering based on source addresses. If your organizations security policy uses source IP filters to restrict access to sensitive systems or resources SLAAC with privacy extensions will eliminate this practice Cannot predict the source address, and 24 hour rotation of addresses means constantly updating filters. Stable privacy addressing will help, but not yet available. 19

DHCPv6 SLAAC can be used in a production environment, but many organizations do not like the unpredictability, particularly with privacy options. Remaining option to addresses end hosts is DHCPv6. Must configure your network to stop announcing SLAAC prefixes and also to tell the host to look for a DHCPv6 server. Done by setting the M bit on the interface so the Router Advertisement includes the flag. 20

Development of DHCPv6 Not everyone saw the need Stateless address autoconfiguration allows clients to obtain IPv6 addresses. Seen as providing same functionality as DHCPv4, so don't need DHCP in IPv6, right? Reasons for DHCPv6 Provide DNS information: currently no other automated way to do this (RFC 6106 is largely unimplemented). Better control and tracking of IPv6 address usage. Centralized mechanism for DDNS updates. Use of DHCP options. 21

DHCPv6 DHCPv6 operates similarly to DHCPv4. Client requests an address from a server, and receives a response with an address and other configured information. Just as in IPv4, the host receives complete addressing. Both the 64 bit prefix and the 64 bit Interface ID. The host does not get any addressing from the Router Advertisement. Does not affect Link-local addresses, those remain generated by the host. 22

DHCPv6 The other information from the DHCPv6 server could include DNS resolver(s), domain name(s) and other parameters. DHCPv6 servers however do not provide gateway information. The default gateway remains part of the router advertisement. Current standard does still require this, Router Advertisements are still necessary, to tell the host to contact the DHCPv6 server and to receive the default gateway. 23

DHCPv6 DHCPv6 also works like DHCPv4 for valid and preferred lifetimes on hosts. Addresses must be renewed within the configured interval. DHCPv6 servers can also trigger reconfigurations on end stations. 24

DHCPv6 Most modern Operating Systems support DHCPv6 Windows Vista, 7 and 8 Mac OS 10.7 or later, ios 4.1 Linux Cisco, Juniper, HP (relaying) Many older Operating Systems do not support DHCPv6 Windows XP OS X pre-lion Android 25

DHCPv6 If your install base includes a substantial amount of older Operating Systems, DHCPv6 may not be applicable to your environment. Upgrade if possible, or SLAAC is required. 26

DHCPv6 DHCPv6 support among IPAM systems is widespread Infoblox Bluecat 6Connect Ipal Others also support IPv6 Talk to your vendor to determine how to include IPv6 in your Implementation. 27

DHCPv6 DHCPv6, particularly when used with an IPAM system, allows for Dynamic DNS updates. Just as in IPv4, when an address is assigned, the record can be created and zone files updated. 28

DHCPv6 DHCPv6 does not have the privacy concerns of SLAAC. Interface IDs are not generated by the host, and are not consistent as the host moves between networks. Assumes hosts will always connect to DHCPv6 networks. Mobile users may connect to networks that use both types of addressing. 29

DHCPv6 DHCPv6 Security includes concerns similar to SLAAC and DHCPv4. Hosts still require RAs in order to get gateway information and to receive the M-bit. Need to take steps to secure the RA messages so that only legitimate routers send them. Securing DHCP announcements is still required Need to take steps to secure the DHCP servers themselves. Need to take steps to ensure only legitimate DHCP servers send out DHCPv6 responses. 30

DHCPv6 Lite Useful as a middle ground between SLAAC and full DHCP. Routers provide DNS server and domain information to clients via router-based DHCP server. Clients use SLAAC to assign global IPv6 address. Alleviates the need for a DHCP server, while at the same time providing all necessary information. Uses the O bit on the interface configuration. ipv6 dhcp pool dhcp-lite dns-server [ipv6 DNS server address] domain-name campus.edu! Interface FastEthernet0/0 ipv6 nd other-config-flag Ipv6 dhcp server dhcp-lite 31

Tracking IPv6 Addresses User Tracking using Dynamic Addressing Many organizations track their user community with IPv4. What user has what IP at what time. Useful for DMCA take down notices, security violations, or other needs. Most tracking mechanisms use the correlation between IP address/mac address/user ID Easy in IPv4 and DHCP uses MAC address as the mechanism to assign the IPv4 address. As long as users register their MAC address can correlate all three pieces of information into one whole. 32

Tracking IPv6 Addresses User Tracking using Dynamic Addressing Tracking users with SLAAC SLAAC without privacy extensions does not require hosts to change their IPv6 address regularly. Once known, can correlate user/mac/ip consitently SLAAC with privacy extensions is more complex End Station IPv6 address changes regularly Still know user/mac correlation Must update IPv6 address/mac correlation every time the privacy hash runs. SLAAC with stable privacy addresses will work like SLAAC without privacy extenstions (while the user is on the same network). 33

Tracking IPv6 Addresses User Tracking using Dynamic Addressing Tracking Users with DHCPv6 is also more complex Client no longer uses the hardware address to identify itself. Instead uses a DHCP User ID (DUID) Used for both client IDs and server IDs. If multiple interfaces on one client are configured via DHCPv6, use the SAME DUID for each. Generated when the client is initially installed. 34

Tracking IPv6 Addresses User Tracking using Dynamic Addressing With DHCPv6 there are 4 pieces of information that must be correlated. Still have User and MAC address from registration process. Now have IPv6 address and DUID. Those pairs of information do not have to have any relation to one another. 35

Tracking IPv6 Addresses User Tracking using Dynamic Addressing Use neighbor table: #sh ipv6 nei IPv6 Address Age Link-layer Addr State Interface FE80::222:19FF:FE60:383D 0 0022.196a.383d STALE Vl101 FE80::212:44FF:FE60:6D02 1 0012.4760.6d02 STALE Gi1/25 2001:468:901:1:2C0B:FF84:CD7C:5388 3 0016.d347.ddc4 STALE Vl101 2001:468:901:1:213:20FF:FE79:BB07 5 0013.2079.bb07 STALE Vl101 2001:468:901:1:211:43FF:FECE:150F 41 0011.43ce.150f STALE Vl101 Gives the correlation between IPv6 address and MAC address. Must be run periodically Could be added to existing ARP polling scripts Will also have to adjust data storage. What format will the data be stored, and for how long? Make sure your databases can handle 128 bit addresses. 36

Tracking IPv6 Addresses User Tracking using Dynamic Addressing Use SNMP scripts to pull MIB data. SNMP IPv4: bulk-get ipnettomediaphysaddress (1.3.6.1.2.1.4.22.1.2) SNMP IPv6: bulk-get ipv6nettomediaphysaddress (1.3.6.1.2.1.55.1.12.1.2) Not in Cisco 12.2 SXJ nor 15.1 Cisco private MIB: cinetnettomediaphysaddress (1.3.6.1.4.1.9.10.86.1.1.3.1.3) Juniper supports the ipv6nettomediatable Other vendors may also support either the IETF standard MIBs or proprietary MIBs. 37

Tracking IPv6 Addresses User Tracking using Dynamic Addressing ipv6mon (http://www.si6networks.com/tools/ipv6mon/) Uses a mix of active and passive probes to discover nodes and place the addresses into log files. Nmap Uses a variety of similar methods to discover hosts. Other tools exist as well. Tracking users and addresses may not be as straightforward in IPv6 but it is possible. 38

Host Addressing Summary End Station/Host Addressing SLAAC Supported in all Implementations, and on by default. Does not provide complete information to hosts for connectivity no DNS information. Privacy extensions make user tracking difficult. DHCPv6 Supported in most IPAM systems, administrators are familiar with the interface and comfortable with this method of address assignment. Not supported in older OSes. Does not provide complete information to hosts for connectivity no default router/gateway. Tracking users involves additional information that was previously not in IPv4, and is not intuitive. 39

Host Addressing Summary End Station/Host Addressing Organizations may not be able to use a single method of addressing for hosts. Would like to use DHCP but host support is unavailable. Would like to use SLAAC but some users need DHCP stability. Mixed implementations are possible, but need to be planned for. Only one method of addressing per VLAN cannot mix SLAAC and DHCP in the same VLAN. Might lead to issues with subnets and access control. 40

Host Addressing Summary Summary Use the method of assigning addresses that makes sense in your environment: Use static assignments for infrastructure and servers. Use SLAAC for small implementations or in networks where DHCP is not available or required. Use DHCPv6 for networks where needed. Use DHCPv6 lite as a possible transition mechanism to deploy IPv6 to subnets before servers are available. Other considerations: Do you really need DHCP anymore? Was the only way to non-statically assign addresses in v4, and also track hosts. Will other tracking methods work in v6? If you don t need DHCP to track users, can you let hosts autoconfigure? 41