---
title: 'Hyper-V networking with MS-DOS'
url: 'https://www.dmcmillan.co.uk/blog/hyper-v-networking-with-ms-dos'
markdown: 'https://www.dmcmillan.co.uk/blog/hyper-v-networking-with-ms-dos.md'
date: '2021-09-08'
description: 'Although Hyper-V does not support MS-DOS officially, it does still boot and run OK. If you want to run mTCP or a similar network stack in MS-DOS, you need suitable drivers to enable the card. Initial Configuration I configured a standard Hyper-V Generation 1 machine, and used the Virtual PC VHD for…'
taxonomy:
  tag:
    - Networking
    - MSDOS
---

# Hyper-V networking with MS-DOS

## [Hyper-V networking with MS-DOS](https://www.dmcmillan.co.uk/blog/hyper-v-networking-with-ms-dos)

    8th Sep 2021   [Networking](https://www.dmcmillan.co.uk/blog/tag:Networking#body-wrapper) [MSDOS](https://www.dmcmillan.co.uk/blog/tag:MSDOS#body-wrapper)  

Although Hyper-V does not support MS-DOS officially, it does still boot and run OK. If you want to run mTCP or a similar network stack in MS-DOS, you need suitable drivers to enable the card.

### Initial Configuration

I configured a standard Hyper-V Generation 1 machine, and used the Virtual PC VHD for MS-DOS 6.22 from <https://winworldpc.com/product/ms-dos/622>

When configuring the machine, I selected the Legacy Network Adapter, instead of the standard Network Adapter. Apart from that, the configuration options are up to you.

### Legacy Network Adapter

The Legacy Network Adapter emulates a card with a DEC21140 chipset, and a packet driver from <http://crynwr.com/> is available for this card.

The dc.com can be invoked with `dc.com 0x60` in autoexec.bat or similar, and then the standard DHCP.EXE (or any of the other tools from the mTCP suite) can be used once the mtcpfg file is setup. In my case, the default 0x60 entry point worked fine.

That's it - the machine was then connected to the network OK:

![hyperv-dos-networking](https://www.dmcmillan.co.uk/images/6/d/5/8/e/6d58eb120a1400f409ff9d3dba77cad79634641c-hyperv-dos-networking.png "hyperv-dos-networking")

Attached is the necessary packet driver files to get things working. Only dc.com is required from the archive.

[dc21x4pk\_11\_4.zip](https://www.dmcmillan.co.uk/blog/hyper-v-networking-with-ms-dos/dc21x4pk_11_4.zip)

 [ Previous Post](https://www.dmcmillan.co.uk/blog/msdos-networking-with-an-isa-rtl8009-based-network-card) [Next Post ](https://www.dmcmillan.co.uk/blog/imaging-an-amstrad-pcw-disk)

---

## Navigation

- Parent: [Blog](https://www.dmcmillan.co.uk/blog.md)
- Previous: [Imaging an Amstrad PCW disk](https://www.dmcmillan.co.uk/blog/imaging-an-amstrad-pcw-disk.md)
- Next: [MSDOS networking with an ISA RTL8009 based network card](https://www.dmcmillan.co.uk/blog/msdos-networking-with-an-isa-rtl8009-based-network-card.md)
