程序代写代做代考 DHCP IOS dns ITE PC v4.0 Chapter 1

ITE PC v4.0 Chapter 1

Chapter 8: DHCP
Routing and Switching Essentials v6.0

© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
Presentation_ID
‹#›

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
1
Cisco Networking Academy Program
Routing and Switching Essentials v6.0
Chapter 8: DHCP

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Chapter 8 – Sections & Objectives
8.1 DHCPv4
Explain how DHCPv4 operates in a small- to medium-sized business network.
Configure a router as a DHCPv4 server.
Configure a router as a DHCPv4 client.
Troubleshoot a DHCP configuration for IPv4 in a switched network.
8.2 DHCPv6
Explain the operation of DHCPv6.
Configure stateless DHCPv6 for a small to medium-sized business.
Configure stateful DHCPv6 for a small to medium-sized business.
Troubleshoot a DHCP configuration for IPv6 in a switched network.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
2

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

8.1 DHCPv4

© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
Presentation_ID
‹#›

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
3
Cisco Networking Academy Program
Routing and Switching Essentials v6.0
Chapter 8: DHCPv4

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
Introducing DHCPv4
DHCPv4:
assigns IPv4 addresses and other network configuration information dynamically
useful and timesaving tool for network administrators
dynamically assigns, or leases, an IPv4 address from a pool of addresses
A Cisco router can be configured to provide DHCPv4 services.
Administrators configure DHCPv4 servers so that leases expire. Then the client must ask for another address, although the client is typically reassigned the same address.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
4
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.1 – Introduction DHCPv4

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
DHCPv4 Operation

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
5
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.2 – DHCPv4 Operation

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
DHCPv4 Operation (cont.)

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
6
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.2 – DHCPv4 Operation

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
DHCPv4 Message Format

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
7
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.3 – DHCPv4 Message Format

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
DHCPv4 Discover and Offer Messages

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
8
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.4 – DHCPv4 Discover and Offer Messages

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

DHCPv4 Operation
DHCPv4 Discover and Offer Messages (cont.)

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
9
8.1 – Dynamic Host Configuration Protocol v4
8.1.1 – DHCPv4 Operation
8.1.1.4 – DHCPv4 Discover and Offer Messages (cont.)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Server
Configure a Basic DHCPv4 Server
A Cisco router running the Cisco IOS software can be configured to act as a DHCPv4 server. To set up DHCP:
Exclude addresses from the pool.
Set up the DHCP pool name.
Define the range of addresses and subnet mask. Use the default-router command for the default gateway. Optional parameters that can be included in the pool – dns server, domain-name.

To disable DHCP, use the no service dhcp command.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
10
8.1 – Dynamic Host Configuration Protocol v4
8.1.2 – Configure DHCPv4 Server
8.1.2.1 – Configure a Basic DHCPv4 Server

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Server
Verifying DHCPv4
Commands to verify DHCP:
show running-config | section dhcp
show ip dhcp binding
show ip dhcp server statistics
On the PC, issue the ipconfig /all command.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
11
8.1 – Dynamic Host Configuration Protocol v4
8.1.2 – Configure DHCPv4 Server
8.1.2.2 – Verifying DHCPv4

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Server
DHCPv4 Relay

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
12
8.1 – Dynamic Host Configuration Protocol v4
8.1.2 – Configure DHCPv4 Server
8.1.2.3 – DHCPv4 Relay

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Server
DHCPv4 Relay (cont.)
Using an IP helper address enables a router to forward DHCPv4 broadcasts to the DHCPv4 server. Acting as a relay.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
13
8.1 – Dynamic Host Configuration Protocol v4
8.1.2 – Configure DHCPv4 Server
8.1.2.3 – DHCPv4 Relay (cont.)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Client
Configuring a Router as a DHCPv4 client

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
14
8.1 – Dynamic Host Configuration Protocol v4
8.1.3 – Configure DHCPv4 Client
8.1.3.1 – Configuring a Router as a DHCPv4 client

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Configure DHCPv4 Client
Configuring a Wireless Router as a DHCPv4 Client

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
15
8.1 – Dynamic Host Configuration Protocol v4
8.1.3 – Configure DHCPv4 Client
8.1.3.2 – Configuring a Wireless Router as a DHCPv4 Client

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv4
Troubleshooting Tasks

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
16
8.1 – Dynamic Host Configuration Protocol v4
8.1.4– Troubleshooting DHCPv4
8.1.4.1 – Troubleshooting Tasks

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv4
Verify Router DHCPv4 Configuration

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
17
8.1 – Dynamic Host Configuration Protocol v4
8.1.4– Troubleshooting DHCPv4
8.1.4.2 – Verify Router DHCPv4 Configuration

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv4
Debugging DHCPv4

The figure shows an extended ACL permitting only packets with UDP destination ports of 67 or 68. These are the typical ports used by DHCPv4 clients and servers when sending DHCPv4 messages. The extended ACL is used with the debug ip packet command to display only DHCPv4 messages.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
18
8.1 – Dynamic Host Configuration Protocol v4
8.1.4 – Troubleshooting DHCPv4
8.1.4.3 – Debugging DHCPv4

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

8.2 DHCPv6

© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
Presentation_ID
‹#›

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
19
Cisco Networking Academy Program
Routing and Switching Essentials v6.0
Chapter 8: Dynamic Host Configuration Protocol v6

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
Stateless Address Autoconfiguration (SLAAC)
SLAAC uses ICMPv6 Router Solicitation and Router Advertisement messages to provide addressing and other configuration information that would normally be provided by a DHCP server:

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
20
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.1 – Stateless Address Autoconfiguration (SLAAC)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
SLAAC Operation

