Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
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: https://www.osr.com/osr-learning-library/
So basically I am trying to set up windbg for my vm. First of all, my host cannot reach my VM through ping. It says: "destination host unreachable". Also, windbg shows "waiting to reconnect". I have been going through google for 2 hours now, and I can't find a solution. my VM is connected with NAT.
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 | 7 Dec 2020 | LIVE ONLINE |
Internals & Software Drivers | 25 Jan 2021 | LIVE ONLINE |
Developing Minifilters | 8 March 2021 | LIVE ONLINE |
Comments
Yep, that’s why. With NAT, your VM can dial out, but no one can dial in. That's Just like your regular corporate network. You can either use “bridged” networking, or you can use a fake serial port. That option works pretty will with a VM.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
> Yep, that’s why. With NAT, your VM can dial out, but no one can dial in. That's Just like your regular corporate network. You can either use “bridged” networking, or you can use a fake serial port. That option works pretty will with a VM.
But without NAT, I can’t use windbg. I’m trying to set up NET debugging
Why do you say you need NAT? Where did you read that? Using NAT is like having your debug host out on the internet with your debug target inside your firewall. NAT lets the target reach outside, but no one from the outside can get through the firewall. As you have seen, you cannot "ping" into a NAT connection. Most of the advice on the net suggests using a "host-only" network.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
My virtual machine does not have any connection with host only option enabled. Also, still "waiting to reconnect".
I would still like to know why you think you need NAT. Did you read that on a web site?
I don't think you can change the network option while the VM is running. Did you stop it first?
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
NAT used to work for me. Also, I got it to work, but I have been having waiting to reconnect problems after getting it to work for a short period of time.