apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: name: eth1 namespace: default spec: config: | { "cniVersion": "0.4.0", "name": "eth1", "plugins": [ { "type": "host-device", "device": "eth1", "ipam": { "type": "host-local", "ranges": [ [ { "subnet": "10.1.2.0/24", "rangeStart:": "10.1.2.10", "rangeEnd:": "10.1.2.20" } ], [ { "subnet": "2a0a:e5c0:10:20::/64", "rangeStart:": "2a0a:e5c0:10:20::10", "rangeEnd:": "2a0a:e5c0:10:20::20" } ] ] } } ] } --- apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: name: eth2 namespace: default spec: config: | { "cniVersion": "0.4.0", "name": "eth2", "plugins": [ { "type": "host-device", "device": "eth2", "ipam": { "type": "host-local", "ranges": [ [ { "subnet": "10.1.2.0/24", "rangeStart:": "10.1.2.10", "rangeEnd:": "10.1.2.20" } ], [ { "subnet": "2a0a:e5c0:10:20::/64", "rangeStart:": "2a0a:e5c0:10:20::10", "rangeEnd:": "2a0a:e5c0:10:20::20" } ] ] } } ] }