0% found this document useful (0 votes)
132 views7 pages

CCNA

The document provides an introduction and objectives for a module on SLAAC and DHCPv6 configuration. It discusses how hosts can acquire IPv6 addresses through SLAAC and DHCPv6, and how to configure a Cisco IOS router as a DHCPv6 server, client, or relay agent. The module includes a lab to configure DHCPv6 on real equipment.

Uploaded by

divi handoko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views7 pages

CCNA

The document provides an introduction and objectives for a module on SLAAC and DHCPv6 configuration. It discusses how hosts can acquire IPv6 addresses through SLAAC and DHCPv6, and how to configure a Cisco IOS router as a DHCPv6 server, client, or relay agent. The module includes a lab to configure DHCPv6 on real equipment.

Uploaded by

divi handoko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

8 SLAAC and DHCPv6

8.0 Introduction

8.0.1

8.0.1 Welcome
Welcome to SLAAC and DHCPv6!

SLAAC and DHCPv6 are dynamic addressing protocols for an IPv6 network. So, a little bit of configuring will
make your day as a network administrator lot easier. In this module, you will learn how to use SLAAC to allow
hosts to create their own IPv6 global unicast address, as well as configure a Cisco IOS router to be a
DHCPv6 server, a DHCPv6 client, or a DHCPv6 relay agent. This module includes a lab where you will
configure DHCPv6 on real equipment!

8.0.2

What will I learn to do in this module?


Module Title: SLAAC and DHCPv6

Module Objective: Configure dynamic address allocation in IPv6 networks.

Table caption
Topic Title Topic Objective
IPv6 Global Unicast Address Assignment Explain how an IPv6 host can acquire its IPv6 configuration.
SLAAC Explain the operation of SLAAC.
Table caption
Topic Title Topic Objective
DHCPv6 Explain the operation of DHCPv6.
Configure DHCPv6 Server Configure a stateful and stateless DHCPv6 server.

7.3Configure a DHPv4 Client

7.3.1

7.3.1 Cisco Router as a DHCPv4 Client


There are scenarios where you might have access to a DHCP server through your ISP. In these instances,
you can configure a Cisco IOS router as a DHCPv4 client. This topic walks you through that process.

Sometimes, Cisco routers in a small office or home office (SOHO) and branch sites have to be configured as
DHCPv4 clients in a similar manner to client computers. The method used depends on the ISP. However, in
its simplest configuration, the Ethernet interface is used to connect to a cable or DSL modem.

To configure an Ethernet interface as a DHCP client, use the ip address dhcp interface configuration mode
command.

In the figure, assume that an ISP has been configured to provide select customers with IP addresses from the
209.165.201.0/27 network range after the G0/0/1 interface is configured with the ip address dhcp command.

a router configured as a DHCPv4 client is connected via G0/0/1 to a cable or DSL modem which is then
connected to the cloud which is then connected to an ISP router functioning as a DHCPv4 server

7.3.2
Configuration Example
To configure an Ethernet interface as a DHCP client, use the ip address dhcp interface configuration mode
command, as shown in the example. This configuration assumes that the ISP has been configured to provide
select customers with IPv4 addressing information.

SOHO(config)# interface G0/0/1

SOHO(config-if)# ip address dhcp

SOHO(config-if)# no shutdown

Sep 12 10:01:25.773: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0/0/1

assigned DHCP address 209.165.201.12, mask 255.255.255.224, hostname SOHO

The show ip interface g0/0/1 command confirms that the interface is up and that the address was allocated
by a DHCPv4 server.

SOHO# show ip interface g0/0/1

GigabitEthernet0/0/1 is up, line protocol is up

Internet address is 209.165.201.12/27

Broadcast address is 255.255.255.255

Address determined by DHCP

(output omitted)

7.3.3

7.3.3 Home Router as a DHCPv4 Client


Home routers are typically already set to receive IPv4 addressing information automatically from the ISP. This
is so that customers can easily set up the router and connect to the internet.

