{"id":78723,"date":"2026-06-28T13:35:27","date_gmt":"2026-06-28T13:35:27","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=78723"},"modified":"2026-06-28T13:35:27","modified_gmt":"2026-06-28T13:35:27","slug":"how-to-disable-virtualbox-dhcp-for-host-only-network","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=78723","title":{"rendered":"How to? Disable VirtualBox DHCP for host-only network"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ref: AI Tools, ChatGPT, Similar<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201c<strong>Disable VirtualBox DHCP for host-only network<\/strong>\u201d means:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Turn off the <strong>built-in DHCP server inside VirtualBox<\/strong>, so your <strong>Windows Server DHCP service<\/strong> becomes the only DHCP server giving IP addresses to the client VM.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"693\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=750%2C693\" alt=\"\" class=\"wp-image-78724\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?w=960 960w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=300%2C277 300w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=768%2C710 768w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2026\/06\/image-7.png?resize=750%2C693 750w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Why this matters<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In your DHCP lab, students are installing and configuring <strong>DHCP Server on Windows Server 2019<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But VirtualBox host-only networks can also have their own DHCP server. If VirtualBox DHCP is enabled, then the client VM may get an IP address from <strong>VirtualBox<\/strong>, not from the Windows DHCP Server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That would make the lab confusing because students may think their Windows DHCP scope is working, but actually VirtualBox gave the IP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Simple example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You want this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Windows Server DHCP VM\n192.168.XX.10\ngives IP addresses to client\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Not this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>VirtualBox DHCP\ngives IP addresses to client\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">So we disable VirtualBox DHCP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What to disable<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Disable only this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>VirtualBox Host-Only Network DHCP Server\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do <strong>not<\/strong> disable the host-only adapter itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The host-only adapter\/network should still exist so the VMs can communicate with each other.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps in VirtualBox<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In VirtualBox:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <strong>VirtualBox Manager<\/strong><\/li>\n\n\n\n<li>Go to <strong>Tools<\/strong><\/li>\n\n\n\n<li>Open <strong>Network<\/strong><\/li>\n\n\n\n<li>Select the <strong>Host-only Network<\/strong><\/li>\n\n\n\n<li>Go to the <strong>DHCP Server<\/strong> section\/tab<\/li>\n\n\n\n<li>Uncheck or disable <strong>Enable Server<\/strong><\/li>\n\n\n\n<li>Apply\/save<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In some versions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>File \u2192 Tools \u2192 Network Manager \u2192 Host-only Networks \u2192 DHCP Server \u2192 Disable\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>File \u2192 Host Network Manager \u2192 select host-only adapter \u2192 uncheck DHCP Server\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">After disabling it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your DHCP lab should use:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Machine<\/th><th>IP setting<\/th><\/tr><\/thead><tbody><tr><td>DHCP Server VM<\/td><td>Static IP, example <code>192.168.XX.10<\/code><\/td><\/tr><tr><td>Client VM<\/td><td>DHCP \/ automatic IP<\/td><\/tr><tr><td>VirtualBox DHCP<\/td><td>Disabled<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then the client should get an address from your Windows DHCP scope, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>192.168.XX.100 to 192.168.XX.150\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Student-friendly wording<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Disable VirtualBox DHCP on the host-only network so that the Windows Server DHCP role is the only DHCP server in this lab. Keep the host-only network enabled, but turn off its built-in DHCP server. Otherwise, the client may receive an IP address from VirtualBox instead of from your Windows DHCP scope.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Ref: AI Tools, ChatGPT, Similar \u201cDisable VirtualBox DHCP for host-only network\u201d means: Why this matters In your DHCP lab, students are installing and configuring DHCP Server on Windows Server 2019. But VirtualBox host-only networks can also have their own DHCP server. If VirtualBox DHCP is enabled, then the client VM may get an IP address &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=78723\">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,1981],"tags":[],"class_list":["post-78723","post","type-post","status-publish","format-standard","hentry","category-computer-networks","category-power-shell","item-wrap"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78732,"url":"http:\/\/bangla.sitestree.com\/?p=78732","url_meta":{"origin":78723,"position":0},"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":78382,"url":"http:\/\/bangla.sitestree.com\/?p=78382","url_meta":{"origin":78723,"position":1},"title":"Implement DHCP Server in GNS 3: Experiment with DHCP Protocol with DHCP server and Clients","author":"Sayed","date":"August 23, 2025","format":false,"excerpt":"Experiment with the DHCP Protocol with a DHCP server and Clients Tools Required: GNS 3 VMWare Workstation Pro or Oracle VirtualBox GNS VM Wireshark Steps in GNS 3: Create the LAN segment Configure a DHCP Server From PCs (clients) : request IP address from the DHCP server Check the DHCP\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-5.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":78395,"url":"http:\/\/bangla.sitestree.com\/?p=78395","url_meta":{"origin":78723,"position":2},"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":78723,"position":3},"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":78728,"url":"http:\/\/bangla.sitestree.com\/?p=78728","url_meta":{"origin":78723,"position":4},"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":[]},{"id":78403,"url":"http:\/\/bangla.sitestree.com\/?p=78403","url_meta":{"origin":78723,"position":5},"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":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78723","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=78723"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78723\/revisions"}],"predecessor-version":[{"id":78725,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78723\/revisions\/78725"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78723"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}