Open In App

Packet Tracer to Configure DHCP On a Wireless Router

Last Updated : 13 Nov, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Pre-requisite : Dynamic Host Configuration Protocol (DHCP), Basics of Wi-Fi.

DHCP is based on a client-server model, based on discovers, offers, requests, and ACKs. The DHCP port number for the server is 67 and for the client is 68. This is a client/server protocol using UDP services. IP addresses are assigned from a pool of addresses. In DHCP, clients and servers exchange four main DHCP messages to establish a connection. Also called the DORA process, there are eight DHCP messages in the process.

Configure DHCP on Wireless Router:

Step 1: Create the topology in CPT as shown in the image below :

Wireless router topology

 

  •  From the bottom toolbar, click on ‘End Devices’ and select ‘PC’ and then drag it to the workspace.

 

  •  Now select ‘Laptop’ and drag it to the workspace.
  •  From the bottom toolbar, click on ‘Network Devices’ and under ‘Wireless Devices’, select “Home Router” and drag it to the workspace. 

 

Step 2: Configure DHCP on Home-Router-PT-AC :

  1. Click on the Home Router device.
  2. A dialogue box will appear then click on “Config” tab.
  3. From the side menu bar, click on “LAN” and configure LAN settings as shown in the image below :Cl
IP configuration

 

  • Click on “GUI” tab and configure the basic setup as shown in the image below : 
     
DHCP Configuration on WIreless Router

 

Step 3: Click on the PC and under physical tab, change the module of the PC as follows : 

  1. Turn off the PC.
  2. Change the default module with the WMP300N module which is a 2.4 GHz wireless interface for connecting to wireless network.

 

Step 4: Click on Laptop and under physical tab, change the module of the Laptop as follows :

  1. Turn off the Laptop.
  2. Change the default module with the WPC300N module which is a 2.4 GHz wireless interface for connecting to wireless network.

 

Step 5: After completing the above steps, the end devices (PC and Laptop) will automatically connect to the wireless network configured on the Home router device and request for the IPv4 address and the topology will look like this :

 

Step 6: Verify IP configuration and connectivity throughout the topology :

  • Click on the PC and under the “Desktop” tab click on “Command Prompt” and check IP configuration with the command :
C:\>ipconfig

 

  • Now, check the connectivity with other devices in the topology by pinging them :
C:\>ping 192.168.1.1
C:\>ping 192.168.1.101

 

Simulation Result:

 

  • Click on the Laptop and under the “Desktop” tab click on “Command Prompt” and check IP configuration with the command :
C:\>ipconfig

 

C:\>ping 192.168.1.1
C:\>ping 192.168.1.100

 

Simulation Result:

 


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads