Describe the bug
Hi. I would like to have a Network-Attachment with 2 non-consecutive IPs
- 192.168.0.133
- 192.168.0.135
I tried this:
"ipam": { "type": "whereabouts", "ipRanges": [ { "range": "192.168.0.128/25", "range_start": "192.168.0.133", "range_end": "192.168.0.133" }, { "range": "192.168.0.128/25", "range_start": "192.168.0.135", "range_end": "192.168.0.135" } ] }
I get this error:
error adding container to network "nad-2": failed to add IP addr {Interface:0x....... Address:{IP:192.168.0.133 Mask:ffffff80} Gateway:} to "nad2.multus": file exists
Is it possible with whereabouts ?
The other solution would be to use range": "192.168.0.128/25 and put all the other IP /32 in exclude. But...that's mean it isn't automatic, a script must calculate all the IPs to exclude...
Thank you
Describe the bug
Hi. I would like to have a Network-Attachment with 2 non-consecutive IPs
I tried this:
"ipam": { "type": "whereabouts", "ipRanges": [ { "range": "192.168.0.128/25", "range_start": "192.168.0.133", "range_end": "192.168.0.133" }, { "range": "192.168.0.128/25", "range_start": "192.168.0.135", "range_end": "192.168.0.135" } ] }I get this error:
error adding container to network "nad-2": failed to add IP addr {Interface:0x....... Address:{IP:192.168.0.133 Mask:ffffff80} Gateway:} to "nad2.multus": file exists
Is it possible with whereabouts ?
The other solution would be to use range": "192.168.0.128/25 and put all the other IP /32 in exclude. But...that's mean it isn't automatic, a script must calculate all the IPs to exclude...
Thank you