{"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><strong>Experiment with the DHCP Protocol with a DHCP server and Clients<\/strong><\/p>\n\n\n\n<p><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><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><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><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>Turn on all routers and PCs<\/p>\n\n\n\n<p><strong>Commands in the Router:<\/strong><\/p>\n\n\n\n<p>First of all, go to command prompt or the console\/web-console of the Router.<\/p>\n\n\n\n<p>Or telnet such as<\/p>\n\n\n\n<p>telnet 192.168.64.5 5000<\/p>\n\n\n\n<p><strong>Then issue these commands:<\/strong><\/p>\n\n\n\n<p>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>R1# configure terminal<\/p>\n\n\n\n<p>R1(Config)# interface fastethernet 0\/0<\/p>\n\n\n\n<p>R1(config-if)# ip add 192.168.1.1 255.255.255.0<\/p>\n\n\n\n<p>R1(config-if)# no shutdown&nbsp;&nbsp; (Activate)<\/p>\n\n\n\n<p>R1(config-if)# exit<\/p>\n\n\n\n<p>R1(config )#interface fastethernet 0\/0<\/p>\n\n\n\n<p>R1(config-if)# ip dhcp pool cyber&nbsp;&nbsp; (create DHCP Pool)<\/p>\n\n\n\n<p>R1(dhcp-config)# network 192.168.1.0 255.255.255.0<\/p>\n\n\n\n<p>R1(dhcp-config)#default-router 192.168.1.1<\/p>\n\n\n\n<p>R1(dhcp-config)# dns-server 8.8.8.8<\/p>\n\n\n\n<p>R1(dhcp-config)# do wr&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>R1(dhcp-config)# exit<\/p>\n\n\n\n<p><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><strong>telnet 192.168.64.5 5000<\/strong><\/p>\n\n\n\n<p>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>DDORA: Discover Message (two times), Offer, Request, Acknowledge<\/p>\n\n\n\n<p><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><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_memberships_contains_paid_content":false,"footnotes":""},"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":78403,"url":"http:\/\/bangla.sitestree.com\/?p=78403","url_meta":{"origin":78382,"position":1},"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":68592,"url":"http:\/\/bangla.sitestree.com\/?p=68592","url_meta":{"origin":78382,"position":2},"title":"DHCP: How to configure a DHCP server in Linux #74","author":"Author-Check- Article-or-Video","date":"August 5, 2021","format":false,"excerpt":"DHCP: How to configure a DHCP server in Linux Configure a DHCP Server From: http:\/\/sitestree.com\/?p=5039 Categories:74Tags: Post Data:2011-01-12 23:11:49 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78373,"url":"http:\/\/bangla.sitestree.com\/?p=78373","url_meta":{"origin":78382,"position":3},"title":"DHCP Protocol: How it Works","author":"Sayed","date":"August 22, 2025","format":false,"excerpt":"Get Details from RFC: https:\/\/datatracker.ietf.org\/doc\/html\/rfc2131 Ref: https:\/\/crnetpackets.com\/2017\/04\/24\/ipv4-basics-part-1-dhcp-dynamic-host-configuration-protocol\/ https:\/\/crnetpackets.com\/2017\/04\/24\/ipv4-basics-part-1-dhcp-dynamic-host-configuration-protocol\/","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.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image.png?resize=700%2C400 2x"},"classes":[]},{"id":78389,"url":"http:\/\/bangla.sitestree.com\/?p=78389","url_meta":{"origin":78382,"position":4},"title":"BOOTP vs DHCP Protocol","author":"Sayed","date":"August 23, 2025","format":false,"excerpt":"From AI Tools\/OpenAI\/Internet \" \" FeatureBOOTPDHCPFull nameBootstrap ProtocolDynamic Host Configuration ProtocolOrigin1980s, designed for diskless workstations1990s, developed as an extension of BOOTPAddress assignmentStatic (pre-configured per MAC address)Dynamic, automatic, and renewableLease conceptNo lease; addresses permanentUses timed leases with renewal mechanismConfigurable optionsLimited (IP, gateway, boot file)Extensive (IP, subnet mask, DNS, gateway, etc.)Renewal supportNot\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":24103,"url":"http:\/\/bangla.sitestree.com\/?p=24103","url_meta":{"origin":78382,"position":5},"title":"29 :: CCNA R&amp;S Exam Course :: Dynamic Host Configuration Protocol (DHCP) #Root","author":"Author-Check- Article-or-Video","date":"April 5, 2021","format":false,"excerpt":"From: http:\/\/sitestree.com\/?p=3083 Categories:RootTags: Post Data:2015-10-27 04:44:18 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"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}]}}