Linux under ifconfig command output detailed __linux

Source: Internet
Author: User
Linux under the general use of Ifconfig to obtain network interface device information, the input is as follows:
Eth0 Link encap:ethernet hwaddr 52:54:00:fa:9e:91
inet addr:192.168.129.46 bcast:192.168.129.255 mask:255.255.255.0
Inet6 ADDR:FE80::5054:FF:FEFA:9E91/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:96430 errors:0 dropped:0 overruns:0 frame:0
TX packets:10274 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19839082 (18.9 MiB) TX bytes:733188 (716.0 KiB)
Interrupt:11

Lo Link encap:local Loopback
inet addr:127.0.0.1 mask:255.0.0.0
Inet6 addr::: 1/128 scope:host
Up loopback RUNNING mtu:65536 metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 b) TX bytes:960 (960.0 b)
The description is as follows:
Eth0 represents the first network card, in which hwaddr represents the physical address of the network card, you can see the physical address of the current network card (MAC address) is 52:54:00:fa:9e:91

Inet addr is used to represent the IP address of the network card, the IP address of which is 192.168.129.46, broadcast address bcast:192.168.129.255, mask address mask:255.255.255.0

Lo is the host's return-bad address, which is typically used to test a network program, but does not want the local area network or extranet users to be able to view, only on this host to run and view the network interface used. For example, the HTTPD server is designated to the bad address, in the browser input 127.0.0.1 will be able to see your Web site. But just as you can see, other hosts or users of the local area network do not know.

First line: Connection type: Ethernet (Ethernet) HWADDR (Hardware MAC address)

Second line: Network card IP address, subnet, mask

Third line: Up (on behalf of the NIC Open) RUNNING (network card on behalf of the network cable is connected) multicast (support multicast) mtu:1500 (Maximum transmission Unit): 1500 bytes

Line fourth to fifth: Receive and send packet statistics

Line seventh: Receive and send data byte count statistics.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.