# MetalLB - how to troubleshoot - no availble IPs

**URL:** <https://discuss.kubernetes.io/t/metallb-how-to-troubleshoot-no-availble-ips/10900>\
**Category:** General Discussions\
**Created:** [May 13, 2020, 4:10pm UTC](https://discuss.kubernetes.io/t/metallb-how-to-troubleshoot-no-availble-ips/10900 "2020-05-13T16:10:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CluelessTechnologist](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/cluelesstechnologist/32/8597_2.png) [@CluelessTechnologist](https://discuss.kubernetes.io/u/CluelessTechnologist)\
**Post date:** [May 13, 2020, 4:10pm UTC](https://discuss.kubernetes.io/t/metallb-how-to-troubleshoot-no-availble-ips/10900/1 "2020-05-13T16:10:57Z")

</div>

```
### Cluster information:

Kubernetes version: **1.18.2**
Cloud being used: **Bare-Metal**
Installation method: **Ansible - https://github.com/zimmertr/Bootstrap-Kubernetes-with-QEMU**
Host OS: **Debian 10**
CNI and version: **Calico - v3.8.8-1**
CRI and version: Docker - **19.03.8, build afacb8b7f0**

```

Hi,

I’m trying to get MetalLB to work with my setup.  
pfSense: OpenBGBD enabled and status says it sending messages to the workers.

I have two VLANs one for Kubernetes and one for MetalLB deployments:

- 10.64.64.0/24 - Kuberentes net
- 10.65.65.0/24 - MetalLB net

I am running OpenBGBD on a virtual router IP adress: 10.1.10.2.  
I can reach 10.1.10.2 port 179/tcp from my workers so no FW issue from what I can gather.

My MetalLB config:

```
apiVersion: v1
kind: ConfigMap
metadata:
  namespace: metallb-system
  name: config
data:
  config: |
    peers:
    - my-asn: 64513
      peer-asn: 64512
      peer-address: 10.1.10.2
    address-pools:
    - name: my-ip-space
      protocol: bgp
      addresses:
      - 10.65.65.0/24

```

The logs say:  
`{"caller":"service.go:90","error":"no available IPs","msg":"IP allocation failed","op":"allocateIP","service":`

Now the workers only have one network card and that is connected to the 10.64.64.0/24 net. Is that correct or should I be adding a 2nd network adapter and connect it to the 10.65.65.0/24 net as well?

---

<div class="post-metadata">

**Author:** ![zimmertr](https://avatars.discourse-cdn.com/v4/letter/z/8491ac/32.png) [@zimmertr](https://discuss.kubernetes.io/u/zimmertr)\
**Post date:** [December 2, 2020, 10:09pm UTC](https://discuss.kubernetes.io/t/metallb-how-to-troubleshoot-no-availble-ips/10900/2 "2020-12-02T22:09:46Z")

</div>

Hey @CluelessTechnologist. Just found this post while Googling my username. I am the person that wrote the project you used to deploy Kubernetes and probably MetalLB. Feel free to send me an email or open a GitHub issue on the project if you still need help. 🙂

[tj@tjzimmerman.com](mailto:tj@tjzimmerman.com)

Also, for what it is worth, I have deprecated this project in favor of [TKS](https://github.com/zimmertr/TKS).
