0% found this document useful (0 votes)
9 views

Configure DHCP on a Router

The document provides step-by-step instructions for configuring DHCP on a router, including setting up the network topology with a router, switch, and PCs. It details the router configuration commands to enable DHCP and exclude the router's IP address, as well as how to configure PCs to use DHCP. Additionally, it outlines an alternative method using a dedicated DHCP server device with specific settings.

Uploaded by

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

Configure DHCP on a Router

The document provides step-by-step instructions for configuring DHCP on a router, including setting up the network topology with a router, switch, and PCs. It details the router configuration commands to enable DHCP and exclude the router's IP address, as well as how to configure PCs to use DHCP. Additionally, it outlines an alternative method using a dedicated DHCP server device with specific settings.

Uploaded by

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

Configure DHCP on a Router

Step 1: Setup the Topology

• Add:
o1 Router (e.g., 2811)
o1 Switch
o2 PCs
• Connect them using Copper Straight-Through cables.

Step 2: Configure the Router

Click on the router > CLI tab, and enter the following:

Router> enable

Router# configure terminal

! Set interface IP

Router(config)# interface FastEthernet0/0

Router(config-if)# ip address 192.168.1.1 255.255.255.0

Router(config-if)# no shutdown

Router(config-if)# exit

! Enable DHCP

Router(config)# ip dhcp pool LANPOOL

Router(dhcp-config)# network 192.168.1.0 255.255.255.0

Router(dhcp-config)# default-router 192.168.1.1

Router(dhcp-config)# dns-server 8.8.8.8

Router(dhcp-config)# exit

! Exclude router IP

Router(config)# ip dhcp excluded-address 192.168.1.1

Router(config)# end

Router# write memory

Step 3: Configure PCs to Use DHCP


• Click on each PC > Desktop > IP Configuration
• Select DHCP
• You should see an IP address like 192.168.1.X automatically assigned.

Verification

On the PC: Open Command Prompt and type:

ipconfig

→ Should show an IP from the DHCP range.

On the router: Run

Router# show ip dhcp binding

→ Displays assigned IPs and MAC addresses.

Using a Dedicated DHCP Server Device

If you want to use a DHCP server (device) instead of the router:

1. Add a DHCP server from the end devices section.


2. Set its IP statically (e.g., 192.168.1.2) on the server.
3. Go to Services > DHCP, turn it ON, and enter:
o Default Gateway: 192.168.1.1
o DNS Server: 8.8.8.8
o Start IP: 192.168.1.100
o Subnet Mask: 255.255.255.0
o Maximum Number of Users: 50

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