mirror of https://github.com/docker/docs.git
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:
parent
72f7f2481c
commit
c7e5c062fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue