bandaoyu 2022-10-27 21:38 采纳率: 55.6%
浏览 34
已结题

ifconfig 除了列出网口信息还有一堆不知道是什么?

问题遇到的现象和发生背景

想用ifconfig查看网口信息,结果列出一堆不认识的东西.
如下图,我想用ifconfig 列出ens1f0,ens1f1... 这4个网口的信息(网口只有4个网口),结果给我列出一堆下面的内容:
我想知道,除了ens1f0,ens1f1...,列出的其他东西是什么?

用代码块功能插入代码,请勿粘贴截图
ce2c0bee66f0_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::98ab:48ff:fe3b:5f62  prefixlen 64  scopeid 0x20<link>
        ether 9a:ab:48:3b:5f:62  txqueuelen 1000  (Ethernet)
        RX packets 350307  bytes 53467781 (50.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 406159  bytes 586765734 (559.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

e13bde196596_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::342c:49ff:feeb:be40  prefixlen 64  scopeid 0x20<link>
        ether 36:2c:49:eb:be:40  txqueuelen 1000  (Ethernet)
        RX packets 560079  bytes 155883014 (148.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 750737  bytes 69741068 (66.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ebfc2b0b8e43_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::fc6c:b8ff:fe3d:170b  prefixlen 64  scopeid 0x20<link>
        ether fe:6c:b8:3d:17:0b  txqueuelen 1000  (Ethernet)
        RX packets 1115311  bytes 545683272 (520.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1361675  bytes 204085478 (194.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 34:73:79:17:26:86  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xa4b00000-a4bfffff  

eno2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 34:73:79:17:26:87  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xa4900000-a49fffff  

ens1f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::b696:91ff:fec6:9e96  prefixlen 64  scopeid 0x20<link>
        ether b4:96:91:c6:9e:96  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28571  bytes 4782509 (4.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens1f1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b4:96:91:c6:9e:97  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens2f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.255.138.96  netmask 255.255.255.0  broadcast 10.255.138.255
        inet6 fe80::527c:6fff:fe0a:8758  prefixlen 64  scopeid 0x20<link>
        ether 50:7c:6f:0a:87:58  txqueuelen 1000  (Ethernet)
        RX packets 555056871  bytes 314229697125 (292.6 GiB)
        RX errors 0  dropped 7070  overruns 0  frame 0
        TX packets 470618652  bytes 170746823443 (159.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens2f1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 50:7c:6f:0a:87:59  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

f0e34273463e_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::9032:c0ff:feeb:444a  prefixlen 64  scopeid 0x20<link>
        ether 92:32:c0:eb:44:4a  txqueuelen 1000  (Ethernet)
        RX packets 324967  bytes 68480057 (65.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 521996  bytes 39882484 (38.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

f3de4c08a7ea_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::680f:51ff:fe23:9d67  prefixlen 64  scopeid 0x20<link>
        ether 6a:0f:51:23:9d:67  txqueuelen 1000  (Ethernet)
        RX packets 4341438  bytes 556193096 (530.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5053868  bytes 9018724877 (8.3 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

f671070aaa5b_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::8c3e:15ff:fe5e:8bb  prefixlen 64  scopeid 0x20<link>
        ether 8e:3e:15:5e:08:bb  txqueuelen 1000  (Ethernet)
        RX packets 1763913  bytes 160135159 (152.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1801735  bytes 3643815963 (3.3 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

feb65af033c7_h: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet6 fe80::6cdf:f1ff:fe98:721  prefixlen 64  scopeid 0x20<link>
        ether 6e:df:f1:98:07:21  txqueuelen 1000  (Ethernet)
        RX packets 7069404  bytes 2007936915 (1.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7009435  bytes 1196780621 (1.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


  • 写回答

4条回答 默认 最新

  • 战术性白给 2022-10-31 10:06
    关注

    输入lshw -C network可查看虚拟网卡
    vim /etc/network/interfaces
    删除以下这两行(ens33为虚拟网卡名)
    auto ens33
    iface ens33 inet dhcp

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

问题事件

  • 系统已结题 12月18日
  • 已采纳回答 12月10日
  • 创建了问题 10月27日

悬赏问题

  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大