Linux Daily Management Tips (3): Linux network-related and firewall

Source: Internet
Author: User

One, Linux network related 1. Ifconfig Viewing network card IP

The Ifconfig command is used to configure and display network parameters for network interfaces in the Linux kernel. The NIC information configured with the Ifconfig command does not exist after the machine restarts after the network card restarts. In order to keep the above configuration information in the computer forever, it is necessary to modify the network card configuration file.

[[email protected] ~]# ifconfig//Enter this command directly to view the NIC Ens33:flags=4163<up, Broadcast,running,multicast> MTU inet 192.168.204.128 netmask 255.255.255.0 broadcast 192.168.204.255 Inet6 fe80::9045:61b6:c7f7:5501 prefixlen scopeid 0x20<link> ether 00:0C:29:34:A9:BC txqueuelen 10 XX (Ethernet) Rx packets 76554 bytes 26401473 (25.1 MiB) Rx errors 0 dropped 0 overruns 0 frame 0 TX Packets 71194 Bytes 17838448 (17.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo:flags=7 3<up,loopback,running> MTU 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6:: 1 Prefixlen ScopeID 0x10

Linux daily Management tips (3): Linux network-related and firewall

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.