嘟嘟社区

良心云网络这么复杂?看不懂


  1. docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  2.         inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
  3.         inet6 fe80::42:e1ff:fe15:9972  prefixlen 64  scopeid 0x20<link>
  4.         ether 02:42:e1:15:99:72  txqueuelen 0  (Ethernet)
  5.         RX packets 735  bytes 57431 (56.0 KiB)
  6.         RX errors 0  dropped 0  overruns 0  frame 0
  7.         TX packets 585  bytes 186654 (182.2 KiB)
  8.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  9. eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  10.         inet 10.0.16.5  netmask 255.255.252.0  broadcast 10.0.19.255
  11.         inet6 fe80::5054:ff:fe59:8b67  prefixlen 64  scopeid 0x20<link>
  12.         ether 52:54:00:59:8b:67  txqueuelen 1000  (Ethernet)
  13.         RX packets 460692  bytes 201988907 (192.6 MiB)
  14.         RX errors 0  dropped 0  overruns 0  frame 0
  15.         TX packets 612378  bytes 82801570 (78.9 MiB)
  16.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  17. lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  18.         inet 127.0.0.1  netmask 255.0.0.0
  19.         inet6 ::1  prefixlen 128  scopeid 0x10<host>
  20.         loop  txqueuelen 1000  (Local Loopback)
  21.         RX packets 50  bytes 5709 (5.5 KiB)
  22.         RX errors 0  dropped 0  overruns 0  frame 0
  23.         TX packets 50  bytes 5709 (5.5 KiB)
  24.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  25. veth6cfa59e: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  26.         inet6 fe80::cc15:63ff:fea9:bbd9  prefixlen 64  scopeid 0x20<link>
  27.         ether ce:15:63:a9:bb:d9  txqueuelen 0  (Ethernet)
  28.         RX packets 684  bytes 65015 (63.4 KiB)
  29.         RX errors 0  dropped 0  overruns 0  frame 0
  30.         TX packets 530  bytes 182226 (177.9 KiB)
  31.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  32. vethaef0468: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  33.         inet6 fe80::e007:1dff:fe1b:8713  prefixlen 64  scopeid 0x20<link>
  34.         ether e2:07:1d:1b:87:13  txqueuelen 0  (Ethernet)
  35.         RX packets 51  bytes 2706 (2.6 KiB)
  36.         RX errors 0  dropped 0  overruns 0  frame 0
  37.         TX packets 59  bytes 3942 (3.8 KiB)
  38.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  39. virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
  40.         inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
  41.         ether 52:54:00:eb:0e:37  txqueuelen 1000  (Ethernet)
  42.         RX packets 0  bytes 0 (0.0 B)
  43.         RX errors 0  dropped 0  overruns 0  frame 0
  44.         TX packets 0  bytes 0 (0.0 B)
  45.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

复制代码

eth0 就够了….别的v6和虚拟网