On FreeBSD 13.0 I have vm-bhyve set up to manage some virtual machines (in this case Ubuntu 20.04). It seems that for some reason dnsmasq is not doing a good job at dolling out IPs, as each time my machines end up getting the same IP. These are cloned VMs, have different IDs, and have different MAC addresses. Yet for some reason dnsmasq is still giving them both the same IP. I'm copying the example off of the vm-bhyve wiki, not sure if it's correct or not...here's my config
I also have a nat rule in my pf.conf file for the network:
I've tried releases and renews as well and it seems that CAN work sometimes, other times it will just get the IP back. Maybe holding onto a lease? However I've tried stopping/starting the service too to see if that would help since it should drop the lease table
Code:
port=0
domain-needed
resolv-file=/usr/local/etc/dnsmasq-resolv.conf
except-interface=lo0
bind-interfaces
local-service
dhcp-authoritative
interface=vm-public
dhcp-range=172.16.10.5,172.16.10.100
I also have a nat rule in my pf.conf file for the network:
Code:
nat on $interface from <vmnets> to any -> ($interface)
I've tried releases and renews as well and it seems that CAN work sometimes, other times it will just get the IP back. Maybe holding onto a lease? However I've tried stopping/starting the service too to see if that would help since it should drop the lease table