ifconfig命令
1.ifconfig执行页面
1 root@localhost:/home/zys# ifconfig 2 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 3 inet 127.0.0.1 netmask 255.0.0.0 4 inet6 ::1 prefixlen 128 scopeid 0x10<host> 5 loop txqueuelen 0 (Local Loopback) 6 RX packets 1398633 bytes 2195165994 (2.0 GiB) 7 RX errors 0 dropped 0 overruns 0 frame 0 8 TX packets 1398633 bytes 2195165994 (2.0 GiB) 9 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 10 11 p2p0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 12 ether 66:cc:2e:d1:56:c2 txqueuelen 1000 (Ethernet) 13 RX packets 0 bytes 0 (0.0 B) 14 RX errors 0 dropped 0 overruns 0 frame 0 15 TX packets 0 bytes 0 (0.0 B) 16 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 17 18 rmnet0: flags=65<UP,RUNNING> mtu 2000 19 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) 20 RX packets 0 bytes 0 (0.0 B) 21 RX errors 0 dropped 0 overruns 0 frame 0 22 TX packets 0 bytes 0 (0.0 B) 23 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 24 25 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 26 inet 192.168.31.137 netmask 255.255.255.0 broadcast 192.168.31.255 27 inet6 fe80::66cc:2eff:fed1:56c2 prefixlen 64 scopeid 0x20<link> 28 ether 64:cc:2e:d1:56:c2 txqueuelen 1000 (Ethernet) 29 RX packets 1299316 bytes 1717026457 (1.5 GiB) 30 RX errors 0 dropped 372 overruns 0 frame 0 31 TX packets 885602 bytes 70423450 (67.1 MiB) 32 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0