How To Configure DHCP Server in Packet Tracer. - Computer Networking Tips
How To Configure DHCP Server in Packet Tracer. - Computer Networking Tips
Hello and welcome! This tutorial will guide you on how to configure a DHCP server both on a
router and on a generic server in Cisco Packet Tracer. In both cases, configuration is simple as long
as you have a basic knowledge of IP addressing. On to it then!
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 1/19
9/8/2021 How to configure DHCP server in Packet Tracer. – Computer Networking Tips
2. On the router, configure interface fa0/0 to act as the default gateway for our LAN.
Router>enable
Router#config terminal
Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
3. Configure DHCP server on the Router. In the server we will define a DHCP pool of IP addresses
to be assigned to hosts, a Default gateway for the LAN and a DNS Server.
Router(config)#
Router(config)#ip dhcp pool MY_LAN
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 192.168.1.10
4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every PC should be able to
obtain an IP address, default gateway and DNS server, as defined in step 2.
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 2/19
9/8/2021 How to configure DHCP server in Packet Tracer. – Computer Networking Tips
You can test the configuration by pinging PC2 from PC1. Ping should succeed.
Now let’s do the same thing using a Generic server in place of a router:
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 3/19
9/8/2021 How to configure DHCP server in Packet Tracer. – Computer Networking Tips
To do this, click on the server, then click on Services tab. You will pick DHCP on the menu. Then
proceed to define the DHCP network parameters as follows:
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 4/19
9/8/2021 How to configure DHCP server in Packet Tracer. – Computer Networking Tips
4. Finally, enable DHCP configuration on each PC. The three PCs should get automatically
configured.
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 5/19
9/8/2021 How to configure DHCP server in Packet Tracer. – Computer Networking Tips
Addendum: You can define a DHCP server on one broadcast domain to serve hosts in
a different broadcast domain. If you want to do this, then you should consider using ip helper-
address command. To learn more about this, you can read my article on IP helper address
configuration.
Success! Success!
Hope you found this post helpful. Comment to help improve it.
Share this:
Like
One blogger likes this.
Related
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dhcp-server-in-packet-tracer/ 6/19