Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:

WinDbg using Network: Does the subnet ID of the host and target have to be the same?

Santhosh_Kumar-3Santhosh_Kumar-3 Member Posts: 127

I do the below settings on the target. then save the key go to the host and use the key and it just works. However recently it did not work. My friends told me that the subnet ID has to match. That means xxxx.yyyy.abcd,ghij and xxxx.yyyy.sdkf.qerr will work but xxxx.yyyy.abcd,ghij and xxxx.yyyz.sdkf.qerr will not work as the subnet ID's are different cannot talk to because the subnet ID 10.7 does not match with 10.54. Earlier I never worried about this and I did not see any place MSFT mentioning this. So please tell me if the recent WinDbg's have become subnet ID sensitive. Thanks
bcdedit /debug on
bcdedit /dbgsettings net hostip:w.x.y.z port:n
bcdedit /set "{dbgsettings}" busparams b.d.f


  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,367

    It is true that your debug host has to be on the same subnet as your debug target. That has always been true.

    However, you cannot tell from an IP address what its subnet is. In the original numbering scheme, 10.x.x.x was a class A address, which means the subnet mask was, so every 10.x.x.x address was on the same subnet. It is quite likely that your IT department has subdivided this region into smaller subnets. You can use "ipconfig" to find that information.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 12 September 2022 Live, Online
Internals & Software Drivers 23 October 2022 Live, Online
Kernel Debugging 14 November 2022 Live, Online
Developing Minifilters 5 December 2022 Live, Online