DHCPv6.

Slides:



Advertisements
Similar presentations
11: IPv6 Routing Table and Static Routes
Advertisements

10: ICMPv6 Neighbor Discovery
ZyXEL Confidential Address Autoconfiguration Feng Zou SW2 ZyXEL Communications Corp. 04/11/2006.
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, U.S./Canada Regional Cisco Networking Academy Conference.
Implementing IPv6 Module B 8: Implementing IPv6
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
5: Link-Local Addresses Rick Graziani Cabrillo College
Implementing Inter-VLAN Routing
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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada DHCPv6 and IPv6 Automatic Address Allocation.
System Configuration: DHCP and Autoconfiguration Chapter 6.
Dynamic Host Configuration Protocol (DHCP)
DHCP (Dynamic Host Configuration Protocol) RD-CSY /09.
Understanding IPv6 - Addressing & Subnetting Part 3
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
بسم الله الرحمن الرحیم. Why ip V6 ip V4 Addressing Ip v4 :: 32-bits :: :: written in dotted decimal :: :: ::
DHCP Dynamic Host Configuration Protocol.
DHCP Dynamic Host Configuration Protocol CIS 856: TCP/IP and Upper Layer Protocols Presented by Kyle Getz October 20, 2005.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 16 Dynamic Host Configuration Protocol (DHCP)
Dynamic Host Configuration Protocol (DHCP)
Guide to TCP/IP Fourth Edition
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
IPv6 Address autoconfiguration stateless & stateful.
IPv6 Autoconfiguration Stateless and Stateful. Copy... Rights This slide set is the ownership of the 6DISS project via its partners The Powerpoint version.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv6 Introduction to Networks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2.
Why Use DHCP? DHCP reduces the complexity and amount of administrative work by using automatic TCP/IP configuration Manual TCP/IP Configuration IP addresses.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
Module 2: Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—8-1 Implementing IPv6 Implementing Dynamic IPv6 Addresses.
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.
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
CIS 856: TCP/IP and Upper Layer Protocols Karthik Ravindra Nov 11, 2008 Dynamic Host Configuration Protocol [DHCP] - RFC 2131.
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
IPv6 (Internet Protocol V. 6)
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Dynamic Host Configuration Protocol v6.
Engineering Workshops Stateless Autoconfiguration.
Dynamic Host Configuration Protocol (DHCP)
Instructor Materials Chapter 8: DHCP
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Dynamic Host Configuration Protocol (DHCP)
Ch.8 Dynamic IPv6 Address Allocation
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Ch.10 Stateless DHCPv6 Ch.11 Stateful DHCPv6 CIS 116 IPv6 Fundamentals
Net 431 D: ADVANCED COMPUTER NETWORKS
CIS 82 Routing Protocols and Concepts Chapter 8 DHCP
By : Santosh Yadav IIT Kanpur
Proposal for IEEE 802.1CQ-LAAP
Proposal for IEEE 802.1CQ-LAAP
Proposal for IEEE 802.1CQ-LAAP
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Presentation transcript:

DHCPv6

Stateful DHCPv6 In Stateful DHCP, the adddress assignment is centrally managed and clients must obtain configuration information such as address autoconfiguration and neighbor discovery that is not available through protocols. DHCPv6 can be implemented in two ways Rapid Commit - DHCP client obtains configuration parameters from the server through a rapid two message exchange (solicit and reply). Normal Commit - DHCP client uses four message  exchanges (solicit, advertise, request and reply). By default normal-commit is used. In order to use the rapid-commit option, it has to be enabled by both client and server so that it uses the two-message exchange.

Stateless Address Autoconfiguration (SLAAC) Requires no manual configuration of hosts, minimal (if any) configuration of routers, and no additional servers. DHCP clients autoconfigure their own IPv6 address based on router advertisements. Routers advertise prefixes that identify the subnet(s) associated with a link, while hosts generate an "interface identifier" that uniquely identifies an interface on a subnet. DHCP clients uses the DHCP server to obtain the other useful configuration information (such as the address of DNS servers). By using the eui-64 command, a host can automatically assign itself a unique 64-bit IPv6 interface identifier without the need for manual configuration or DHCP. This approach is used when a network is not concerned with the exact addresses hosts use on a network so long as they are unique and routable.

