Jump to content

IPVLAN doesn't work with br0 interface


lixe

Recommended Posts

I finally switched from macvlan to ipvlan. My VLAN networks (br0.x) are working fine. However, I can't get the br0 interface to work. I tried both through docker settings (switch macvlan to ipvlan) and with the command:

 

docker network create -d ipvlan \
    --subnet=x.y.z.0/24 \
    --gateway=x.y.z.1 \
    -o parent=br0 br0-net

 

But when I start a container, I always get the error message "server error". The error persists even if I recreate the container.

 

Since my br0 network is actually also a VLAN, but arrives untagged, I have now set it up as a VLAN and put the br0 interface on an "empty" PVID. The only problem with this solution is that I can no longer use containers that are configured as bridges.

 

Anyone have any idea where the error could be?

Link to comment

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.

×
×
  • Create New...