CCNA4-1 Chapter 7-1 Network & IT Operations – Week 8 IP Addressing Services DHCP – (Homework)

Slides:



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

Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CCNA 4 version 3.0 Rick Graziani Cabrillo College.
DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP
© 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.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP
© 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.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 5: Planning, Configuring, And Troubleshooting DHCP.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CMPSC-358 (CCNA 4 ) Spring 2007.
Host Configuration: BOOTP and DHCP
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
DHCP (Dynamic Host Configuration Protocol) RD-CSY /09.
Andrew Smith 1 NAT and DHCP ( Network Address Translation and Dynamic Host Configuration Protocol )
Cisco Confidential 1 © 2010 Cisco and/or its affiliates. All rights reserved. CCNA DHCP Deepdive November, 2011 Jaskaran Kalsi & Anton Merckushov Assoc.
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.
Managing DHCP. 2 DHCP Overview Is a protocol that allows client computers to automatically receive an IP address and TCP/IP settings from a Server Reduces.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: Dynamic Host Configuration Protocol.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 8 The Dynamic Host Configuration Protocol (DHCP)
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
Implementing Dynamic Host Configuration Protocol
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
© 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.
CCNA4-1 Chapter 7-1 Chapter 7 IP Addressing Services Part I.
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.
Chapter 15 DHCP. Dynamic Host Configuration Protocol An Application Layer Protocol A client server protocol that automatically provides an IP host with.
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2.
Week 7 Objectives Installing a DHCP Server Role Configuring DHCP Scopes Managing a DHCP Database Securing and Monitoring DHCP.
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing 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.
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.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
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.
Module 2: Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Chapter 17 BOOTP and DHCP.
Chapter 18 Host Configuration : DHCP
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
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.
CCNA4-1 Chapter 7-1 IPv4 Services DHCPNAT/PAT. CCNA4-2 Chapter 7-1 IP Addressing Services Dynamic Host Configuration Protocol (DHCP)
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.
Unit 7: DHCP, APIPA and NTP. Static versus dynamic IP addressing Dynamic IP addresses can change each time you connect to the Internet, while static IP.
Instructor Materials Chapter 8: DHCP
IP Addressing Services Part I
Implementing IP Addressing Services
Host Configuration: BOOTP and DHCP
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
BOOTP and DHCP Objectives
Net 431 D: ADVANCED COMPUTER NETWORKS
CIS 82 Routing Protocols and Concepts Chapter 8 DHCP
Routing and Switching Essentials v6.0
Host Configuration: BOOTP and DHCP
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:

CCNA4-1 Chapter 7-1 Network & IT Operations – Week 8 IP Addressing Services DHCP – (Homework)

CCNA4-2 Chapter 7-1 IP Addressing Services Dynamic Host Configuration Protocol (DHCP)

CCNA4-3 Chapter 7-1 Dynamic Host Configuration Protocol (DHCP) Every device that connects to a network needs an IP address. Every device that connects to a network needs an IP address. Network administrators assign static IP addresses to routers, servers, and other network devices whose locations (physical and logical) are not likely to change.Network administrators assign static IP addresses to routers, servers, and other network devices whose locations (physical and logical) are not likely to change. User computers in an organization often change locations, physically and logically.User computers in an organization often change locations, physically and logically. Desktop clients do not require a static address.Desktop clients do not require a static address. A workstation can use any address within a range of addresses.A workstation can use any address within a range of addresses. This range is typically within an IP subnet.This range is typically within an IP subnet.

CCNA4-4 Chapter 7-1 Dynamic Host Configuration Protocol (DHCP) Administrators typically prefer a network server to offer DHCP services. Administrators typically prefer a network server to offer DHCP services. Scalable.Scalable. Relatively easy to manage.Relatively easy to manage. In a small branch or SOHO location, a Cisco router can be configured to provide DHCP services without the need for an expensive dedicated server. In a small branch or SOHO location, a Cisco router can be configured to provide DHCP services without the need for an expensive dedicated server.

