【ifconfig 命令用于查看的网络接口信息说明】

ifconfig 命令用于查看的网络接口信息说明

提示:本文是在Ubuntu系统上测试

网络接口信息

6:~$ ifconfig
en2s0f0: flags=4099 mtu 1500
ether f8:e2:1e:63:19:61 txqueuelen 1000 (以太网)
RX packets 100 bytes 1000 (0.0 B)
RX errors 1 dropped 1 overruns 1 frame 1
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


上述信息是ifconfig命令执行结果。

接口名称和状态

en2s0f0: flags=4099  mtu 1500
  • enp2s0f0: 网络接口的名称。这个名称遵循的是 Predictable Network Interface Names 的命名规则。

  • flags=4099: 接口的标志。

你可能感兴趣的:(编程笔记,vim,ubuntu)