podman network create with --ip-range doesn't create proper range #8448
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When using the
--ip-range
option withpodman network create
, the resulting range doesn't correspond to the entered CIDR. One could also argue if a CIDR entry is the proper format for entering a range.Steps to reproduce the issue:
podman network create --ip-range 10.200.1.1/25 --subnet 10.200.1.0/24 testnw
Describe the results you received:
Describe the results you expected:
I would expect a range up to
10.200.1.127
.Additional information you deem important (e.g. issue happens only occasionally):
Does really a CIDR notation or shouldn't a range notation be a better fit?
e.g.
--ip-range 10.200.1.1-10.200.1.200
which would fit any range.Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical, Fedora 33 (same result on CentOS 8 Stream with Kubic version of podman)
The text was updated successfully, but these errors were encountered: