{"id":78382,"date":"2025-08-23T01:51:08","date_gmt":"2025-08-23T01:51:08","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=78382"},"modified":"2025-08-23T01:51:09","modified_gmt":"2025-08-23T01:51:09","slug":"implement-dhcp-server-in-gns-3-experiment-with-dhcp-protocol-with-dhcp-server-and-clients","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=78382","title":{"rendered":"Implement DHCP Server in GNS 3: Experiment with DHCP Protocol with DHCP server and Clients"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Experiment with the DHCP Protocol with a DHCP server and Clients<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tools Required:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GNS 3<\/li>\n\n\n\n<li>VMWare Workstation Pro or Oracle VirtualBox<\/li>\n\n\n\n<li>GNS VM<\/li>\n\n\n\n<li>Wireshark<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps in GNS 3:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the LAN segment<\/li>\n\n\n\n<li>Configure a DHCP Server<\/li>\n\n\n\n<li>From PCs (clients) : request IP address from the DHCP server<\/li>\n\n\n\n<li>Check the DHCP requests\/steps in the background<\/li>\n\n\n\n<li>Utilize Wireshark to check the packet\/data\/frame<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>LAN Segment to Implement<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"276\" height=\"302\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-5.png?resize=276%2C302\" alt=\"\" class=\"wp-image-78383\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-5.png?w=276 276w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-5.png?resize=274%2C300 274w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps to Create the LAN Segment<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>In GNS 3, create a projectBring the Devices 2 VPCs (PC1, PC2)One Switch One Router (c3725)It is not there by default in the device list<\/td><td><img loading=\"lazy\" decoding=\"async\" width=\"261\" height=\"182\" src=\"blob:http:\/\/bangla.sitestree.com\/4eba6124-4fe7-4a27-804e-46674565b48a\"><strong><\/strong><\/td><\/tr><tr><td>Use the connections option to connect them like the diagram above \u00a0<\/td><td><img loading=\"lazy\" decoding=\"async\" width=\"141\" height=\"209\" src=\"blob:http:\/\/bangla.sitestree.com\/1bd01464-b11e-4e30-9081-e19f688be8df\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Turn on all routers and PCs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Commands in the Router:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, go to command prompt or the console\/web-console of the Router.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or telnet such as<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">telnet 192.168.64.5 5000<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Then issue these commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1# enable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Privileged EXEC mode)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1# configure terminal<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(Config)# interface fastethernet 0\/0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(config-if)# ip add 192.168.1.1 255.255.255.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(config-if)# no shutdown&nbsp;&nbsp; (Activate)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(config-if)# exit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(config )#interface fastethernet 0\/0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(config-if)# ip dhcp pool cyber&nbsp;&nbsp; (create DHCP Pool)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(dhcp-config)# network 192.168.1.0 255.255.255.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(dhcp-config)#default-router 192.168.1.1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(dhcp-config)# dns-server 8.8.8.8<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(dhcp-config)# do wr&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">R1(dhcp-config)# exit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Now, go to the console\/web-console\/telnet-from-cmd of the PCs such as PC1, or PC2.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"231\" height=\"52\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-7.png?resize=231%2C52\" alt=\"\" class=\"wp-image-78386\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>telnet 192.168.64.5 5000<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PC1&gt;ip dhcp<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"68\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-6.png?resize=624%2C68\" alt=\"\" class=\"wp-image-78384\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-6.png?w=624 624w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-6.png?resize=300%2C33 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">DDORA: Discover Message (two times), Offer, Request, Acknowledge<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Do the same for other PCs such as PC2<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"80\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-8.png?resize=624%2C80\" alt=\"\" class=\"wp-image-78385\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-8.png?w=624 624w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-8.png?resize=300%2C38 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Then try the PING command from one PC to another<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"146\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-9.png?resize=624%2C146\" alt=\"\" class=\"wp-image-78387\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-9.png?w=624 624w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-9.png?resize=300%2C70 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Experiment with the DHCP Protocol with a DHCP server and Clients Tools Required: Steps in GNS 3: LAN Segment to Implement Steps to Create the LAN Segment In GNS 3, create a projectBring the Devices 2 VPCs (PC1, PC2)One Switch One Router (c3725)It is not there by default in the device list Use the connections &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=78382\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1978],"tags":[],"class_list":["post-78382","post","type-post","status-publish","format-standard","hentry","category-computer-networks","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78395,"url":"http:\/\/bangla.sitestree.com\/?p=78395","url_meta":{"origin":78382,"position":0},"title":"GNS 3 and Oracle VirtualBox &#8211; Make Them Work Together. Use VM as Devices in GNS 3.","author":"Sayed","date":"August 27, 2025","format":false,"excerpt":"How do you create a LAN segment like this in GNS3? It has two Ubuntu Virtual MachinesConnected to Oracle VirtualBox VMsOne Ubuntu\/Linux acts as the DHCP Server Another Ubuntu\/Linux acts as the DHCP Client Hints\/Steps: In Oracle VirtualBox, create two Ubuntu Machines (Virtual). These can be two new machines, or\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-12.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":78730,"url":"http:\/\/bangla.sitestree.com\/?p=78730","url_meta":{"origin":78382,"position":1},"title":"Why a DHCP server join the Active Directory","author":"Sayed","date":"June 28, 2026","format":false,"excerpt":"Authorizing a DHCP server in Active Directory means: \u201cThis DHCP server is approved by the domain to give IP addresses to clients.\u201d In a Windows AD domain, a domain-joined DHCP server must be authorized before it can start leasing IP addresses. Microsoft\u2019s Add-DhcpServerInDC cmdlet adds the DHCP server to the\u2026","rel":"","context":"In &quot;Power Shell&quot;","block_context":{"text":"Power Shell","link":"http:\/\/bangla.sitestree.com\/?cat=1981"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78723,"url":"http:\/\/bangla.sitestree.com\/?p=78723","url_meta":{"origin":78382,"position":2},"title":"How to? Disable VirtualBox DHCP for host-only network","author":"Sayed","date":"June 28, 2026","format":false,"excerpt":"Ref: AI Tools, ChatGPT, Similar \u201cDisable VirtualBox DHCP for host-only network\u201d means: Turn off the built-in DHCP server inside VirtualBox, so your Windows Server DHCP service becomes the only DHCP server giving IP addresses to the client VM. Why this matters In your DHCP lab, students are installing and configuring\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=700%2C400 2x"},"classes":[]},{"id":78403,"url":"http:\/\/bangla.sitestree.com\/?p=78403","url_meta":{"origin":78382,"position":3},"title":"How to install a DHCP Server in Ubuntu:","author":"Sayed","date":"August 27, 2025","format":false,"excerpt":"How to install a DHCP Server in Ubuntu: Use these commands and steps in sequence: # Make sure you have an IP address. # If not, please assign an IP address (you can use netplan) # see the next section how to assign an IP address. sudo apt update &&\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-15.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":78732,"url":"http:\/\/bangla.sitestree.com\/?p=78732","url_meta":{"origin":78382,"position":4},"title":"Understanding Host-Only Networking in Oracle VirtualBox: Concepts, Tools, IP Addressing, DHCP, and Practical Options","author":"Sayed","date":"June 28, 2026","format":false,"excerpt":"Ref: Oracle VirtualBox User Guide: VirtualBox supports configurable virtual network cards per VM, host-only networking connects VMs with each other and the host while keeping them away from the outside network, and VirtualBox includes a DHCP server for host-only\/internal networks. (VirtualBox) (VirtualBox) Introduction Oracle VirtualBox provides several networking modes for\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78728,"url":"http:\/\/bangla.sitestree.com\/?p=78728","url_meta":{"origin":78382,"position":5},"title":"How to Install DHCP role","author":"Sayed","date":"June 28, 2026","format":false,"excerpt":"Ref: AI Tools, ChatGPT : As is To install the DHCP Server role on Windows Server 2019, use Windows PowerShell as Administrator on the server VM, not the client VM. 1. Open PowerShell as Administrator On the Windows Server VM: Start Menu \u2192 Windows PowerShell \u2192 Right-click \u2192 Run as\u2026","rel":"","context":"In &quot;Power Shell&quot;","block_context":{"text":"Power Shell","link":"http:\/\/bangla.sitestree.com\/?cat=1981"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78382"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78382\/revisions"}],"predecessor-version":[{"id":78388,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78382\/revisions\/78388"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78382"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}