From c7e5c062fbfdadf83280ebdd4e0f1390b3a8f0a2 Mon Sep 17 00:00:00 2001 From: Bruno Date: Sun, 10 Jan 2021 09:32:16 +0000 Subject: [PATCH] Fix ipvlan Was setting `ipvlan`, since home router didn't support `macvlan`, and only started working when I noticed elsewhere that I needed to add the `-o parent=eth0` for `ipvlan` setup as it was set for `macvlan`. --- network/macvlan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/macvlan.md b/network/macvlan.md index 19913176b9..0ec4643b6d 100644 --- a/network/macvlan.md +++ b/network/macvlan.md @@ -89,7 +89,7 @@ $ docker network create -d ipvlan \ --subnet=192.168.212.0/24 \ --gateway=192.168.210.254 \ --gateway=192.168.212.254 \ - -o ipvlan_mode=l2 ipvlan210 + -o ipvlan_mode=l2 -o parent=eth0 ipvlan210 ``` ## Use IPv6