From 4c57a90da6a15e7425310f482f39350c8ec85256 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Wed, 23 Sep 2015 22:11:25 +0200 Subject: [PATCH] update ptp docs to reflect changes in plugin --- ptp.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ptp.md b/ptp.md index a3270bcf..e7f2ffe7 100644 --- a/ptp.md +++ b/ptp.md @@ -3,10 +3,8 @@ ## Overview The ptp plugin creates a point-to-point link between a container and the host by using a veth device. One end of the veth pair is placed inside a container and the other end resides on the host. -Both ends receive an IP address out of a /31 range. -The IP of the host end becomes the gateway address inside the container. - -Because ptp plugin requires a pair of IP addresses for each container, it should be used in conjunction with host-local-ptp IPAM plugin. +The host-local IPAM plugin can be used to allocate an IP address to the container. +The traffic of the container interface will be routed through the interface of the host. ## Example network configuration ``` @@ -14,7 +12,7 @@ Because ptp plugin requires a pair of IP addresses for each container, it should "name": "mynet", "type": "ptp", "ipam": { - "type": "host-local-ptp", + "type": "host-local", "subnet": "10.1.1.0/24" } }