Using a Cisco Router as a DHCP Server

Slides:



Advertisements
Similar presentations
/30 Host Name : R1 Serial 0/0/0.1.2 Host Name : R2 Router Lab 3 : 2 - Routers Connection DTE DCE.
Advertisements

CCNA2-1 Chapter 1 Introduction to Routing and Packet Forwarding CLI Configuration and Addressing.
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.
© 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.
C ISCO W ORKSHOPS Ya Bao T714/T718. Tasks Construct a network on Cisco devices (team work) Cisco Package Tracer simulation (individual work)
DHCP (Dynamic Host Configuration Protocol) RD-CSY /09.
CPIT 470 Lab 2 Lab Instructor: Aisha Ehsan.
Cisco Confidential 1 © 2010 Cisco and/or its affiliates. All rights reserved. CCNA DHCP Deepdive November, 2011 Jaskaran Kalsi & Anton Merckushov Assoc.
1 16-Aug-15 Static Routing CCNA Exploration Semester 2 Chapter 2.
DHCP Server © N. Ganesan, Ph.D.. Reference DHCP Server Issues or leases dynamic IP addresses to clients in a network The lease can be subject to various.
Installing a DHCP Server role on Windows Server 2008 R2 in a home network. This is intended as a guide to install the DHCP role on a Domain Controller.
AP (Access Point) Client Operation Mode : Bridge Mode: AP IP Address: DHCP: Server Operation Mode : Bridge Mode: Client IP Address:
Basic Router Configuration Warren Toomey GCIT. Introduction A Cisco router is simply a computer that receives packets and forwards them on based on what.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Static Routing Routing Protocols and Concepts – Chapter 2.
Packet Tracer: Novice Session
Packet Tracer 4.1: Novice Session
1 Routing Introduction to Routing Static Routing.
© 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.
CCNA Journal Sample. Index Basic Ethernet Serial Router Rip.
/24 Host Name :R1 Model : 1841 WIC-1T Serial 0/0/0 Basic Configuration.
1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
SERVER I SLIDE: 5. Objectie 4.2 The DHCP IP address assignment process.
HotEx Radius Manager Installation. hotEx RADIUS Manager Network Diagram.
1 CSE3153 Semester Case Study 1 V1.0 The Concept of an IP Network Due Date: By end of the Lab Session Student Name: __________________________________________.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
1 9-Feb-16 S Ward Abingdon and Witney College Static Routing CCNA Exploration Semester 2 Chapter 2.
 Router Configurations part2 2 nd semester
Configure and verify operation status of a device interface.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
DHCP CONFIGURATION Routing & Switching. DHCPV4 OPERATION CONFIGURING A DHCPV4 SERVER A Cisco router running the Cisco IOS software can be configured to.
Pass4itsure Cisco Dumps
LAN Connections.
Chapter 7 Managing a Cisco Internetwork
Ip addressing: dhcp & dns
Instructor Materials Chapter 8: DHCP
IP Addressing Services Part I
WAN Connections.
Lec5: Applying Dynamic Routing Protocols in CISCO Packet Tracer
Basic router configuration
Configuring WAN –Frame Relay
Chapter 4: Routing Concepts
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Basic configuration of a switch in packet tracer
Instructor: Mr Malik Zaib
3300 ICP Network Topology/ DHCP Configuration Jill Krzyzanowski Technical Trainer Release 8.0.
NOV –
CIS 82 Routing Protocols and Concepts Chapter 8 DHCP
Net 412 (Practical Part) Networks and Communication Department LAB 2.
Routing and Switching Essentials v6.0
Net 412 (Practical Part) LAB 5-port security
Net 412 (Practical Part) LAB 3 - Telnet
2 - IP Routing.
Routing Protocols and Concepts – Chapter 2
Network Models, Hardware, Protocols and number systems
Net 412 (Practical Part) LAB 4 - SSH
Network Hardware and Protocols
Net 412 (Practical Part) Networks and Communication Department LAB 1.
Fundamentals of Computer Networks
Fundamentals of Computer Networks
Fundamentals of Computer Networks
Fundamentals of Computer Networks
Instructor: Mr Malik Zaib
Ip addressing: dhcp & dns
Configuring Cisco 2650 Router By John Teissonniere Manny Jacome
Lec5: Applying Dynamic Routing Protocols in CISCO Packet Tracer
Presentation transcript:

Using a Cisco Router as a DHCP Server

Step 1:Create a topology like this,

Step 2:Configure router interface fastethernet0/0 and fastethernet 1/0 with ip address. R1#config t R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 10.0.0.1 255.0.0.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet 1/0 R1(config-if)#ip address 20.0.0.1 255.0.0.0 R1(config-if)#no shutdown R1(config-if)#exit

Step 3:Configure DHCP pool for the network 10 and 20, In Router R1,Global Configuration mode, R1(config)#service dhcp This command is to enable the dhcp server on a router. Routers in packet tracer won't accept this command. By default dhcp will be running on router so skip 'service dhcp' command if you are configuring dhcp in packet tracer, just create a network pool for the network it will work. Use this in real time or other simulators like gns3.

Cont…. R1(config)#ip dhcp pool 10network         "where '10network' is the pool name we can use what ever we want.This command get us into the DHCP Configuration mode." R1(dhcp-config)#network 10.0.0.0 255.0.0.0        "It defines the network range to be leased" R1(dhcp-config)#dns-server 10.0.0.2       "Ip address for the dns server." R1(dhcp-config)#default-router 10.0.0.1       "Default gateway for this network." R1(dhcp-config)#exit

First Interface:DHCP pool for 10 Network R1(config)#ip dhcp pool 10network R1(dhcp-config)#network 10.0.0.0 255.0.0.0 R1(dhcp-config)#dns-server 10.0.0.2 R1(dhcp-config)#default-router 10.0.0.1 R1(dhcp-config)#exit

DHCP pool for 20 Network R1(config)#ip dhcp pool 20network R1(dhcp-config)#network 20.0.0.0 255.0.0.0 R1(dhcp-config)#dns-server 10.0.0.2 R1(dhcp-config)#default-router 20.0.0.1 R1(dhcp-config)#exit

Now, Click on any of the PC->Desktop->ip configuration->Choose DHCP.Now PC will get an ip from DHCP server.

Few more command We can use, but we can't configure this in packet tracer.Use gns3 simulator for this. R1(dhcp-config)#netbios-server x.x.x.x 'where x.x.x.x is ip address of netbios server. R1(dhcp-config)#lease x   'where X is the number it sets the lease time,by default 1 (i.e. one day). R1(dhcp-config)#ip dhcp excluded address x.x.x.x x.x.x.x   'Range of ip address excluded from the pool it will not be leased to the clients'. R1(dhcp-config)#ip dhcp excluded address x.x.x.x    'To exclude only one ip address from the range of ip address'

R1(dhcp-config)#netbios-server 10 R1(dhcp-config)#netbios-server 10.0.0.2 R1(dhcp-config)#lease 2 R1(dhcp-config)#ip dhcp excluded address 10.0.0.1 10.0.0.10 R1(dhcp-config)#ip dhcp excluded address 10.0.0.35