For example, the figure shows the default WAN setup page for a Packet Tracer wireless router. Notice that
the internet connection type is set to Automatic Configuration - DHCP. This selection is used when the
router is connected to a DSL or cable modem and acts as a DHCPv4 client, requesting an IPv4 address from
the ISP.

Various manufacturers of home routers will have a similar setup.


7.3.4

Syntax Checker - Configure a Cisco Router as


DHCP Client
In this Syntax Checker activity, you will configure a Cisco router as DHCP client.

a router configured as a DHCPv4 client is connected via G0/0/1 to a cable or DSL modem which is then
connected to the cloud which is then connected to an ISP router functioning as a DHCPv4 server

G0/0/1SOHOISP
DHCPv4 ClientDHCPv4 ServerCable or DSL
Modem

7.4.1
7.4.1 Packet Tracer - Implement DHCPv4

7.4.2

7.4.2 Lab - Implement DHCPv4

7.4.3

7.4.3 What did I learn in this module?


DHCPv4 Concepts

The DHCPv4 server dynamically assigns, or leases, an IPv4 address to a client from a pool of addresses for
a limited period of time chosen by the server, or until the client no longer needs the address. The DHCPv4
lease process begins with the client sending message requesting the services of a DHCP server. If there is a
DHCPv4 server that receives the message it will respond with an IPv4 address and possible other network
configuration information. The client must contact the DHCP server periodically to extend the lease. This
lease mechanism ensures that clients that move or power off do not keep addresses that they no longer
need. When the client boots (or otherwise wants to join a network), it begins a four-step process to obtain a
lease: DHCPDISCOVER, then DHCPOFFER, then DHCPREQUEST, and finally DHCPACK. Prior to lease
expiration, the client begins a two-step process to renew the lease with the DHCPv4 server: DHCPREQUEST
then DHCPACK.

Configure a Cisco IOS DHCPv4 Server

A Cisco router running Cisco IOS software can be configured to act as a DHCPv4 server. Use the following
steps to configure a Cisco IOS DHCPv4 server: exclude IPv4 addresses, define a DHCPv4 pool name, and
configure the DHCPv4 pool. Verify your configuration using the show running-config | section dhcp, show
ip dhcp binding, and show ip dhcp server statistics commands. The DHCPv4 service is enabled, by
default. To disable the service, use the no service dhcp global configuration mode command. In a complex
hierarchical network, enterprise servers are usually located centrally. These servers may provide DHCP,
DNS, TFTP, and FTP services for the network. Network clients are not typically on the same subnet as those
servers. In order to locate the servers and receive services, clients often use broadcast messages. A PC is
attempting to acquire an IPv4 address from a DHCPv4 server using a broadcast message. If the router is not
configured as a DHCPv4 server, it will not forward the broadcast. If the DHCPv4 server is located on a
different network, the PC cannot receive an IP address using DHCP. The router must be configured to relay
DHCPv4 messages to the DHCPv4 server. The network administrator releases all current IPv4 addressing
information using the ipconfig /release command. Next, the network administrator attempts to renew the
IPv4 addressing information with the ipconfig /renew command. A better solution is to configure R1 with
the ip helper-address address interface configuration command. The network administrator can use
the show ip interface command to verify the configuration. The PC is now able to acquire an IPv4 address
from the DHCPv4 server as verified with the ipconfig /all command. By default, the ip helper-
address command forwards the following eight UDP services:

 Port 37: Time


 Port 49: TACACS
 Port 53: DNS
 Port 67: DHCP/BOOTP server
 Port 68: DHCP/BOOTP client
 Port 69: TFTP
 Port 137: NetBIOS name service
 Port 138: NetBIOS datagram service

Configure a DHCPv4 Client

The Ethernet interface is used to connect to a cable or DSL modem. To configure an Ethernet interface as a
DHCP client, use the ip address dhcp interface configuration mode command. Home routers are typically
already set to receive IPv4 addressing information automatically from the ISP. The internet connection type is
set to Automatic Configuration - DHCP. This selection is used when the router is connected to a DSL or cable
modem and acts as a DHCPv4 client, requesting an IPv4 address from the ISP.

7.4.4

7.4.4 Module Quiz - DHCPv4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy