Network - Loopback IP address (virtual IP, lo or lo0')

Map Of Internet 1973

About

The loopback IP address is the address used to access itself.

  • IPv4 designs 127.0.0.1 as the loopback address with the 255.0.0.0 subnet mask .
  • IPv6 designs ::1.

A loopback interface is also known as a virtual IP, which does not associate with hardware interface.

  • On Linux systems, the loopback interface is commonly called lo or lo0.
  • The corresponding hostname for this interface is called localhost.

Usage

The loopback address is used to test network software:

Example

A good example of this is to access the web server running on itself by using http://127.0.0.1 or http://localhost.

A loopback adapter is required then if:

  • You are installing on a DHCP computer, or
  • You are installing on a non-networked computer and plan to connect the computer to a network after installation.

Dhcp

Dynamic Host Configuration Protocol (DHCP) assigns dynamic IP addresses on a network. Dynamic addressing allows a computer to have a different IP address each time it connects to the network. In some cases, the IP address can change while the computer is still connected. You can have a mixture of static and dynamic IP addressing in a DHCP system.

In a DHCP setup, the software tracks IP addresses, which simplifies network administration. This lets you add a new computer to the network without having to manually assign that computer a unique IP address. However, before installing an application onto a computer that uses the DHCP protocol, you need to install a loopback adapter to assign a local IP address to that computer.

Documentation / Reference





Discover More
Linux - Loopback IP configuration

To configure the host to resolve host names to the loopback IP, the /etc/hosts file must be modified to contain the following entries: After doing so, you can check that the host name resolves to the...
Map Of Internet 1973
What is Address binding ?

binding is the fact to choose on which IP address(es) a process is listening (responding) to request. If the process is bound only to the loopback ip 127.0.0.1, only clients running on the same machine...
Public Vs Private Ip Address
What is a IP Address? A Unique network IDentifier

An IP address is: the address of the Internet protocol (IP) that identifies: a single interface with a unicast address or set of interfaces with a multicast address With Ipv4: where:...
Advanced Network Settings
Windows - Installing a Loopback Adapter

Loopback IP installation on Windows. When you install a loopback adapter, the loopback adapter assigns the loopback IP address for your computer. After you install a loopback adapter on your computer,...



Share this page:
Follow us:
Task Runner