CCNA4-5 Chapter 7-1 DHCP Operation Address Allocation Methods: Address Allocation Methods: Manual:Manual: The IP address for the client is pre-allocated by the administrator and DHCP conveys the address to the client.The IP address for the client is pre-allocated by the administrator and DHCP conveys the address to the client. Automatic:Automatic: DHCP automatically assigns a permanent IP address to a client with no lease period.DHCP automatically assigns a permanent IP address to a client with no lease period. Dynamic:Dynamic: DHCP assigns, or leases, an IP address to the client for a limited period of time.DHCP assigns, or leases, an IP address to the client for a limited period of time.

CCNA4-6 Chapter 7-1 DHCP Operation Dynamic Allocation: Dynamic Allocation: DHCP works in a client/server mode.DHCP works in a client/server mode. When the client connects, the server assigns or leases an IP address to the device.When the client connects, the server assigns or leases an IP address to the device. The device connects to the network with that leased IP address until the lease period expires.The device connects to the network with that leased IP address until the lease period expires. The host must contact the DHCP server periodically to extend the lease.The host must contact the DHCP server periodically to extend the lease. The leasing of addresses assures that addresses that are no longer used are returned to the address pool for use by other devices.The leasing of addresses assures that addresses that are no longer used are returned to the address pool for use by other devices.

CCNA4-7 Chapter 7-1 DHCP Operation Dynamic Allocation: 4 Step Process. Dynamic Allocation: 4 Step Process. DHCPDISCOVER:DHCPDISCOVER: The client broadcasts a DHCPDISCOVER message.The client broadcasts a DHCPDISCOVER message. The DHCPDISCOVER message finds the DHCP server(s) on the network.The DHCPDISCOVER message finds the DHCP server(s) on the network.

CCNA4-8 Chapter 7-1 DHCP Operation Dynamic Allocation: 4 Step Process. Dynamic Allocation: 4 Step Process. DHCPOFFER:DHCPOFFER: The server responds with a DHCPOFFER.The server responds with a DHCPOFFER. The DHCPOFFER message is sent as a unicast and contains an available IP address to lease.The DHCPOFFER message is sent as a unicast and contains an available IP address to lease.

CCNA4-9 Chapter 7-1 DHCP Operation Dynamic Allocation: 4 Step Process. Dynamic Allocation: 4 Step Process. DHCPREQUEST:DHCPREQUEST: The client responds with a broadcast of a DHCPREQUEST message.The client responds with a broadcast of a DHCPREQUEST message. When used for obtaining a lease, it serves as an acceptance notice to the selected server and an implicit decline to any other servers.When used for obtaining a lease, it serves as an acceptance notice to the selected server and an implicit decline to any other servers. Also used for lease renewal and verification.Also used for lease renewal and verification.

CCNA4-10 Chapter 7-1 DHCP Operation Dynamic Allocation: 4 Step Process. Dynamic Allocation: 4 Step Process. DHCPACK:DHCPACK: The server verifies the lease information and responds with a DHCPACK message.The server verifies the lease information and responds with a DHCPACK message. The client logs the information and sends an ARP request to verify that the address is unique.The client logs the information and sends an ARP request to verify that the address is unique.

CCNA4-11 Chapter 7-1 DHCP Operation Dynamic Allocation: 4 Step Process. Dynamic Allocation: 4 Step Process.

CCNA4-12 Chapter 7-1 BOOTP and DHCP Bootstrap Protocol (BOOTP): Bootstrap Protocol (BOOTP): Predecessor of DHCP.Predecessor of DHCP. A method to download address and boot configurations for diskless workstations.A method to download address and boot configurations for diskless workstations. Both DHCP and BOOTP are client/server based and use UDP ports 67 and 68.Both DHCP and BOOTP are client/server based and use UDP ports 67 and 68. The main difference is that BOOTP was designed for manual pre-configuration of the host information in a server database.The main difference is that BOOTP was designed for manual pre-configuration of the host information in a server database.

