Information about the common command ifconfig in Linux

Reading guide: This blog garden is mainly used to introduce ifconfig commands

1. View all network interfaces of linux: ifconfig -a [This command is used to display the information of all network interfaces in linux, regardless of whether it is activated or not, to judge the activation, you can use ping to see if it can ping the same]

2. View the network interface activated in linux: ifconfig [display the information of the currently activated network interface]

3. An introduction to the information that appears after using the ifconfig command:

4. Naming rules for network cards in linux:

eth0 is the first Ethernet card, eth1 is the second Ethernet card, and io is the return interface.

 

 

 

Note: Please refer to the following article: http://codingstandards.iteye.com/blog/1130135/

 

Please use your mobile phone to "scan" x

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324931810&siteId=291194637