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
相关产品推荐
相关产品推荐

