summaryrefslogtreecommitdiff
path: root/cni
diff options
context:
space:
mode:
Diffstat (limited to 'cni')
-rw-r--r--cni/97-podman-bridge.conf15
-rw-r--r--cni/98-podman-loopback.conf4
2 files changed, 19 insertions, 0 deletions
diff --git a/cni/97-podman-bridge.conf b/cni/97-podman-bridge.conf
new file mode 100644
index 000000000..27fc096c4
--- /dev/null
+++ b/cni/97-podman-bridge.conf
@@ -0,0 +1,15 @@
+{
+ "cniVersion": "0.3.0",
+ "name": "podman",
+ "type": "bridge",
+ "bridge": "cni0",
+ "isGateway": true,
+ "ipMasq": true,
+ "ipam": {
+ "type": "host-local",
+ "subnet": "10.88.0.0/16",
+ "routes": [
+ { "dst": "0.0.0.0/0" }
+ ]
+ }
+}
diff --git a/cni/98-podman-loopback.conf b/cni/98-podman-loopback.conf
new file mode 100644
index 000000000..dd6630a85
--- /dev/null
+++ b/cni/98-podman-loopback.conf
@@ -0,0 +1,4 @@
+{
+ "cniVersion": "0.2.0",
+ "type": "loopback"
+}