From 93f83eb832ec99c42e9e00ab63e3dfba041db0be Mon Sep 17 00:00:00 2001 From: JimGalasyn Date: Mon, 27 Mar 2017 15:33:31 -0700 Subject: [PATCH] Fix bridge image --- engine/userguide/networking/get-started-macvlan.md | 2 +- engine/userguide/networking/images/macvlan_bridge_simple.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/userguide/networking/get-started-macvlan.md b/engine/userguide/networking/get-started-macvlan.md index c2f7033d619..6df38cbbd09 100644 --- a/engine/userguide/networking/get-started-macvlan.md +++ b/engine/userguide/networking/get-started-macvlan.md @@ -39,7 +39,7 @@ Macvlan Bridge mode has a unique MAC address per container used to track MAC to In the following example, `eth0` on the docker host has an IP on the `172.16.86.0/24` network and a default gateway of `172.16.86.1`. The gateway is an external router with an address of `172.16.86.1`. An IP address is not required on the Docker host interface `eth0` in `bridge` mode, it merely needs to be on the proper upstream network to get forwarded by a network switch or network router. -![Simple Macvlan Bridge Mode Example](images/macvlan_bridge_simple.png) +![Simple Macvlan Bridge Mode Example](images/macvlan_bridge_simple.svg) **Note** For Macvlan bridge mode the subnet values need to match the NIC's interface of the Docker host. For example, Use the same subnet and gateway of the Docker host ethernet interface that is specified by the `-o parent=` option. diff --git a/engine/userguide/networking/images/macvlan_bridge_simple.svg b/engine/userguide/networking/images/macvlan_bridge_simple.svg index bce931f0002..edc5842fdc9 100644 --- a/engine/userguide/networking/images/macvlan_bridge_simple.svg +++ b/engine/userguide/networking/images/macvlan_bridge_simple.svg @@ -1 +1 @@ -container1172.16.86.2/24container2172.16.86.3/24pub_net (eth0)DockerHostdockernetworkcreate -dmacvlan \--subnet=172.16.86.0/24 \--gateway=172.16.86.1  \-oparent=eth1pub_neteth1172.16.86.0/24NetworkRouter172.16.86.1/24 \ No newline at end of file +container1172.16.86.2/24container2172.16.86.3/24pub_net (eth1)DockerHostdockernetworkcreate -dmacvlan \--subnet=172.16.86.0/24 \--gateway=172.16.86.1  \-oparent=eth1pub_neteth0172.16.86.0/24NetworkRouter172.16.86.1/24