DHCPv6 Message Types Used to locate DHCP Servers SOLICIT(1) DHCPDISCOVER ADVERTISE(2) DHCPOFFER REQUEST (3), RENEW (5), REBIND (6) DHCPREQUEST REPLY (7) DHCPACK/DHCPNAK RELEASE (8) DHCPRELEASE INFORMATION-REQUEST (11) DHCPINFORM DECLINE (9 DHCPDECLINE CONFIRM (4) None RECONFIGURE (10) DHCPFORCERENEW RELAY-FORW (12), RELAY-REPLY (13) Used to locate DHCP Servers Sent by servers to indicate that it is available for DHCP service. Sent by hosts to request addressing information from the server, renew an old IP address and extend the lifetime of an address.

DHCPv6 Message Types DHCPv6 Message Types DHCPv4 Message Types SOLICIT(1) DHCPDISCOVER ADVERTISE(2) DHCPOFFER REQUEST (3), RENEW (5), REBIND (6) DHCPREQUEST REPLY (7) DHCPACK/DHCPNAK RELEASE (8) DHCPRELEASE INFORMATION-REQUEST (11) DHCPINFORM DECLINE (9 DHCPDECLINE CONFIRM (4) None RECONFIGURE (10) DHCPFORCERENEW RELAY-FORW (12), RELAY-REPLY (13) Sent by the server containing address configuration. Sent by hosts to indicate that the host will no longer use an address. Sent by hosts to request configuration parameters without the assignment of any address to the client. Sent by hosts to deny updates sent from the server. Sent by the server to inform clients of changes in addressing configuration.

DHCPv6 Messages Types There are 3 DHCPv6 message types exclusive to only DHCPv6: - CONFIRM (4) A client sends a Confirm message to any available server to determine whether the addresses it was assigned are still appropriate to the link to which the client is connected. - RELAY-FORW (12) A relay agent sends a Relay-forward message to relay messages to servers, either directly or through another relay agent. - RELAY-REPL (13) A server sends a Relay-reply message to a relay agent containing a message that the relay agent delivers to a client.

Stateful DHCPv6 Server Configuration Example 1 Client Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1 The ipv6 dhcp pool command creates a pool and enters the router in DHCPv6 configuration mode. The address command is used to indicate the pool of addresses to be allocated by the server. The lifetime option indicates the valid and preferred lease times in seconds. The ipv6 dhcp server interface command binds the DHCPv6 pool to the interface. The M flag needs to be changed from 0 to 1 using the interface command ipv6 nd managed-config-flag.

Stateful DHCPv6 Server Configuration Client Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1 R1(config)#ipv6 unicast-routing R1(config)#ipv6 dhcp pool Stateful_DHCP R1(config-dhcpv6)#address prefix 2001:DB8:acad:1::/64 lifetime infinite infinite R1(config-dhcpv6)#dns-server AAAA:BBBB:CCCC:DDDD::FFFF R1(config-dhcpv6)#domain-name StatefulDHCP.com R1(config-dhcpv6)#exit R1(config)#interface s0/0/0 R1(config-if)#ipv6 address 2001:db8:acad:1::1/64 R1(config-if)#ipv6 dhcp server Stateful_DHCP R1(config-if)#ipv6 nd managed-config-flag Configuration parameters to configure a router as a DHCP server.

Stateful DHCPv6 Client Configuration The ipv6 enable interface command allow the router to receive a link- local address in order to send RS messages and participate in DHCPv6. The ipv6 address dhcp interface command enables the router as a DHCPv6 client on this interface. R2(config)#interface s0/0/0 R2(config-if)#ipv6 enable R2(config-if)#ipv6 address dhcp Configuration to allow a router to act as a DHCP client. Client Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1

Stateful DHCPv6 Server Verification R1#show ipv6 dhcp pool DHCPv6 pool: Stateful_DHCP Address allocation prefix: 2001:DB8:ACAD:1::/64 valid 4294967295 preferred 4294967295 (1 in use, 0 conflicts) DNS server: AAAA:BBBB:CCCC:DDDD::FFFF Domain name: StatefulDHCP.com Active clients: 1 The show ipv6 dhcp pool command verifies the name of the DHCPv6 pool and its parameters. The number of active clients is 1, which reflects client R2 receiving its IPv6 global unicast address from this server. The show ipv6 dhcp binding command, displays the automatic binding between the link-local address of the client and the address assigned by the server. R1#show ipv6 dhcp binding Client: FE80::2 DUID: 000300016C2056EC6F18 Username : unassigned IA NA: IA ID 0x00070001, T1 43200, T2 69120 Address: 2001:DB8:ACAD:1:2CFA:91CC:C683:D1F5 preferred lifetime INFINITY, , valid lifetime INFINITY,

Stateful DHCPv6 Client Verification Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1 R2#show ipv6 dhcp interface Serial0/0/0 is in client mode Prefix State is IDLE Address State is OPEN Renew for address will be sent in 11:59:44 List of known servers: Reachable via address: FE80::1 DUID: 000300016C2056FF38A0 Preference: 0 Configuration parameters: IA NA: IA ID 0x00070001, T1 43200, T2 69120 Address: 2001:DB8:ACAD:1:B0A4:64F:CA3F:FA2D/128 preferred lifetime INFINITY, valid lifetime INFINITY DNS server: AAAA:BBBB:CCCC:DDDD::FFFF Domain name: StatefulDHCP.com Information refresh time: 0 Prefix Rapid-Commit: disabled Address Rapid-Commit: disabled The show ipv6 dhcp interface command displays the interfaces that were configured via DHCP. It also displays the link-local address of the DHCP server.

DHCPv6 Configuration Example 2 Server Client Link-Local FE80::1 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 R1(config)#ipv6 unicast-routing R1(config)#ipv6 dhcp pool MY_DHCP_POOL R1(config-dhcpv6)#address prefix 2001:DB8:cc1e:1::/64 lifetime infinite infinite R1(config-dhcpv6)#dns-server AAAA:BBBB:CCCC:DDDD::FFFF R1(config-dhcpv6)#domain-name HOSTdhcp.com R1(config-dhcpv6)#exit R1(config)#interface g0/0 R1(config-if)#ipv6 address 2001:db8:cc1e:1::/64 R1(config-if)#ipv6 dhcp server MY_DHCP_POOL R1(config-if)#ipv6 nd managed-config-flag DHCP Host

DHCPv6 Host Verification Server Client Link-Local FE80::1 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 DHCP Host

Stateless DHCPv6 During the SLAAC process, the client receives information to create an IPv6 global unicast address. This includes the default gateway information from the source IPv6 address in the RA message, which is the link-local address of the router. A stateless DHCPv6 server can be used to provide information that might not be included in the RA message (DNS server address and the domain name). The ipv6 dhcp server interface command binds the DHCPv6 pool to the interface. The O flag needs to be changed from 0 to 1 using the interface command ipv6 nd other-config-flag. Using the same topology, we will configure stateless DHCP servers and clients. Client Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1

Stateless DHCPv6 Server Configuration Client Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1 R1(config)#ipv6 unicast-routing R1(config)#ipv6 dhcp pool Stateless_DHCP R1(config-dhcpv6)#dns-server AAAA:BBBB:CCCC:DDDD::FFFF R1(config-dhcpv6)#domain-name StatelessDHCP.com R1(config-dhcpv6)#exit R1(config)#interface s0/0/0 R1(config-if)#ipv6 address 2001:db8:acad:1::1/64 R1(config-if)#ipv6 dhcp server Stateless_DHCP R1(config-if)#ipv6 nd other-config-flag

Stateless DHCPv6 Client Configuration Server 2001:DB8:ACAD:1::/64 S0/0/0 R2 S0/0/0 R1 Link-Local FE80::2 Link-Local FE80::1 R2(config)#interface s0/0/0 R2(config-if)#ipv6 enable R2(config-if)#ipv6 address autoconfig The ipv6 enable command is used because the router does not have a global unicast address. The ipv6 address autoconfig command enables automatic configuration of IPv6 addressing using SLAAC.

Stateless DHCPv6 Verification R2#show ipv6 interface s0/0/0 Serial0/0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::2 No Virtual link-local address(es): Stateless address autoconfig enabled Global unicast address(es): 2001:DB8:ACAD:1::2, subnet is 2001:DB8:ACAD:1::/64 [EUI/CAL/PRE] valid lifetime 2591259 preferred lifetime 604059 Joined group address(es): FF02::1 FF02::1:FF00:2 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachables are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds (using 30000) ND RAs are suppressed (periodic) Hosts use stateless autoconfig for addresses. The show ipv6 interface command shows that the router has “Stateless address autoconfig enabled” and has an IPv6 global unicast address (2001:DB8:ACAD:1::2) and displays the subnet address (2001:DB8:ACAD:1::/64) as well. The IPv6 global unicast address was created using SLAAC which includes the prefix contained in the RA message. The Interface ID was generated using EUI-64 which is displayed to the right of the subnet address. The Duplicate Address Detection (DAD) is used to verify no one else on the network is using the address that you created.