KhaosT/MacVM

IP keep increasing

rluvaton opened this issue · 2 comments

Great project!

Each time I turned on the VM the IP is increasing by one (e.g. from 192.168.64.4 to 192.168.64.5) and I'm afraid that there are some forgotten cleaning that when it reaches 192.168.4.254 it would no longer be able to turned on

I noticed the same behaviour

It's because macAddress is not set and by default it's random.

Good news that the DHCP lease is only 24 hours so don't start too many VMs in a day. In our experiment it broke networking when we tried to sequentially start/stop bunch of VMs.