vm-bhyve
vm-bhyve copied to clipboard
Ubuntu-Server-22 cloned VMs keep the same IP address as parent. (conflict)
Something probably changed in Ubuntu server 22 recently. This is a official server image with cloud init.
Edge Router with DHCP gives out IPs with persistence to each VM.
Usually after I cloned VM's in the past new VM would get a new IP since it gets a new MAC. After I had installed them fully with dhcp etc.
Today newly cloned VMs get the same IP even though they have different MAC addresses. Both VMs have same IP so I can't SSH into them.
After I run dhclient the NIC gets two IPs. After reboot both VMs are now on newly same IPs. Before reboot both had 145, now it's 146 persistently.
Very weird.
How do you guys usually deal with this. I need dhcp for these VMs as they are usually for testing and destroying.
