Merge pull request #2231 from oscrx/patch-1

Change example networks
This commit is contained in:
Sebastiaan van Stijn 2020-01-06 15:25:53 +01:00 committed by GitHub
commit 9efca8e7b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -159,12 +159,12 @@ a single overlay network. Each of the subnetworks has 126 usable addresses.
```bash ```bash
$ docker network create -d overlay \ $ docker network create -d overlay \
--subnet=192.168.1.0/25 \ --subnet=192.168.10.0/25 \
--subnet=192.170.2.0/25 \ --subnet=192.168.20.0/25 \
--gateway=192.168.1.100 \ --gateway=192.168.10.100 \
--gateway=192.170.2.100 \ --gateway=192.168.20.100 \
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \ --aux-address="my-router=192.168.10.5" --aux-address="my-switch=192.168.10.6" \
--aux-address="my-printer=192.170.1.5" --aux-address="my-nas=192.170.1.6" \ --aux-address="my-printer=192.168.20.5" --aux-address="my-nas=192.168.20.6" \
my-multihost-network my-multihost-network
``` ```