Solved

TCP/IP communication question

Posted on 2015-01-26
5
199 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
5 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now