-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsl2 with mirrored network cannot connect to vmware workstation virtual machine #11115
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
@wang1zhen since it fails with From the
|
SSH now hangs here:
|
Hi. Can you please collect networking logs by following the instructions below? |
WslNetworkingLogs-2024-02-09_13-04-47.zip I have uploaded the networking logs according to the instructions here. |
thanks for attaching the logs. sorry for the delay following up on this at the moment this is not supported when using mirrored networking mode mirrored mode allows communication between WSL and the Windows host using 127.0.0.1 or using an IPv4 address assigned to the Windows host, but not communication with another VM running on Windows |
you will be able to SSH by forwarding the port on windows host. add the following to ~/.ssh/config in WSL
|
Windows Version
Microsoft Windows [Version 10.0.22631.3085]
WSL Version
WSL version: 2.0.14.0 Kernel version: 5.15.133.1-1 WSLg version: 1.0.59 MSRDC version: 1.2.4677 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.3085
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.133.1-microsoft-standard-WSL2 (root@1c602f52c2e4) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Thu Oct 5 21:02:42 UTC 2023
Distro Version
Debian 12
Other Software
VMware® Workstation 17 Pro, 17.5.0 build-22583795
Repro Steps
Start vm (ubuntu 20.04) and start ssh service on it.
ip address info:
ssh from wsl2:
.wslconfig
Expected Behavior
wsl2 ssh to vmware ubuntu successfully.
Actual Behavior
ssh hangs
However,
ssh.exe 192.168.145.130
from windows host or wsl2 both works:Diagnostic Logs
No response
Tasks
The text was updated successfully, but these errors were encountered: