Update docs for default -iprange

This commit is contained in:
Bryan Boreham committed 2015-06-11 18:01:28 +01:00
1 parent 328e63828e
commit 43d42e6f15
1 file changed
+6 -4
+6 -4
View File
@@ -5,9 +5,11 @@ layout: default
# Automatic IP Address Management # Automatic IP Address Management
Weave can automatically assign unique IP addresses to each container By default, weave automatically assigns unique IP addresses to each
across the network. To make this work, weave must be told on startup container across the network. To make this work, weave must know on
what range of addresses to allocate from, for example: startup what range of addresses to allocate from - if you don't
specify a range then it will use 10.128.0.0/9, but you can choose your
own range, for example:
host1# weave launch -iprange 10.2.0.0/16 host1# weave launch -iprange 10.2.0.0/16
@@ -55,7 +57,7 @@ then you can run all containers in the 10.9.0.0/16 subnet, with IPAM
using the lower half and leaving the upper half free for manual using the lower half and leaving the upper half free for manual
allocation. allocation.
The subnet parameters are written in [CIDR The range and subnet parameters are written in [CIDR
notation](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
format - in this example "/24" means the first 24 bits of the address format - in this example "/24" means the first 24 bits of the address
form the network address and the allocator is to allocate container form the network address and the allocator is to allocate container