Skip to content

Instantly share code, notes, and snippets.

@piotrkochan
Created December 6, 2022 20:32
Show Gist options
  • Save piotrkochan/d70a023d8ee95f8123502ee2abf904c0 to your computer and use it in GitHub Desktop.
Save piotrkochan/d70a023d8ee95f8123502ee2abf904c0 to your computer and use it in GitHub Desktop.
Synology - Docker Macvlan network
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