Score:0

Docker macvlan with second interface

im flag

I currently have two NICs ens192 10.0.0.0/24 and ens224 10.10.0.0/24. Currently docker is using ens192. I have a few containers that I would like to use ens224 so their traffic would be routed through a different gateway.

I have attempted using macvlan using the 10.10.0.0/24 subnet with the parent interface set as ens224. I then attach it to the container but am unable access anything on that subnet.

I have also attempted this with ens192 and get the same results.

Maybe this is not possible or I am going about it the wrong way. Any help would be appreciated.

OS is OpenMediaVault on Vmware ESXI.

This is the command I use to create the macvlan network.

docker network create -d macvlan -o parent=ens224 --subnet 10.10.0.0/24 --gateway 10.10.0.1 --ip-range 10.10.0.200/27 mymacvlan
John Greene avatar
cn flag
Please include MACVLAN configuration file.
in flag
Did you manage to solve this? I'm on the same boat.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.