summaryrefslogtreecommitdiff
path: root/cni
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-05-11 13:57:19 -0400
committerMatthew Heon <mheon@redhat.com>2020-05-11 14:01:44 -0400
commit15500c028ae973688e2ba32142cb8d7dd3ec1f28 (patch)
tree5c8d0a94e92e754ee5289e6d130f6eb61ace48f5 /cni
parent5ac8e15613b1fd9f16bb0339034bfb9510ed9e7d (diff)
downloadpodman-15500c028ae973688e2ba32142cb8d7dd3ec1f28.tar.gz
podman-15500c028ae973688e2ba32142cb8d7dd3ec1f28.tar.bz2
podman-15500c028ae973688e2ba32142cb8d7dd3ec1f28.zip
Add HairpinMode to our CNI configs
This may resolve some issues with routing traffic between containers using the host's IP. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cni')
-rw-r--r--cni/87-podman-bridge.conflist1
1 files changed, 1 insertions, 0 deletions
diff --git a/cni/87-podman-bridge.conflist b/cni/87-podman-bridge.conflist
index 13b09a5b5..ef760a61b 100644
--- a/cni/87-podman-bridge.conflist
+++ b/cni/87-podman-bridge.conflist
@@ -7,6 +7,7 @@
"bridge": "cni-podman0",
"isGateway": true,
"ipMasq": true,
+ "hairpinMode": true,
"ipam": {
"type": "host-local",
"routes": [{ "dst": "0.0.0.0/0" }],