Skip to content
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

Windows Server 2025 cannot enable mirrored networking. #12486

Open
1 of 2 tasks
Roberta001 opened this issue Jan 21, 2025 · 3 comments
Open
1 of 2 tasks

Windows Server 2025 cannot enable mirrored networking. #12486

Roberta001 opened this issue Jan 21, 2025 · 3 comments
Assignees

Comments

@Roberta001
Copy link

Windows Version

Microsoft Windows [版本 10.0.26100.1742]

WSL Version

2.3.26.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 22.04

Other Software

WSL 版本: 2.3.26.0
内核版本: 5.15.167.4-1
WSLg 版本: 1.0.65
MSRDC 版本: 1.2.5620
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26100.1-240331-1435.ge-release
Windows 版本: 10.0.26100.1742

Repro Steps

-----.wslconfig-----
[wsl2]
networkingMode=mirrored

Expected Behavior

Successfully enabled mirrored networking.

Actual Behavior

wsl: 指定的请求不受支持。
错误代码: CreateInstance/CreateVm/ConfigureNetworking/0x803b0015
wsl: 无法配置 networkingMode Mirrored) (网络,回退到 networkingMode None。

Diagnostic Logs

WslLogs-2025-01-22_07-39-38.zip

Copy link

View similar issues

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.3.26.0

@zcobol
Copy link

zcobol commented Jan 22, 2025

From this output:

PS C:\Users\Administrator> wsl
wsl: The specified request is unsupported.
Error code: CreateInstance/CreateVm/ConfigureNetworking/0x803b0015
wsl: Failed to configure network (networkingMode Mirrored), falling back to networkingMode None.

it's not clear (to me) if mirrored mode is not supported on Server 2025 or is just broken!

Also, if no support I'd expect it to fallback to NAT mode instead of None.

NAT and VirtioProxy works okay on Server 2025. Windows version 10.0.26100.2894 used for testing.

@justus-camp-microsoft
Copy link
Collaborator

@CatalinFetoiu is this the expected behavior? It seems like it would be (log line):

{
	callContext: 	\HnsRpcV2_Enumerate
	currentContextId: 	7
	currentContextMessage: 	
	currentContextName: 	HnsRpcV2_Enumerate
	failureCount: 	6
	failureId: 	8
	failureType: 	0
	fileName: 	onecore\vm\dv\net\hns\service\core\networkentitymanager.cpp
	function: 	
	hresult: 	0x803B0015
	lineNumber: 	1987
	message: 	Mirrored Networking can only be enabled on Client or WVD OS.
	module: 	hostnetsvc.dll
	originatingContextId: 	7
	originatingContextMessage: 	
	originatingContextName: 	HnsRpcV2_Enumerate
	threadId: 	13452
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants