File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
docs/reference/commandline Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ a single overlay network. Each of the subnetworks has 126 usable addresses.
159159
160160``` bash
161161$ docker network create -d overlay \
162- --subnet=192.168.1 .0/25 \
163- --subnet=192.170.2 .0/25 \
164- --gateway=192.168.1 .100 \
165- --gateway=192.170.2 .100 \
166- --aux-address=" my-router=192.168.1 .5" --aux-address=" my-switch=192.168.1 .6" \
167- --aux-address=" my-printer=192.170.1 .5" --aux-address=" my-nas=192.170.1 .6" \
162+ --subnet=192.168.10 .0/25 \
163+ --subnet=192.168.20 .0/25 \
164+ --gateway=192.168.10 .100 \
165+ --gateway=192.168.20 .100 \
166+ --aux-address=" my-router=192.168.10 .5" --aux-address=" my-switch=192.168.10 .6" \
167+ --aux-address=" my-printer=192.168.20 .5" --aux-address=" my-nas=192.168.20 .6" \
168168 my-multihost-network
169169```
170170
You can’t perform that action at this time.
0 commit comments