CCNA4-13 Chapter 7-1 DHCP Message Format The developers of DHCP needed to maintain compatibility with BOOTP. The developers of DHCP needed to maintain compatibility with BOOTP. Same as BOOTP Added to support functions of DHCP.

CCNA4-14 Chapter 7-1 Configuring a Cisco Router as a DHCP Server 3 Basic Steps: 3 Basic Steps: Step 1:Step 1: Define a range of addresses that DHCP is not to allocate.Define a range of addresses that DHCP is not to allocate. Usually static addresses reserved for the router interface, switch management IP address, servers, and local network printers.Usually static addresses reserved for the router interface, switch management IP address, servers, and local network printers. Step 2:Step 2: Create the DHCP pool of addresses using the ip dhcp pool command.Create the DHCP pool of addresses using the ip dhcp pool command. Step 3:Step 3: Configure the specific DHCP tasks for the pool.Configure the specific DHCP tasks for the pool.

CCNA4-15 Chapter 7-1 Configuring a Cisco Router as a DHCP Server The DHCP service is enabled by default on versions of Cisco IOS that support it. The DHCP service is enabled by default on versions of Cisco IOS that support it. To disable the service:To disable the service: Router(config)#no service dhcp To enable the service:To enable the service: Router(config)#service dhcp

CCNA4-16 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 1: Step 1: Exclude an address or addresses from the pool:Exclude an address or addresses from the pool: Router(config)#ip dhcp excluded-address low-address [high-address] Exclude an individual address or range of addresses when assigning addresses to clients.Exclude an individual address or range of addresses when assigning addresses to clients. Used to reserve addresses that are statically assigned to key hosts, for instance, the interface address on the router.Used to reserve addresses that are statically assigned to key hosts, for instance, the interface address on the router.

CCNA4-17 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 2: Step 2: Create the DHCP pool and place the router in DHCP configuration mode.Create the DHCP pool and place the router in DHCP configuration mode. Router(config)#ip dhcp pool [pool-name] Router(config-dhcp)#

CCNA4-18 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Define the pool of addresses: Router(config-dhcp)# network network-number [mask | /prefix]Define the pool of addresses: Router(config-dhcp)# network network-number [mask | /prefix] The network statement enables DHCP on any router interfaces belonging to that network.The network statement enables DHCP on any router interfaces belonging to that network. The router will act as a DHCP server on that interface.The router will act as a DHCP server on that interface. It is also the pool of addresses that the DHCP server will use.It is also the pool of addresses that the DHCP server will use.

CCNA4-19 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Assign the default gateway for the DHCP clients:Assign the default gateway for the DHCP clients: Router(config-dhcp)# default-router ip-address [ip-address2……] Only one is required but up to 8 addresses may be assigned in one command line.Only one is required but up to 8 addresses may be assigned in one command line.

CCNA4-20 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Assign the DNS Server(s) for the DHCP clients:Assign the DNS Server(s) for the DHCP clients: Router(config-dhcp)# dns-server ip-address [ip-address2……] Only one is required but up to 8 addresses may be assigned in one command line.Only one is required but up to 8 addresses may be assigned in one command line.

CCNA4-21 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Assign the WINS Server(s) for the DHCP clients:Assign the WINS Server(s) for the DHCP clients: Router(config-dhcp)# netbios-name-server ip-address [ip-address2……] Only one is required but up to 8 addresses may be assigned in one command line.Only one is required but up to 8 addresses may be assigned in one command line.

CCNA4-22 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Assign the Domain Name for the DHCP clients:Assign the Domain Name for the DHCP clients: Router(config-dhcp)# domain-name [domain]

CCNA4-23 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. Assign the duration of the lease for the DHCP clients:Assign the duration of the lease for the DHCP clients: Router(config-dhcp)# lease {days [hours] [minutes] | infinite} The default lease time is 1 day.The default lease time is 1 day.

