L
L
Leon_Pol2021-06-09 20:27:53
linux
Leon_Pol, 2021-06-09 20:27:53

How to make wsl and hyper-h work on the same network?

The problem is this. There is hyper-v with Win Server and there is wsl with Debian. The two operating systems do not see each other. When trying to ping win from debian, he understands what it is, but the answer from Windows does not come. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2021-06-09
@Leon_Pol

The problem is with the virtual switch settings in Hyper-V Manager.
By default both WSL and Default switch are of type Internal and both are behind NAT.
Create an external virtual switch and move the virtual machine there - it will be on the same network as the physical machine, but will be accessible from WSL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question