You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subnet intersection check is preventing legit scenarios #4281
I ran into FATA[0000] failed to verify networking settings: failed to create default network: subnet 10.4.0.0/24 overlaps with other one on this address space consistently.
My DHCP server assigns my PC a random IPv4 address from 10.0.0.0/8.
I tried to create the default network manually with a non-overlapping subnet, but nerdctl run still cannot pass the subnet intersection check.
Also please open a different issue with enough details about what your problem is.
I ran into FATA[0000] failed to verify networking settings: failed to create default network: subnet 10.4.0.0/24 overlaps with other one on this address space consistently.
Doing what?
My DHCP server assigns my PC a random IPv4 address from 10.0.0.0/8.
I tried to create the default network manually with a non-overlapping subnet,
How?
but nerdctl run still cannot pass the subnet intersection check.
This subnet check directly causes the macvlan network to be unusable. I noticed that this issue was raised a long time ago—are there any solutions available now?
parseSubnet rejected any subnet that intersected the set of already used subnets, returning an overlap error even when the caller explicitly requested that subnet.
Removed the subnet-intersection rejection from parseSubnet, while retaining validation that the supplied address is the canonical network address. Added a regression test confirming that an explicitly overlapping subnet is accepted.
Activity
zhangyoufu commentedon May 23, 2025
I ran into
FATA[0000] failed to verify networking settings: failed to create default network: subnet 10.4.0.0/24 overlaps with other one on this address spaceconsistently.My DHCP server assigns my PC a random IPv4 address from 10.0.0.0/8.
I tried to create the default network manually with a non-overlapping subnet, but
nerdctl runstill cannot pass the subnet intersection check.apostasie commentedon May 23, 2025
You can just configure the default bridge ip to whatever you need (https://github.com/containerd/nerdctl/blob/7d116bf1fd6279bb9d2c3bae03cb66967e0b2fcc/docs/config.md#properties)
Also please open a different issue with enough details about what your problem is.
Doing what?
How?
Which command?
arogozhnikov commentedon Aug 26, 2025
ran into this while trying to set up nerdctl-in-nerdctl. Changing bridge-ip parameter in child container works.
GavinTan commentedon Sep 25, 2025
This subnet check directly causes the macvlan network to be unusable. I noticed that this issue was raised a long time ago—are there any solutions available now?
pythonwood commentedon Oct 23, 2026
bug can be bypass
mvanhorn commentedon Oct 28, 2026
parseSubnetrejected any subnet that intersected the set of already used subnets, returning an overlap error even when the caller explicitly requested that subnet.Removed the subnet-intersection rejection from
parseSubnet, while retaining validation that the supplied address is the canonical network address. Added a regression test confirming that an explicitly overlapping subnet is accepted.#5297