1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2.

Slides:



Advertisements
Similar presentations
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CCNA 4 version 3.0.
Advertisements

DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
© 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 Lecture14: DHCP Switched Networks Assistant Professor Pongpisit Wuttidittachotti,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
Dynamic Host Configuration Protocol (DHCP)
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CMPSC-358 (CCNA 4 ) Spring 2007.
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
DHCP (Dynamic Host Configuration Protocol) RD-CSY /09.
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
Chapter Overview Understanding DHCP Configuring a DHCP Server
DHCP Dynamic Host Configuration Protocol.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: 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)
COMS W COMS W Lecture 8. NAT, DHCP & Firewalls.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
DHCP Dynamic Host Configuration Protocol Information management 2 Groep T Leuven – Information department 2/18 Agenda Introduction BOOTP.
CCNA4-1 Chapter 7-1 Network & IT Operations – Week 8 IP Addressing Services DHCP – (Homework)
© 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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
Configuring DNS and DHCP Chapter 20 powered by DJ 1.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
DHCP Dynamic Host Configuration Protocol (RFC 2131) Michael Sadowsky CISC University of Delaware October 12, 2004 BOOTP Bootstrap Protocol (RFC.
Wednesday, December 04, Dynamic Host Configuration Protocol CSI 5321 Presented by Junaid Taqui.
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
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.
Module 3: Configuring a Client IP Address. Overview Configuring a Client to Use a Static IP Address Configuring a Client to Obtain an IP Address Automatically.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
DHCP Meha Modi. “Dynamic Host Configuration Protocol” Automatically assigns IP addresses to devices (I.e. hosts) on your network. -Prevents to enter data.
BZUPAGES.COM BOOTP and DHCP The Bootstrap Protocol (BOOTP) is a client/server protocol that configures a diskless computer or a computer that is booted.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
Module 2: Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Dynamic Host Configuration Protocol Avanthi Koneru Uttara Sawant Srikanth Palla.
Chapter 17 BOOTP and DHCP.
Chapter 18 Host Configuration : DHCP
1 Network Address Translation (NAT) and Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about private networks and NAT.
CIS 856: TCP/IP and Upper Layer Protocols Karthik Ravindra Nov 11, 2008 Dynamic Host Configuration Protocol [DHCP] - RFC 2131.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
Chapter 38 Initialization & Configuration. Bootstrapping occurs during boot up to obtain boot program which may then load operating system may use network.
Dynamic Host Configuration Protocol (DHCP) DHCP provides a temporary IP address for a limited period of time DHCP has two databases. First one has static.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
Configuring and Managing the DHCP Server Role. DHCP overview RARP – one of the first ways to assign addresses BOOTP – Another legacy way to assign addresses.
DHCP CONFIGURATION Routing & Switching. DHCPV4 OPERATION CONFIGURING A DHCPV4 SERVER A Cisco router running the Cisco IOS software can be configured to.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
Dynamic Host Configuration Protocol (DHCP)
Instructor Materials Chapter 8: DHCP
Dynamic Host Configuration Protocol (DHCP)
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
BOOTP and DHCP Objectives
CIS 82 Routing Protocols and Concepts Chapter 8 DHCP
Routing and Switching Essentials v6.0
Chapter 18 Host Configuration : DHCP
Chapter 16 Host Configuration : BOOTP and DHCP
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Overview Multimedia: The Role of DHCP in the Network Infrastructure
Configuring Cisco 2650 Router By John Teissonniere Manny Jacome
Chapter 18 Host Configuration : DHCP
Dynamic Host Configuration Protocol (DHCP)
Presentation transcript:

1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2

© 2003, Cisco Systems, Inc. All rights reserved. 2 of 18CCNA 4 v3.0: Module 1; 1.2 DHCP CCNA 4 v3.0: Module 1; 1.2

3 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 What is DHCP? Clients should require no manual configuration by the user to connect to the network.  Each client should be able to discover appropriate configuration information dynamically.  IP address, DNS servers, WINS servers, etc. This is normally accomplished through the use of a TCP/IP Application Layer Protocol: Dynamic Host Configuration Protocol (UDP ports 67 and 68).  RFC 2131 (March 1997) defines DHCP as an enhancement to BOOTP; RFC 951 (September 1985) RFC 2131RFC 951

4 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 BOOTP versus DHCP BOOTP  Requires administrative overhead.  Static mappings of IP addresses to MAC addresses.  IP addresses are assigned permanently.  Limited to 4 configuration parameters:  IP address  Default Gateway  Subnet Mask  DNS Server DHCP  Requires little or no administrative overhead, after initial configurations of the DHCP server.  Dynamically maps IP addresses to MAC addresses.  Addresses can be leased for a predefined amount of time before the lease expires and must be renewed by the client.  Allows 30 configuration parameters. (RFC 1533)RFC 1533

5 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 DHCP Messages DHCPDISCOVER  Client broadcasts for a DHCP server DHCPOFFER  DHCP server replies to client with configuration information DHCPREQUEST  Client requests the use of configuration information from one of the DHCP servers that sent an offer DHCPACK  DHCP server acknowledges that Client can now begin to use configuration information DHCPNAK  DHCP server declines Client request to use configuration information DHCPDECLINE  Client declines the DHCPOFFER DHCPRELEASE  Client requests a release of its DHCP configuration DHCPINFORM  Client is already configured with IP address; needs other configuration information. DHCP operates in a Client/Server environment and uses the following messages:

6 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Client IP: ?? Gateway: ?? DNS: ?? Client IP: /24 Gateway: DNS: Normal DHCP Operation DHCPDISCOVER Broadcast for a DHCP Server Pool: /24 Gateway: DNS Server: DHCPOFFER MAC unicast with configuration information DHCPREQUEST Broadcast requesting configuration information sent in DHCPOFFER DHCPACK Acknowledge configuration information and begins lease

7 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Cisco IOS DHCP Feature: “Easy IP” A Cisco router can be configured as a DHCP server.  Cisco calls this IOS feature “Easy IP”  This feature is helpful for small, remote LANs such as home offices with only one router and a few clients.  In a large, campus network, you would not want to use a router as a DHCP server.

8 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Steps to Configure Easy IP 1.Configure addresses to exclude from the DHCP address pool 2.Configure a named DHCP pool 3.Configure network/subnet mask pool 4.Configure the default gateway 5.Configure other needed information  Such as DNS server, Domain Name, NetBIOS Server

9 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Excluded Addresses The address(es) configured with this command will not be assigned by Easy IP to clients.  The argument address_1 is a single IP address that will be excluded.  If configured, the address_n optional argument defines a range of excluded IP addresses between and including argument_1 to argument_n. Router(config)#ip dhcp excluded-address address_1 [address_n]

10 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 DHCP Pool Like NAT, a DHCP pool must be named before you can enter DHCP configuration mode.  The argument name identifies the DHCP pool in the running configuration and distinguishes this pool from other pools.  More than one DHCP pool can be defined on a router. Router(config)#ip dhcp pool name

11 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 The Pool of Addresses The net_address defines a network or subnet that will be used as a pool of addresses to assign IP address to clients.  You must also define the subnet mask. Router(dhcp-config)#network net_address subnet_mask

12 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 The Default Gateway The ip_address is the address of the default gateway clients will use to send packets destined for remote networks.  In a simple Easy IP configuration, this is the IP address of the interface that is directly connected to the LAN with clients needing DHCP service.  You also need to exclude this IP address in the ip dhcp excluded-address command. Router(dhcp-config)#default-router ip_address

13 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Other DHCP Optional Configurations Router(dhcp-config)#dns-server ip_address Router(dhcp-config)#netbios-name-server ip_address Router(dhcp-config)#domain-name name

14 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 DCHP Configuration Example RTA(config)#ip dhcp excluded-address RTA(config)#ip dhcp pool RTA_LAN RTA(dhcp-config)#network RTA(dhcp-config)#default-router

15 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Forwarding DHCP Messages Routers normally block all broadcasts, including a broadcasted DHCP message.  If the router is not the DHCP server, you must configure the router to forward the DHCP messages to a dhcp_server_ip. Router(config)#ip helper-address dhcp_server_ip

16 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 DCHP Configuration Example The ip helper-address command configures the router to forward eight UDP services:  Time  TACACS  DNS  BOOTP/DHCP Server  BOOTP/DHCP Client  TFTP  NetBIOS Name Service  NetBIOS datagram Service RTA(config)#ip helper-address

17 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2 Verify DHCP Configuration Use the following commands to verify and troubleshoot your DHCP configuration:  show running-config  view the DHCP configuration  show ip dhcp binding  displays IP to MAC address bindings and lease expiration date and time  show ip dhcp server statistics  displays a count of the number and type of DHCP messages sent and received  debug ip dhcp server events  watch interactions between the DHCP server and clients

18 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2