- 论坛徽章:
- 0
|
[root@localhost ~]# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 154.211.6.27 netmask 255.255.255.0 broadcast 154.211.6.255
inet6 fe80::225:90ff:fed4:49f4 prefixlen 64 scopeid 0x20<link>
ether 00:25:90:d4:49:f4 txqueuelen 1000 (Ethernet)
RX packets 121820519 bytes 9712606298 (9.0 GiB)
RX errors 0 dropped 326207 overruns 0 frame 0
TX packets 1403786 bytes 99842523 (95.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xdf920000-df93ffff
eno2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:25:90:d4:49:f5 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 0xdf900000-df91ffff
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2721738 bytes 1066069911 (1016.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2721738 bytes 1066069911 (1016.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
如果希望显示inet addr项,如何应该操作?
|
|