Created
December 6, 2022 20:32
-
-
Save piotrkochan/d70a023d8ee95f8123502ee2abf904c0 to your computer and use it in GitHub Desktop.
Synology - Docker Macvlan network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker network create -d macvlan \ | |
--subnet=192.168.30.0/24 \ | |
--ip-range=192.168.30.192/28 \ | |
--gateway=192.168.30.1 -o parent=ovs_eth1 \ | |
mymacvlan0 | |
docker network connect mymacvlan0 mycontainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment