VirtNet: Virtual Network Adapter for Windows
A configurable dummy virtual network interface driver for Windows. Registers with the NDIS subsystem to provide a virtual Ethernet adapter visible to the operating system as an ordinary network card. Essential for network software development, protocol testing, and packet filtering frameworks.
How VirtNet Operates in the Windows Network Stack
VirtNet registers with the NDIS subsystem as an Ethernet miniport driver, presenting a standard IEEE 802.3 MAC interface to TCP/IP and upper protocol layers.
Dummy Miniport Emulation
VirtNet behaves identically to a physical Ethernet network adapter from the operating system perspective. It receives an IP address (static or DHCP), has a configurable MAC address, and binds to standard Windows networking protocols without requiring a real physical connection or link state.
WinpkFilter & Ecosystem Integration
VirtNet is purely a dummy adapter; it does not forward, route, or bridge packets on its own. However, when combined with Windows Packet Filter (WinpkFilter) or the Ethernet Bridge sample, software can intercept packets bound to VirtNet, bridge them to physical networks, or tunnel them through custom VPNs.
Multi-Adapter Instantiation
Multiple VirtNet instances can be installed concurrently on a single machine (e.g., using root\virtnet60_a through root\virtnet60_d). Each virtual adapter operates independently with its own MAC address, IP subnet, routing metric, and firewall rules, enabling complex multi-homed network simulation locally.
Two Distinct Driver Architectures
VirtNet is engineered in two completely separate packages tailored to different generations of the Windows NDIS subsystem:
VirtNet (NDIS 6.0)
For Windows Vista through Windows 10 & Windows Server 2016 (NT 6.0+ Kernels)
Engineered for the NDIS 6.x miniport driver architecture. Supports 64-bit and 32-bit Windows kernels with full PnP root-enumeration.
VirtNet (NDIS 3.0)
For Windows 95 up to Windows 10 Version 1803
Historical NDIS 3.0 miniport driver supporting legacy Windows releases. Note: Microsoft permanently removed NDIS 3.0 support starting with Windows 10 version 1809 and Windows Server 2019.
MAC Address Configuration & IEEE 802 Rules
VirtNet features a configurable MAC address accessible via the "Network Address" property in Device Manager or the Windows Registry.
NDIS 6.0 MAC Address Validation Requirements
The NDIS 6.0 version of the driver enforces strict IEEE 802 MAC address formatting rules. An address must satisfy all three criteria:
- Must NOT be a multicast address:
(addr[0] & 0x01) == 0(the least significant bit of the first octet must be 0). - Must NOT be the broadcast address:
FF-FF-FF-FF-FF-FFis rejected. - Must be locally administered:
(addr[0] & 0x02) == 0x02(the second least significant bit of the first octet must be set to 1).
06-01-02-03-04-05
(or entered without delimiters as 060102030405 in the Device Manager text field).
Installing VirtNet on Windows
Install manually via Windows Device Manager or automate installation using the Microsoft DevCon utility from the Windows Driver Kit (WDK):
Automated Command-Line Installation (DevCon)
Open PowerShell or Command Prompt as Administrator in the unzipped driver directory:
# Install VirtNet NDIS 6.0 (Windows Vista through 10 / Server 2016; NT 6.0+ kernels):
devcon.exe -r install virtnet60.inf root\virtnet60_a
# To install additional concurrent adapters, use root\virtnet60_b, root\virtnet60_c, or root\virtnet60_d:
devcon.exe -r install virtnet60.inf root\virtnet60_b
# Install VirtNet NDIS 3.0 (Legacy Windows 95 through Windows 10 1803):
devcon.exe -r install netVirtNet.inf *NM_VIRTNET
# Verify installed adapter status:
devcon.exe status root\virtnet60*
Manual Installation via Device Manager
- Open Device Manager (run devmgmt.msc from Run prompt).
- Select the root computer node at the top, then click Action → Add legacy hardware.
- Select "Install the hardware that I manually select from a list (Advanced)" and click Next.
- Select "Network adapters" and click Next, then click the "Have Disk..." button.
- Browse to the unzipped driver folder, select virtnet60.inf (or netVirtNet.inf for NDIS 3.0), and click OK.
- Select "VirtNet Network Adapter" from the list and finish the wizard. The virtual adapter will appear under Network Connections.
VirtNet Driver Downloads
Choose the appropriate driver package for your target operating system:
VirtNet (NDIS 6.0)
Includes virtnet60.inf, virtnet60.cat, and virtnet60.sys for x86 and x64 platforms. Compatible with Windows Vista through Windows 10 and Windows Server 2016 (INF supports NT 6.0+ kernels).
VirtNet (NDIS 3.0)
Includes netVirtNet.inf, driver catalog files, oemsetup.inf for NT 4.0, and 32-bit and x64 virtnet.sys binaries. For Windows 95 through Windows 10 1803.
Pricing, Licensing & Warranty Disclaimer
Freeware License: VirtNet is distributed free of charge for private (non-commercial) or educational (including non-profit organization) use.
Disclaimer: The VirtNet virtual network interface driver is supplied AS-IS, without warranties of any kind, either expressed or implied.