Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Wireshark capture on 192.168.0.2

Posted on 2014-09-13
10
Medium Priority
?
304 Views
Last Modified: 2014-09-20
Ah hello.

I am experimenting with capturing network traffic from my local client/server applications.  When I bind my server to localhost and connect my client to the listening port of 44418 on localhost, I can use RawCap to capture traffic and analyse it fine.  However, when I bind my server to POWERHOUSE (the name of my machine, which comes out as IP 192.168.0.2) and target port 44418 from my client, I get no traffic in wireshark even when I have the most basic display filter of "tcp.port == 44418" active.

The IP of my router is 192.168.0.1 (the "default gateway").

I don't understand enough about networks to know why this isn't working, but I would like to.

Can someone please explain this to me?  

TIA
0
Comment
Question by:mrwad99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 71

Expert Comment

by:Qlemo
ID: 40321151
Certain POWERHOUSE is not resolving to an IPv6 address?
Anyway, enable capturing on ALL interfaces, and to make sure you get all traffic use promiscous mode.
0
 
LVL 19

Author Comment

by:mrwad99
ID: 40321159
Yes, TCPView shows my process bound to 192.168.0.2:44418.  I selected all interfaces on Wireshark but the other two were my VirtualBox one and my VPN one, neither of which had any traffic on them.

Still nothing shown for "tcp.port == 44418"...
0
 
LVL 12

Expert Comment

by:Henk van Achterberg
ID: 40321497
Do you have capture filters present (those are different from display filters!)?
0
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 
LVL 19

Author Comment

by:mrwad99
ID: 40321688
Nope, no capture filters setup...
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40321712
In that case I try to use a negative capture filter - exclude stuff you do not want to see. I usually do that interactively with a display filter I add conditions one after another.
0
 
LVL 19

Author Comment

by:mrwad99
ID: 40321720
Hmm, but the thing is, I get no traffic going to my target port of 44418, so using a negative filter will just be a roundabout way of getting to the same result...?
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40321738
If I get no traffic in WireShark, the first thing I doubt about is whether my filters are correct, so I remove them all.
You can try if removing and installing the WinPCap drivers help. There is no reason I can see with your original filter not showing traffic for the named host - unless there is an issue in PCap, or the host is not the local one.
0
 
LVL 19

Author Comment

by:mrwad99
ID: 40321941
OK, I'll look into this and come back tomorrow.
0
 
LVL 19

Accepted Solution

by:
mrwad99 earned 0 total points
ID: 40323337
OK I have spoken to two independent network gurus (guru = PhD in high-performance networking) and it turns out that because both client and server are on the same box, the network card will never be hit as Windows is "smart enough" to know it doesn't need to pass the packets to it.  I was wrong in thinking that this only applied to the loopback address; apparently any local address will exhibit this behaviour.

Hence, I'll close this with my answer as the accepted one.  Thanks anyway for participating both.
0
 
LVL 19

Author Closing Comment

by:mrwad99
ID: 40334225
As noted in my comment.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question