# Docker Transparent Networking

**URL:** <https://forums.docker.com/t/docker-transparent-networking/80323>\
**Category:** General\
**Created:** [August 27, 2019, 2:07pm UTC](https://forums.docker.com/t/docker-transparent-networking/80323 "2019-08-27T14:07:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dainmuller](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@dainmuller](https://forums.docker.com/u/dainmuller)\
**Post date:** [August 27, 2019, 2:07pm UTC](https://forums.docker.com/t/docker-transparent-networking/80323/1 "2019-08-27T14:07:45Z")

</div>

I would like to bind a specific network adapter to a network in docker.

If I do Get-NetAdapter, is shows up as:

PROD Intel(R) Gigabit 4P I350-t Adapter #2 24 Up B4-96-91-51-E9-04 1 Gbps

In Hyper-V I added it as the Virtual Switch:

vEthernet (prodSwitch) Hyper-V Virtual Ethernet Adapter #2 13 Up B4-96-91-51-E9-04 1 Gbps

From the posts I’ve read, it should be either:

docker network create -d transparent -o com.docker.network.windowsshim.interface=“vEthernet (prodSwitch)” --subnet=192.168.127.0/24 --gateway=192.168.127.1 production

or

docker network create -d transparent -o com.docker.network.windowsshim.interface=“PROD” --subnet=192.168.127.0/24 --gateway=192.168.127.1 production

The first gives me the error:

Error response from daemon: hnsCall failed in Win32: The parameter is incorrect. (0x57)

The second gives me the error:

Error response from daemon: hnsCall failed in Win32: An adapter was not found. (0x803b0006)

---

<div class="post-metadata">

**Author:** ![caballo111](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@caballo111](https://forums.docker.com/u/caballo111)\
**Post date:** [March 18, 2023, 10:22pm UTC](https://forums.docker.com/t/docker-transparent-networking/80323/2 "2023-03-18T22:22:05Z")

</div>

Did you ever find a solution to this problem?

---

<div class="post-metadata">

**Author:** ![tstanley89ce](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tstanley89ce](https://forums.docker.com/u/tstanley89ce)\
**Post date:** [May 20, 2024, 6:13pm UTC](https://forums.docker.com/t/docker-transparent-networking/80323/3 "2024-05-20T18:13:20Z")

</div>

@dainmuller did you ever find a solution?
