Table of Contents
What does lo mean in centos
Home Operation and Maintenance CentOS What does lo mean in centos?

What does lo mean in centos?

Apr 28, 2022 pm 04:53 PM
centos

In centos, lo is the abbreviation of loopback, which means loopback interface; the loopback interface is used as a local software loopback to test the communication between the host processes and detect the network configuration of the local machine. Some applications need to call resources on the server when running, and the IP of lo can only be "127.0.0.1".

What does lo mean in centos?

The operating environment of this article: centos 7 system, Dell G3 computer.

What does lo mean in centos

In centOS7, the ifconfig command has been officially abolished, so the network card cannot be found with this command. We use ip addr in centOS to check our Internet Information.

What does lo mean in centos?

lo is the loopback interface. virbr is a virtual bridge (Virtual Bridge), and virbr0 is a virtual bridge network card. Generally, the default network card before centos6.5 is eth0, and after centos7, ensxx (xx is a number). Of course, there are also network card names that have been modified. The loopback interface is used for local software loopback testing of communication between processes on this host. To simply understand, it is used for local testing, and its inet, that is, ip, can only be 127.0.0.1.

For example, in my centos7 version, the default network card name is ens33, and in the centos6.5 version, the default network card name is eth0.

In the virtual machine, some network card names are eth1 or eth2, indicating that the virtual image is copied. Since the network card eth0 in the physical machine automatically recognizes the MAC address of the physical machine, it runs in the virtual machine. The network card name will automatically become eth1. If you copy this virtual image and run it on another computer, the network card name will become eth2. But you can also modify the ifcfg-eth0 configuration file, bind the MAC address, delete the /etc/udev/rules.d/70-persistent-net.rules configuration file, and restart to take effect.

lo has two main functions:

The first is to test the network configuration of this machine. If it can PING 127.0.0.1, it means that there is no problem with the network card and IP protocol installation of this machine;

Another function is that some SERVER/CLIENT applications need to call resources on the server when running

Recommended tutorial: "centos tutorial"

The above is the detailed content of What does lo mean in centos?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to input Chinese in centos How to input Chinese in centos Apr 07, 2024 pm 08:21 PM

How to input Chinese in centos

How to read USB disk files in centos7 How to read USB disk files in centos7 Apr 07, 2024 pm 08:18 PM

How to read USB disk files in centos7

How to enter root permissions in centos7 How to enter root permissions in centos7 Apr 02, 2024 pm 08:57 PM

How to enter root permissions in centos7

SCP usage tips-recursively exclude files SCP usage tips-recursively exclude files Apr 22, 2024 am 09:04 AM

SCP usage tips-recursively exclude files

What to do if you forget your password to log in to centos What to do if you forget your password to log in to centos Apr 07, 2024 pm 07:33 PM

What to do if you forget your password to log in to centos

What should I do if I forget my centos username and password? What should I do if I forget my centos username and password? Apr 02, 2024 pm 08:54 PM

What should I do if I forget my centos username and password?

How to enable root permissions in centos7 How to enable root permissions in centos7 Apr 07, 2024 pm 08:03 PM

How to enable root permissions in centos7

What should I do if I forget my centos7 password? What should I do if I forget my centos7 password? Apr 02, 2024 pm 08:51 PM

What should I do if I forget my centos7 password?

See all articles