mirror of
https://github.com/docker/docs.git
synced 2026-11-04 18:26:54 +00:00
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`.
This commit is contained in:
1 parent
72f7f2481c
commit
c7e5c062fb
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user