A router must have IPv6 routing enabled before it can send RA messages: Router(config)# ipv6 unicast-routing

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
21
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.2 – SLAAC Operation

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
SLAAC and DHCPv6

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
22
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.3 – SLAAC and DHCPv6

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
SLAAC Option

SLAAC is the default option on Cisco routers. Both the M flag and the O flag are set to 0 in the RA, as shown in the figure.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
23
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.4 – SLAAC Option

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
Stateless DHCPv6 Option

To modify the RA message sent on the interface of a router to indicate stateless DHCPv6, use the following command: Router(config-if)# ipv6 nd other-config-flag 

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
24
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.5 – Stateless DHCPv6 Option

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
Stateful DHCPv6 Option
This option is the most similar to DHCPv4. In this case, the RA message informs the client not to use the information in the RA message. All addressing information and configuration information must be obtained from a stateful DHCPv6 server. Router(config-if)# ipv6 nd managed-config-flag 

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
25
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.6 – Stateless DHCPv6 Option (cont.)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

SLAAC and DHCPv6
DHCPv6 Operations

If stateless or stateful DHCPv6 is indicated in the RA message, then the device begins DHCPv6 client/server communications.

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
26
8.2 – Dynamic Host Configuration Protocol v6
8.2.1 – SLAAC and DHCPv6
8.2.1.7 – DHCPv6 Operations

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6 Server

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
27
8.2 – Dynamic Host Configuration Protocol v6
8.2.2 – Stateless DHCPv6
8.2.2.1 – Configuring a Router as a Stateless DHCPv6 Server

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6 Client

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
28
8.2 – Dynamic Host Configuration Protocol v6
8.2.2 – Stateless DHCPv6
8.2.2.2 – Configuring a Router as a Stateless DHCPv6 Client

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateless DHCPv6
Verifying Stateless DHCPv6
Verify the stateless DHCP client using the following commands:
show ipv6 interface
debug ipv6 dhcp detail

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
29
8.2 – Dynamic Host Configuration Protocol v6
8.2.2 – Stateless DHCPv6
8.2.2.3 – Verifying Stateless DHCPv6

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6 Server

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
30
8.2 – Dynamic Host Configuration Protocol v6
8.2.3– Stateful DHCPv6 Server
8.2.3.1 – Configuring a Router as a Stateful DHCPv6 Server

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6 Server (cont.)

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
31
8.2 – Dynamic Host Configuration Protocol v6
8.2.3– Stateful DHCPv6 Server
8.2.3.1 – Configuring a Router as a Stateful DHCPv6 Server (cont.)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6 Client

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
32
8.2 – Dynamic Host Configuration Protocol v6
8.2.3– Stateful DHCPv6 Server
8.2.3.2 – Configuring a Router as a Stateful DHCPv6 Client

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6 Server
Verifying Stateful DHCPv6

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
33
8.2 – Dynamic Host Configuration Protocol v6
8.2.3 – Stateful DHCPv6 Server
8.2.3.3 – Verifying Stateful DHCPv6

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6 Server
Verifying Stateful DHCPv6 (cont.)

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
34
8.2 – Dynamic Host Configuration Protocol v6
8.2.3– Stateful DHCPv6 Server
8.2.3.3 – Verifying Stateful DHCPv6 (cont.)

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Stateful DHCPv6
Configuring a Router as a DHCPv6 Relay Agent

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
35
8.2 – Dynamic Host Configuration Protocol v6
8.2.3– Stateful DHCPv6 Server
8.2.3.4 – Configuring a Router as a DHCPv6 Relay Agent

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv6
Troubleshooting Tasks

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
36
8.2 – Dynamic Host Configuration Protocol v6
8.2.4 – Troubleshooting DHCPv6
8.2.4.1 – Troubleshooting Tasks

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv6
Verify Router DHCPv6 Configuration

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
37
8.2 – Dynamic Host Configuration Protocol v6
8.2.4 – Troubleshooting DHCPv6
8.2.4.2 – Verify Router DHCPv6 Configuration

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Troubleshooting DHCPv6
Debugging DHCPv6

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
38
8.2 – Dynamic Host Configuration Protocol v6
8.2.4 – Troubleshooting DHCPv6
8.2.4.3 – Debugging DHCPv6

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

8.3 Summary

© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
Presentation_ID
‹#›

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
39
Cisco Networking Academy Program
Routing and Switching Essentials v6.0
Chapter 8: DHCP

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

Explain how DHCPv4 operates in a small- to medium-sized business network.
Configure a router as a DHCPv4 server.
Configure a router as a DHCPv4 client.
Troubleshoot a DHCP configuration for IPv4 in a switched network.
Explain the operation of DHCPv6.
Configure stateless DHCPv6 for a small to medium-sized business.
Configure stateful DHCPv6 for a small to medium-sized business.
Troubleshoot a DHCP configuration for IPv6 in a switched network.
Chapter Summary
Summary

Presentation_ID
‹#›
© 2008 Cisco Systems, Inc. All rights reserved.
Cisco Confidential
40
8.4 – Summary

© 2006, Cisco Systems, Inc. All rights reserved.
Presentation_ID.scr

/docProps/thumbnail.jpeg