I have two applications a client and a server running on my local machine and want to monitor their network traffic through NetMon.
One solution is to route the local traffic through the default gateway. However, I never got this working. It should be as easy as adding the following route:
net add <localip> MASK <mask> <defaultgatway> METRIC 1 IF 1
=========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 184.108.40.206 255.255.255.0 220.127.116.11 18.104.22.168 25 ---> 22.214.171.124 255.255.255.0 126.96.36.199 188.8.131.52 1 184.108.40.206 255.255.255.255 127.0.0.1 127.0.0.1 25 220.127.116.11 255.255.255.255 18.104.22.168 22.214.171.124 25 Default Gateway: 126.96.36.199 =========================================================================== ---> 188.8.131.52 255.255.255.0 184.108.40.206 220.127.116.11 1
So I would expect that this route routes everything to 18.104.22.168 to the gateway. It doesn't.
The approach is described in the following Technet slides. So I am pretty sure there must be a way to make this work....
Any ideas why the route doesn't work?
QUESTION MADE MORE SPECIFIC:
I run a ping on local machine to my local machine.
How can I see the ICMP packets in MS NetMon?