Solved

TCP/IP communication question

Posted on 2015-01-26
5
214 Views
Last Modified: 2015-01-26
Do you know to what extent the network card is used in TCP/IP communication if the source and destination are the same server (itself). Does data make it to the physical NIC even though the communication isn't leaving the server?
Just wondering if the NIC driver and physical NIC are involved in the process. So if I have a server with a database on it, and the same server has the client piece on it, is the data making it to the NIC level even though this is internal only?

What I'm trying to determine is this:  Would the advanced TCP/IP settings on the NIC come in to play or not in this scenario where communication never leaves the server itself?
0
Comment
Question by:ZabagaR
[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
5 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 40570564
No the traffic never makes it to the NIC driver.  You can see this by doing a wireshark packet capture and selecting the NIC assigned to the address in question.  You will see no traffic captured, because it never hits the driver.
0
 
LVL 12

Expert Comment

by:FarWest
ID: 40570588
as far as I know, when you don't use loop back IP which is 127.0.0.1, traffic will go to NIC
0
 
LVL 8

Expert Comment

by:nader alkahtani
ID: 40570592
You should use wireshark
When you ping loopback IP address 127.0.01 through 127.255.255.255  you now work with just software level without touch NIC, but if you ping host name or IP of your machine you will work with hardware.
0
 
LVL 15

Author Closing Comment

by:ZabagaR
ID: 40570631
Yes, you're right.  If I run a wireshark capture, and pick my databases port connection as a filter, I never get any data captured.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 40570709
The first thing IP does when it needs to connect to a remote host is look-up the destination IP address in the routing table.  It then determines what it needs to do based on what the routing table says.

IP will see that to talk to IP address "X" it needs to send the data out the interface with address "X".  The 1st layer of talking to IP address "X" is the Windows IP stack.  The Windows IP stack sees that the destination is itself and never passes anything on to the NIC driver, thus it never gets to the NIC.

Depending on what NIC you have and how you have it configured a IP address on a local host is know up to 3 places:

1) The IP stack
2) The NIC driver
3) The NIC

Not all NIC's support knowing the IP addresses that NIC has assigned to it.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

623 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