Add mroe support for macvlan

This commit is contained in:
Colin Hebert
2023-01-04 10:23:41 +01:00
parent 90a05f0ec8
commit 7817dc2ce1
3 changed files with 7 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ docker network create -d macvlan -o parent=bond0 --subnet=192.168.0.0/23 --gatew
ip link add macvlan0 link bond0 type macvlan mode bridge
ip addr add 192.168.1.1/32 dev macvlan0
ip link set macvlan0 up
ip route add 192.168.1.0/24 dev macvlan0
```
Run portainer once