How to Configure Static IP for Windows 11 VirtualBox VM Wired NIC

Abstract: Resolve Windows 11 VirtualBox VM network connectivity issues by configuring a static IP on a bridged wired NIC.

Created: 2026-09-16 by

To configure a static IP for a Windows 11 VirtualBox VM wired NIC, open the Network Adapter settings in VirtualBox, switch the mode from NAT to Bridged Adapter, and then assign a static address within your host’s subnet via the Windows Control Panel. This ensures direct connectivity without relying on NAT gateway assumptions.

Understanding Network Modes

Before changing any settings, it is crucial to understand why the default configuration fails for static IP assignments. By default, VirtualBox creates a virtual network using NAT (Network Address Translation). In this mode, the guest operating system receives an IP address from a private DHCP pool managed by VirtualBox, typically in the 10.0.2.x range. The host machine acts as a router, but the guest does not have a unique identity on your physical local network. Attempting to set a static IP while in NAT mode often leads to conflicts or complete loss of connectivity because the guest cannot communicate directly with other devices on the LAN. To resolve this, you must change the networking mode to Bridged Adapter. This mode connects the virtual network card directly to the host’s physical network interface. The virtual machine will then request an IP address from your actual router’s DHCP server, just like a physical computer plugged into the same switch. If your router supports static DHCP reservations, that is the preferred method. However, if you need to manually configure the static IP inside Windows 11, bridging is the necessary prerequisite.

Switching to Bridged Adapter

You can modify the network configuration through the VirtualBox graphical user interface. First, ensure the virtual machine is powered off or at least ready for configuration changes. Select your Windows 11 VM in the main VirtualBox Manager window and click the Settings icon. Navigate to the Network tab. Under the Adapter 1 section, change the Attached to dropdown menu from NAT to Bridged Adapter. In the Name field, select the specific network interface on your host computer that provides internet access. For example, if you are on Wi-Fi, select your wireless adapter; if you are on Ethernet, select the wired connection. Some users may see multiple options labeled "Intel(R) Ethernet Connection" or similar. Choose the one that corresponds to your active internet source. Once selected, apply the changes. You do not need to restart the VM immediately, but the network service inside Windows 11 will need to refresh its connection.

Configuring Static IP in Windows 11

Once the VM is connected via Bridged Adapter, the next step is to assign a static IP address within the Windows 11 operating system. This process mirrors configuring a physical PC. Start the virtual machine and log in to Windows 11. Open the Settings application by pressing Win + I. Navigate to Network & internet, then select Ethernet. If the network is not detected as Ethernet, look under Wi-Fi settings instead, depending on how the host presents the connection. Click on the properties of the active network connection. Scroll down to find IP assignment. Change the setting from Automatic (DHCP) to Manual. Toggle the IPv4 switch to On. You will now need to enter four key pieces of information:
  • IP address: Choose an unused address in your local subnet. For example, if your router is 192.168.1.1, you might choose 192.168.1.50.
  • Subnet mask: Typically 255.255.255.0 for home networks.
  • Gateway: Enter your router’s IP address, such as 192.168.1.1.
  • Preferred DNS: Use your router’s IP or a public DNS like 8.8.8.8.
After entering these values, click Save. Windows may take a few seconds to apply the new configuration. You can verify the success by opening Command Prompt and running ipconfig. The output should show the static IP you assigned, along with a valid subnet mask and default gateway.

Troubleshooting Connectivity Issues

If the VM loses internet access after switching to Bridged Adapter, several factors could be responsible. First, check if your physical router has a firewall or MAC filtering enabled that blocks unknown devices. Some enterprise networks require authentication or register new MAC addresses before granting access. In such cases, you may need to whitelist the VM’s MAC address in your router settings. Another common issue arises when the host computer switches between Wi-Fi and Ethernet. If you configured the bridge to use Wi-Fi but then plug in an Ethernet cable, the VM may lose connectivity until you update the Bridged Adapter selection in VirtualBox settings to match the new active interface. Additionally, ensure that no third-party antivirus software on the host is blocking the virtual network driver. For advanced scenarios where bridging is restricted by your network administrator, consider using Port Forwarding as an alternative. This allows you to map specific host ports to guest ports without exposing the VM to the entire LAN. However, for most users seeking a static IP for console login or file sharing, Bridged Adapter remains the standard solution. Configure Two Virtual Machines: Host VirtualBox to Use Guest's VPN demonstrates another way to manage network isolation, which might be useful if you need secure tunneling instead of direct LAN access.

Frequently Asked Questions

Why did my VM lose internet after setting a static IP?

This usually happens because the static IP falls outside your router’s DHCP pool or conflicts with another device. Ensure the IP address you chose is not reserved for another machine and that the subnet mask matches your network exactly. Restarting the network adapter in Windows often resolves temporary glitches.

Can I use a static IP with NAT mode?

No, NAT mode uses a private virtual network where the guest IP is dynamically assigned by VirtualBox. You cannot force a static IP on the guest side because the NAT engine manages the translation table. Switching to Bridged Adapter is required for true static addressing on your LAN.

How do I find my host’s subnet mask?

Open Command Prompt on your host machine and run ipconfig. Look for the IPv4 Subnet Mask under your active network adapter. It is typically 255.255.255.0 for most home and small office networks. Use this exact value in your Windows 11 VM configuration.

What if Bridged Adapter shows no network option?

This indicates that VirtualBox lacks permission to access the host’s network interfaces. Try running VirtualBox as an Administrator. On Linux hosts, you may also need to install the vboxnetflt module or add your user to the vboxusers group.

Does enabling a static IP affect WSL2?

WSL2 runs in its own isolated Hyper-V virtual network, separate from the primary VM’s network adapter. Configuring a static IP for your Windows 11 VM does not directly impact WSL2 connectivity, though both rely on the host’s underlying virtualization platform.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More