MetalLB on Loopback

Want to give MetalLB a try with your Minikube but don't have control over your L2 network? Don't have enough free IP addresses? You can actually create a loopback adapter on your local host with a non-routable subnet and use that to allocate your L2 IP addresses. As in my previous post , I'm setting up Minikube using the none driver so MetalLB has direct access to the host system's networking. First, you'll want to create a new loopback adapter on the subnet of your choice. This is my work machine and the 192.168.1.0/24 network is unused so I'll use that: ifconfig lo:0 192.168.1.1 netmask 255.255.255.0 up I now have a new lo:0 adapter on my system that's running on 192.168.1.1/24 . I can now use that subnet in my metallb ConfigMap: root@jason-c30:~# cat metallb-config.yaml apiVersion: v1 kind: ConfigMap metadata: namespace: metallb-system name: config data: config: | address-pools: - name: my-...