Network debugging is supported on the following NICs: busparams=0.31.6, Intel(R) Ethernet Connection (7) I219-V, KDNET is running on this NIC.
Network debugging is supported on the following USB controllers: busparams=0.20.0, Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft)
This Microsoft hypervisor supports using KDNET in guest VMs.
c:\kdnet> c:\kdnet>kdnet.exe 10.52.4.41 50000
Enabling network debugging on Intel(R) Ethernet Connection (7) I219-V.
To debug this machine, run the following command on your debugger host machine. windbg -k net:port=50000,key=3s1m4bjm7ihi7.3b8dig9hl019g.2fyvva9v1ie3a.38mfaw4eweiuo
Then reboot this machine by running shutdown -r -t 0 from this command prompt.
c:\kdnet>ping 10.52.4.41
Pinging 10.52.4.41 with 32 bytes of data: Reply from 10.52.4.41: bytes=32 time=4ms TTL=128 Reply from 10.52.4.41: bytes=32 time=1ms TTL=128 Reply from 10.52.4.41: bytes=32 time=1ms TTL=128 Reply from 10.52.4.41: bytes=32 time=1ms TTL=128
Ping statistics for 10.52.4.41: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 4ms, Average = 1ms
Host PC配置
Host PC也关闭系统网络防火墙。
用Microsoft Store安装的Windbg Preview,Attach to Kernel,填入Target PC生成的Port和Key: