Jump to content
Sign in to follow this  
skeal

[6.4.1] Missing docker networks after update

2 posts in this topic Last Reply

Recommended Posts

Hello,

 

i've updated my 6.4.0 to 6.4.1 yesterday and now i'm missing 2 of my networks in docker.

My system has one basic connection and two VLANs. But docker only can use one of the VLAN.

 

So my config:

 

eth0

eth0.10

eth0.20

 

In docker I can only choose eth0.20 for networking but some of my dockers need eth0.10 and so I cannot add these containers anymore.

How do I get my networks back to docker?

 

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        ether 02:42:b6:5a:84:89  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

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.10  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::13d4:33e1:e8:3ea6  prefixlen 64  scopeid 0x20<link>
        inet6 fd6d:8d64:af0c:1::6c  prefixlen 128  scopeid 0x0<global>
        inet6 fd6d:8d64:af0c:1:ab23:79e8:d973:ce24  prefixlen 64  scopeid 0x0<global>
        ether 7c:05:07:11:2e:5f  txqueuelen 1000  (Ethernet)
        RX packets 10419  bytes 2367366 (2.2 MiB)
        RX errors 0  dropped 728  overruns 0  frame 0
        TX packets 3029  bytes 1209863 (1.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7f00000-f7f20000

eth0.10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fd6d:8d64:af0c:10::6c  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::7e05:7ff:fe11:2e5f  prefixlen 64  scopeid 0x20<link>
        ether 7c:05:07:11:2e:5f  txqueuelen 1000  (Ethernet)
        RX packets 5971  bytes 723786 (706.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1259  bytes 981144 (958.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0.20: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.20.10  netmask 255.255.255.0  broadcast 192.168.20.255
        inet6 fe80::7e05:7ff:fe11:2e5f  prefixlen 64  scopeid 0x20<link>
        ether 7c:05:07:11:2e:5f  txqueuelen 1000  (Ethernet)
        RX packets 434  bytes 45698 (44.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 131  bytes 21225 (20.7 KiB)
        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 2  bytes 140 (140.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 140 (140.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
76a6ac6a5929        bridge              bridge              local
8da4e7f13f2d        eth0.20             macvlan             local
799ef21c5fbe        host                host                local
bd1b3457e2e2        none                null                local

Share this post


Link to post

Are both eth0.10 and eth0.20 selected for Docker, see Docker settings.

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this