Pods with additional network interface using multus CNI plugin are getting same or duplicate IP.
Issue
spec:
additionalNetworks:
- name: test-network
namespace: testing
rawCNIConfig: '{ "cniVersion": "0.3.1", "name": "eth1", "type": "host-device",
"pciBusID": "0000:06:00.0", "ipam": { "type": "static", "addresses": [ { "address":
"192.168.1.0/24" } ] } }'
type: Raw
- With above configuration, each new pod is getting same IP: 192.168.1.0
- Why the new pods are not getting unique IP addresses of network- 192.168.1.0/24?
Environment
- Red Hat OpenShift Container Platform 4.3
- Multus CNI Plugin.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.