[root@k8s-master ~]# ifconfig
datapath: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::7869:b3ff:fe6a:3bed prefixlen 64 scopeid 0x20<link>
ether 7a:69:b3:6a:3b:ed txqueuelen 1000 (Ethernet)
RX packets 114 bytes 12776 (12.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:bfff:fee4:b497 prefixlen 64 scopeid 0x20<link>
ether 02:42:bf:e4:b4:97 txqueuelen 0 (Ethernet)
RX packets 139067 bytes 10972508 (10.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 139082 bytes 30232813 (28.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.216 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e009:6693:3618:28ae prefixlen 64 scopeid 0x20<link>
inet6 fe80::d604:e8a6:a7fc:1f4d prefixlen 64 scopeid 0x20<link>
inet6 2409:8a34:2064:8a0:6e56:686b:502f:c965 prefixlen 64 scopeid 0x0<global>
ether 00:0c:29:bd:e1:e5 txqueuelen 1000 (Ethernet)
RX packets 293773 bytes 261275878 (249.1 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 241345 bytes 96929091 (92.4 MiB)
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
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6970270 bytes 1255833645 (1.1 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6970270 bytes 1255833645 (1.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tunl0: flags=193<UP,RUNNING,NOARP> mtu 1480
inet 10.244.235.192 netmask 255.255.255.255
tunnel txqueuelen 1000 (IPIP Tunnel)
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
veth5a6b801: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::648f:ff:fe68:61f2 prefixlen 64 scopeid 0x20<link>
ether 66:8f:00:68:61:f2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth92fa861: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::7850:dff:fe1f:5690 prefixlen 64 scopeid 0x20<link>
ether 7a:50:0d:1f:56:90 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth961c0e9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::24b7:12ff:fea2:88d9 prefixlen 64 scopeid 0x20<link>
ether 26:b7:12:a2:88:d9 txqueuelen 0 (Ethernet)
RX packets 54781 bytes 5197184 (4.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 54908 bytes 5041299 (4.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethb1a621d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::c8d6:74ff:fe88:7efc prefixlen 64 scopeid 0x20<link>
ether ca:d6:74:88:7e:fc txqueuelen 0 (Ethernet)
RX packets 54693 bytes 5190396 (4.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 55061 bytes 5051126 (4.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethc884115: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ac8d:c7ff:fe18:db59 prefixlen 64 scopeid 0x20<link>
ether ae:8d:c7:18:db:59 txqueuelen 0 (Ethernet)
RX packets 29593 bytes 2531866 (2.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 29221 bytes 20151309 (19.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethwe-bridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::84ac:abff:fe49:2023 prefixlen 64 scopeid 0x20<link>
ether 86:ac:ab:49:20:23 txqueuelen 0 (Ethernet)
RX packets 3051 bytes 180519 (176.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3066 bytes 183770 (179.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethwe-datapath: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::502e:c8ff:fe81:c808 prefixlen 64 scopeid 0x20<link>
ether 52:2e:c8:81:c8:08 txqueuelen 0 (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
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:a4:b4:ab 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
vxlan-6784: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65535
inet6 fe80::c083:dcff:fe90:d7b prefixlen 64 scopeid 0x20<link>
ether c2:83:dc:90:0d:7b txqueuelen 1000 (Ethernet)
RX packets 8094 bytes 7087417 (6.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8095 bytes 7087585 (6.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
weave: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet 10.32.0.1 netmask 255.240.0.0 broadcast 10.47.255.255
inet6 fe80::b05a:16ff:fe8c:dfd9 prefixlen 64 scopeid 0x20<link>
ether b2:5a:16:8c:df:d9 txqueuelen 1000 (Ethernet)
RX packets 3048 bytes 137581 (134.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3061 bytes 183324 (179.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@k8s-master ~]#
[root@k8s-master ~]#
[root@k8s-master ~]# docker network create --subnet=172.18.0.0/16 network-docker
47c6f8e1ce0b13252ee13512032dcb8758a106fc4902ea7e3fc97709eafc17ba
[root@k8s-master ~]#
[root@k8s-master ~]#
[root@k8s-master ~]# ifconfig
br-47c6f8e1ce0b: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
ether 02:42:49:57:82:c0 txqueuelen 0 (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
datapath: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::7869:b3ff:fe6a:3bed prefixlen 64 scopeid 0x20<link>
ether 7a:69:b3:6a:3b:ed txqueuelen 1000 (Ethernet)
RX packets 114 bytes 12776 (12.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:bfff:fee4:b497 prefixlen 64 scopeid 0x20<link>
ether 02:42:bf:e4:b4:97 txqueuelen 0 (Ethernet)
RX packets 139322 bytes 10992259 (10.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 139333 bytes 30295724 (28.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.216 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e009:6693:3618:28ae prefixlen 64 scopeid 0x20<link>
inet6 fe80::d604:e8a6:a7fc:1f4d prefixlen 64 scopeid 0x20<link>
inet6 2409:8a34:2064:8a0:6e56:686b:502f:c965 prefixlen 64 scopeid 0x0<global>
ether 00:0c:29:bd:e1:e5 txqueuelen 1000 (Ethernet)
RX packets 293990 bytes 261312927 (249.2 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 241562 bytes 97060858 (92.5 MiB)
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
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6982628 bytes 1258046941 (1.1 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6982628 bytes 1258046941 (1.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tunl0: flags=193<UP,RUNNING,NOARP> mtu 1480
inet 10.244.235.192 netmask 255.255.255.255
tunnel txqueuelen 1000 (IPIP Tunnel)
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
veth5a6b801: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::648f:ff:fe68:61f2 prefixlen 64 scopeid 0x20<link>
ether 66:8f:00:68:61:f2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth92fa861: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::7850:dff:fe1f:5690 prefixlen 64 scopeid 0x20<link>
ether 7a:50:0d:1f:56:90 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 656 (656.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth961c0e9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::24b7:12ff:fea2:88d9 prefixlen 64 scopeid 0x20<link>
ether 26:b7:12:a2:88:d9 txqueuelen 0 (Ethernet)
RX packets 54875 bytes 5206037 (4.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 55002 bytes 5049854 (4.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethb1a621d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::c8d6:74ff:fe88:7efc prefixlen 64 scopeid 0x20<link>
ether ca:d6:74:88:7e:fc txqueuelen 0 (Ethernet)
RX packets 54793 bytes 5199802 (4.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 55158 bytes 5060160 (4.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethc884115: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::ac8d:c7ff:fe18:db59 prefixlen 64 scopeid 0x20<link>
ether ae:8d:c7:18:db:59 txqueuelen 0 (Ethernet)
RX packets 29654 bytes 2536928 (2.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 29281 bytes 20196631 (19.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethwe-bridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::84ac:abff:fe49:2023 prefixlen 64 scopeid 0x20<link>
ether 86:ac:ab:49:20:23 txqueuelen 0 (Ethernet)
RX packets 3059 bytes 180989 (176.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3074 bytes 184240 (179.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethwe-datapath: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet6 fe80::502e:c8ff:fe81:c808 prefixlen 64 scopeid 0x20<link>
ether 52:2e:c8:81:c8:08 txqueuelen 0 (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
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:a4:b4:ab 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
vxlan-6784: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65535
inet6 fe80::c083:dcff:fe90:d7b prefixlen 64 scopeid 0x20<link>
ether c2:83:dc:90:0d:7b txqueuelen 1000 (Ethernet)
RX packets 8111 bytes 7100159 (6.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8112 bytes 7100327 (6.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
weave: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1376
inet 10.32.0.1 netmask 255.240.0.0 broadcast 10.47.255.255
inet6 fe80::b05a:16ff:fe8c:dfd9 prefixlen 64 scopeid 0x20<link>
ether b2:5a:16:8c:df:d9 txqueuelen 1000 (Ethernet)
RX packets 3056 bytes 137939 (134.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3069 bytes 183794 (179.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@k8s-master ~]#
docker CentOS 7.9_WinkeyTseng_YongTai的博客-CSDN博客
docker centos install_WinkeyTseng_YongTai的博客-CSDN博客
docker network create_WinkeyTseng_YongTai的博客-CSDN博客
docker centos ip setting_WinkeyTseng_YongTai的博客-CSDN博客