If you’re not seeing any network traffic, then assigning a static IP is not likely to fix your problem.
KDNET will do DHCP and APIPA before it attempts to get the host MAC address from the assigned host IP using ARP.
If you don’t see any packets coming out of the Broadcom NIC, then that is likely the real issue.
But you need to enable promiscuous mode on the NIC you are running Netmon on, and you need to be watching for DHCP and ARP traffic as well.
You should see KDNET do DHCP, then ARP to make sure no one is using the DHCP assigned address, then ARP for the host MAC.
After that, it will negotiate a debugger connection with the debugger host. All the debug packets will be UDP to the assigned port, and will have encrypted payloads (except for the unencrypted debug packet header).
Is the Microsoft Kernel Network Debug adapter working and sending traffic on the target machine after you boot up? If it is, then your NIC and KDNET are working fine, and the problem is likely the firewall on the host side.
If the Microsoft Kernel Network Debug Adapter has not been assigned an IP address, and has no DNS addresses, etc., then your problem is the NIC isn’t sending or receiving packets.
You may need to set busparams to make sure KDNET is pointed at the NIC you want to use.
Joe.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of skreel+xxxxx@gmail.com
Sent: Tuesday, June 25, 2013 5:04 PM
To: Kernel Debugging Interest List
Subject: RE:[windbg] Win8 Network Debugging Troubles
I’ve having similar problems. I have a Broadcom NIC though. Hardware ID: PCI\VEN_14E4&DEV_166A&SUBSYS_166A14E4&REV_10
Under HKEY_Local_Machine\System\CurrentControlSet\Services\kdnet it says
KdInitResultString: InitializeNetwork failed to get the ethernet address of the host debugger.
KdInitStatus: 0x00000b5
Netmon doesn’t show any traffic. Is there a way to statically assign an IP? If not, what’s my next step in troubleshooting this issue?
Thanks!
Scott
WINDBG is sponsored by OSR
OSR is hiring!! Info at http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer