•        OS : openKylin-0.7.5-x86_64
  •        blog : 师万物

ifconfig 查看网络设备的配置信息

sww@sww:~$ ifconfig 
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 128.128.0.1  netmask 255.255.0.0  broadcast 128.128.255.255
        ether 02:42:56:3e:80:1f  txqueuelen 0  (以太网)
        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

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.30  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::37c0:8470:f4cd:776b  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:28:1e:b7  txqueuelen 1000  (以太网)
        RX packets 3316  bytes 562963 (562.9 KB)
        RX errors 1  dropped 1  overruns 0  frame 0
        TX packets 1449  bytes 126493 (126.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  base 0x2000  

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  (本地环回)
        RX packets 190  bytes 15248 (15.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 190  bytes 15248 (15.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


学习资源


感恩曾经帮助过 师万物 的同学们。