You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL2无法与Windows网关通信问题求助

WSL2无法与Windows网关通信问题求助

各位大佬好,我在Windows 11上运行WSL2,最近碰到个头疼的问题——WSL2突然和Windows防火墙之间的通信断了。先说明下,这不是WSL系统内部的DNS问题哈。

我的WSL用的DNS服务器和网关都是172.22.32.1,这个地址其实是Windows主机上的虚拟网卡地址,具体网卡信息如下:

Ethernet adapter vEthernet (WSL (Hyper-V firewall)):

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
   Physical Address. . . . . . . . . : 00-15-5D-9F-2F-98
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a58e:11df:17e:1a9c%62(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.22.32.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 1040192861
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2B-96-F2-45-F0-B6-1E-8B-5B-2D
   NetBIOS over Tcpip. . . . . . . . : Enabled

我尝试运行了相关排查命令,但刚才没把具体命令和完整输出贴全,后续会补充详细信息。

备注:内容来源于stack exchange,提问作者Dave

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 07:23:05