-
Notifications
You must be signed in to change notification settings - Fork 49
macOS 15 doesn't set mac addr in dhcp_leases anymore #242
Copy link
Copy link
Open
Description
Hello,
usage.md recommends /var/db/dhcp_leases to get the IP address of a given virtual machine.
But it seems like macOS Sequoia has changed the format of that file and haven't been able to find much about it nor to easily match DHCP leases with VMs.
{
name=nixos
ip_address=192.168.64.30
hw_address=ff,f1:f5:dd:7f:0:2:0:0:ab:11:b5:40:7c:3:e2:a9:8c:b3
identifier=ff,f1:f5:dd:7f:0:2:0:0:ab:11:b5:40:7c:3:e2:a9:8c:b3
lease=0x6782bfd4
}
{
name=nixos
ip_address=192.168.64.29
hw_address=1,f6:25:e2:48:58:1e
identifier=1,f6:25:e2:48:58:1e
lease=0x6782bf9a
}
The second entry is an older lease, probably from before I upgraded? It contains the mac address of my machine as expected. The first entry is a current lease, without a mac address. At least not a plain one, I haven't been able to find documentation about the new format.
canonical/multipass#3661 looks like it could be related.
I wonder if might be a side-effect of https://macadmin.fraserhess.com/2024/09/16/handling-mac-address-randomization-in-macos-15/.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo