Linux ifconfig

来自姬鸿昌的知识库
Jihongchang讨论 | 贡献2023年2月11日 (六) 10:19的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索
[root@iZ8vbcjkeqbrdmmbt23vboZ ~]# ifconfig
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:19:66:51:43  txqueuelen 0  (Ethernet)
        RX packets 2000353  bytes 1752226525 (1.6 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2146262  bytes 1030199462 (982.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.26.92.162  netmask 255.255.240.0  broadcast 172.26.95.255
        ether 00:16:3e:14:2d:ac  txqueuelen 1000  (Ethernet)
        RX packets 18249823  bytes 5534789430 (5.1 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17177583  bytes 14146937215 (13.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 255  bytes 88531 (86.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 255  bytes 88531 (86.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth796eacc: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 2a:af:ea:37:8e:cf  txqueuelen 0  (Ethernet)
        RX packets 38018930  bytes 111407699178 (103.7 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 37747658  bytes 7068885542 (6.5 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethb9d0457: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether fe:ab:a2:38:9c:23  txqueuelen 0  (Ethernet)
        RX packets 5919234  bytes 1289361311 (1.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5970363  bytes 14344223447 (13.3 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0