Browse code

Merge pull request #9948 from tangicolin/improve-doc-networking

Improve networking documentation with default mac address range

James Turnbull authored on 2015/01/09 21:44:49
Showing 1 changed files
... ...
@@ -12,7 +12,9 @@ private range defined by [RFC 1918](http://tools.ietf.org/html/rfc1918)
12 12
 that are not in use on the host machine, and assigns it to `docker0`.
13 13
 Docker made the choice `172.17.42.1/16` when I started it a few minutes
14 14
 ago, for example — a 16-bit netmask providing 65,534 addresses for the
15
-host machine and its containers.
15
+host machine and its containers. The MAC address is generated using the
16
+IP address allocated to the container to avoid ARP collisions, using a
17
+range from `02:42:ac:11:00:00` to `02:42:ac:11:ff:ff`.
16 18
 
17 19
 > **Note:**
18 20
 > This document discusses advanced networking configuration