Docker Community Forums

Share and learn in the Docker community.

MacVlan L2 without subnet or Ignore Overlap


(Steinvinicius) #1

I want to create several networks using the same subnet, but in different vlans. Network wise, it is possible and I wont have any overlapping problems because there wont be any routing between the vlans. But when I try to use it on docker, doesn’t seem possible. Is there a way to create these networks using the same subnet address in different vlans or create network macvlans without specifying the network subnet address?

Thanks

Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:09:54 2018
OS/Arch: linux/amd64
Experimental: false

Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:07:56 2018
OS/Arch: linux/amd64
Experimental: false