这是命令的输出ifconfig -a
:
ifconfig -a
enp0s20f0u2 Link encap:Ethernet HWaddr 72:92:f8:ea:5f:b5
inet addr:192.168.42.80 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::4b19:efed:e6a2:c870/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:480 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1547 (1.5 KB) TX bytes:63021 (63.0 KB)
enp2s0 Link encap:Ethernet HWaddr 70:5a:0f:c0:1c:1a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1438 (1.4 KB) TX bytes:1438 (1.4 KB)
wlp3s0 Link encap:Ethernet HWaddr 68:14:01:17:3a:b9
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)