Skip to content

Commit

Permalink
Merge pull request #1380 from weaveworks/598-update-docs
Browse files Browse the repository at this point in the history
Update docs for mixed manual and automatic IP allocation

Missed from #1200.
  • Loading branch information
rade committed Sep 3, 2015
2 parents 3097565 + 5b437d2 commit c71d9b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions site/features.md
Expand Up @@ -112,11 +112,11 @@ Similarly, in the container on $HOST2...
round-trip min/avg/max/stddev = 1.034/1.034/1.034/0.000 ms

The IP addresses and netmasks can be anything you like, but make sure
they don't conflict with any IP ranges in use on the hosts (including
those delegated to weave's [automatic IP address allocator](ipam.html)) or
they don't conflict with any IP ranges in use on the hosts or
IP addresses of external services the hosts or containers need to
connect to. The same IP range must be used everywhere, and the
individual IP addresses must, of course, be unique.
connect to. The individual IP addresses given to containers must, of
course, be unique - if you pick an address that the automatic
allocator has already assigned you will receive a warning.

### <a name="naming-and-discovery"></a>Naming and discovery

Expand Down
10 changes: 7 additions & 3 deletions site/ipam.md
Expand Up @@ -159,9 +159,13 @@ symbolically with `net:default`.

## <a name="manual"></a>Mixing automatic and manual allocation

If you want to start containers with a mixture of
automatically-allocated addresses and manually-chosen addresses, *and
have the containers communicate with each other*, you can choose a
You can start containers with a mixture of automatically-allocated
addresses and manually-chosen addresses in the same range, but you may
find that the automatic allocator has already reserved a specific
address that you wanted.

To reserve a range for manual allocation in the same subnet as the
automatic allocator, you can specify an
`--ipalloc-range` that is smaller than `--ip-default-subnet`, For
example, if you launch weave with:

Expand Down

0 comments on commit c71d9b1

Please sign in to comment.