Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of the Microsoft Loopback Adapter?

Just as the question says, what is the Microsoft Loopback Adapter, and as a bonus, what scenerios as a developer would it be useful? I've noticed it's been required when installing a couple of applications to my machine, but aside from guessing, I've never have had a sturdy understanding of it's functionality.

I've read a couple of articles online, but nothing really made me "get it". While I don't need a hugely complex answer, a little explaination would be very useful.

Thanks! George

like image 693
George Johnston Avatar asked Jan 07 '10 15:01

George Johnston


People also ask

What is Microsoft loopback adapter used for?

A loopback adapter is required if you are installing on a non-networked computer to connect the computer to a network after the installation. When you install a loopback adapter, the loopback adapter assigns a local IP address for your computer.

What is Microsoft loopback?

The loopback is a dummy network driver, which can have real network protocols bound to it. This allows the software to install properly, even though there isn't a real network card installed in the machine.

How do I use a loopback adapter on my computer?

All you have to do is to simply plug the Gigabit RJ45 loopback into the jack that you want to test or the one you are suspicious about. If the link LED on your switch is active, it means that the connection is operating perfectly. The RJ45 loopback cable will negate the necessity to carry a bulky network hub around.

How do I use the Microsoft km-test loopback adapter?

Select Microsoft as the manufacturer, select Microsoft Loopback Adapter as the adapter (for Server 2012 and newer OS the adapter will be called Microsoft KM-Test Loopback Adaptor), then click Next. Select Next to confirm the installation. Select Finish to complete the installation.


2 Answers

When sending messages to 127.0.0.1 (or the localhost) the internal network driver typically handles this by shortcutting a few steps.

If you have a networksniffer/protocol analyzer like wireshark, it can not see these shortcutted packets.

By using a loopback adapter, the messages get send much further through the stack, enabling programs like wireshark to capture the packets (and enabling you to analyze the packets)

like image 191
Toad Avatar answered Oct 04 '22 03:10

Toad


Well, the best answer I can give you is a few links. http://en.wikipedia.org/wiki/Loopback The key sentence here is

"Any traffic that a computer program sends to the loopback interface is immediately received on the same interface."

http://www.juniper.net/techpubs/software/erx/erx50x/swconfig-system-basics/html/system-mgmt15.html This may be a little more obscure if you don't know networking well.

Basically, it's a fake network interface, useful for tests and stability. In practice, most likely something you'll never have to worry about (or you'd already know about it!)

like image 27
Trevoke Avatar answered Oct 04 '22 04:10

Trevoke