![netstat show interface errors netstat show interface errors](https://www.adminschoice.com/wp-content/uploads/2018/05/netstat.png)
![netstat show interface errors netstat show interface errors](https://devblogs.microsoft.com/wp-content/uploads/sites/29/2019/02/HSG-1-17-14-01.png)
It is an effective tool to understand the network status and eliminate network service faults. Through the netstat command, you can view the network connection status, routing table, interface statistics and other information of the current operating system. If combined with the "- n" option, the address in the routing record can be displayed in digital form, which can skip the process of resolving the host name and speed up the execution when there are many routing table entries.Ĥ.The Iface column corresponds to the network interface that sends the data.The Gateway column corresponds to the address of the next hop router.The Destination column corresponds to the address of the target network segment.Method ~]# Host name / / view the original host ~]# Host name WWW / / set a new host ~]# Host name / / confirm the new host ~]# bash / / enable a new Shell session to see the ~]#hostnameīy amendment/etc/hostname To change the host name of, if you want it to take effect, you need to restart Linux System. You can view the host name of the current host by using the host name command. If the host name is not configured properly, the program function may fail. In Linux operating system, a considerable number of network services will identify the host by the host name. The number and flow of data packets received by RX through the network interface.The number and flow of data packets sent by "TX" through the network interface.ether: indicates the physical address (MAC address) of the network interface.Broadcast: the broadcast address of the network where the network interface is located.netmask: represents the subnet mask of the network interface.inet: IP address of the network interface.The loopback address is usually only used for network testing on the local machine. lo: "loopback" network interface, "lo" is the abbreviation of "loopback", it does not represent the real network interface, but a virtual network interface, its IP address is "127.0.0.1" by default."en" in "ens33" is the abbreviation of "EtherNet", which means that the network card type is EtherNet. Ens33: the name of the first EtherNet card.Mtu 65536 qdisc noqueue state UNKNOWN qlen 1 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Netstat show interface errors install#
Note: if there is no ifconfig command, you need to install net tools package through yum before you have ifconfig command. In Linux operating system, you can use ifconfig command to view the address configuration information of network interface. The network interface card (NIC) of the host is usually called network interface.
![netstat show interface errors netstat show interface errors](https://www.soydemac.com/wp-content/uploads/2018/02/utilidad-red.jpg)
Enable and disable network interface configurationġ, View the web 1.
![netstat show interface errors netstat show interface errors](https://sysaix.com/wp-content/uploads/2018/03/netstat.png)
Add and delete static route and default route records Modify the address and status of network card Explanation of temporary configuration and permanent configuration 3, Using network configuration commands.