CCNA4-24 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 3: Step 3: Configure the specific DHCP tasks.Configure the specific DHCP tasks. FYI - Other available parameters:FYI - Other available parameters:Router(config-dhcp)# netbios-node-type [type] host address [mask | /prefix] hardware-address hardware-address-type or client-identifier unique-identifier or client-identifier unique-identifier client-name name bootfile filename

CCNA4-25 Chapter 7-1 Configuring a Cisco Router as a DHCP Server FYI FYI By default, the DHCP server pings a pool address twice before assigning the address to a requesting client. If the ping is unanswered within 500 ms (i.e. times out), the DHCP server assumes that the address is not in use and assigns the address to the requesting client. To change the number of ping packets sent and/or the timeout wait value:To change the number of ping packets sent and/or the timeout wait value: Router(config)#ip dhcp ping packets number Router(config)#ip dhcp ping timeout milliseconds

CCNA4-26 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Step 1 Step 2 Step 3

CCNA4-27 Chapter 7-1 Configuring a Cisco Router as a DHCP Server Verifying DHCP: Verifying DHCP:Router# show ip dhcp binding show ip dhcp server statistics show ip dhcp pool debug ip dhcp server events Much more detail in the lab….

CCNA4-28 Chapter 7-1 DHCP Relay In a complex hierarchical network, enterprise servers are usually contained in a server farm. In a complex hierarchical network, enterprise servers are usually contained in a server farm. These servers may provide DHCP, DNS, TFTP, and FTP services for the clients. These servers may provide DHCP, DNS, TFTP, and FTP services for the clients.

CCNA4-29 Chapter 7-1 DHCP Relay PC1 either tries to obtain an IP configuration or attempts to renew its address. PC1 either tries to obtain an IP configuration or attempts to renew its address. In addition, other network services use broadcasts to find a TFTP server or an authentication server. In addition, other network services use broadcasts to find a TFTP server or an authentication server. BroadcastBroadcast BroadcastBroadcast

CCNA4-30 Chapter 7-1 DHCP Relay The solution is DHCP Relay. The solution is DHCP Relay. By configuring a helper address feature on intervening routers and switches the device will forward DHCP broadcasts, and others, to the appropriate server. By configuring a helper address feature on intervening routers and switches the device will forward DHCP broadcasts, and others, to the appropriate server. BroadcastBroadcast BroadcastBroadcast

CCNA4-31 Chapter 7-1 DHCP Relay To configure RTA Fa0/0 (the interface that receives the Host A broadcasts) to relay DHCP broadcasts to the DHCP server, use the following commands: To configure RTA Fa0/0 (the interface that receives the Host A broadcasts) to relay DHCP broadcasts to the DHCP server, use the following commands: RTA(config)#interface fa0/0 RTA(config-if)#ip helper-address BroadcastBroadcast

CCNA4-32 Chapter 7-1 DHCP Relay DHCP is not the only service that the router can be configured to relay. DHCP is not the only service that the router can be configured to relay. By default, the ip helper-address command forwards broadcasts for eight UDP services.

CCNA4-33 Chapter 7-1 Default Forwarded UDP Services If you wish to stop the forwarding of a service or add another service for forwarding, it can be done using the ip forward-protocol command. DHCP Relay Add SNMP

CCNA4-34 Chapter 7-1 DHCP can also be configured using the Cisco Router and Security Device manager (SDM). Configuring a DHCP Server Using SDM

CCNA4-35 Chapter 7-1 Resolve any IP Address conflicts. show ip address conflicts Verify physical connectivity. Test connectivity by configuring a workstation with a static IP address. Verify switch port configuration. Do DHCP clients obtain an IP address on the same subnet or VLAN where the DHCP server resides? Verify any DHCP Relay configuration. Verify that the router is receiving DHCP requests. debug ip dhcp events debug ip dhcp server debug ip packet detail Troubleshooting DHCP Configuration