diff options
Diffstat (limited to 'hack/cni/50-c2vm.conflist')
-rw-r--r-- | hack/cni/50-c2vm.conflist | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hack/cni/50-c2vm.conflist b/hack/cni/50-c2vm.conflist new file mode 100644 index 0000000..9321e54 --- /dev/null +++ b/hack/cni/50-c2vm.conflist @@ -0,0 +1,26 @@ +{ + "name": "c2vm", + "cniVersion": "0.4.0", + "plugins": [ + { + "type": "bridge", + "bridge": "c2vm-br", + "isDefaultGateway": true, + "forceAddress": false, + "ipMasq": true, + "hairpinMode": true, + "mtu": 1500, + "ipam": { + "type": "host-local", + "subnet": "192.168.128.0/24", + "resolvConf": "/etc/resolv.conf" + } + }, + { + "type": "firewall" + }, + { + "type": "tc-redirect-tap" + } + ] +} |