Skip to content

IP ranges no longer work #2221

Description

@viceice

MetalLB Version

0.13.12

Deployment method

Charts

Main CNI

calico

Kubernetes Version

1.27.8

Cluster Distribution

k3s

Describe the bug

IP ranges no longer work on IP pools

To Reproduce

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: local
  namespace: metallb-system
spec:
  addresses:
  - 172.30.2.70-172.30.2.99
  autoAssign: false

Apply this pool an try to use 172.30.2.70 from that pool and get the not allowed error on the service.

Expected Behavior

Ranges should work like they did some versions before.

Additional Context

Workaround: use cidr ips

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: local
  namespace: metallb-system
spec:
  addresses:
  - 172.30.2.70/31
  - 172.30.2.72/29
  - 172.30.2.80/28
  autoAssign: false

I've read and agree with the following

  • I've checked all open and closed issues and my request is not there.
  • I've checked all open and closed pull requests and my request is not there.

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • This bug is reproducible when deploying MetalLB from the main branch
  • I have read the troubleshooting guide and I am still not able to make it work
  • I checked the logs and MetalLB is not discarding the configuration as not valid
  • I enabled the debug logs, collected the information required from the cluster using the collect script and will attach them to the issue
  • I will provide the definition of my service and the related endpoint slices and attach them to this issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions