Mac VM IP address keeps changing (192.168.64.x): find it fast
Why a Mac VM gets a 192.168.64.x address from the NAT network, how to find its current IP in Hermitbox, and what you can't pin, reset or bridge.
Updated 6 min read
On this page
You set up a Linux or macOS VM, saw an address like 192.168.64.5, and now it is 192.168.64.7, or a new VM got a higher number even though lower ones look free. Your router's range (for example 192.168.86.x) is nowhere in sight, and the router doesn't list the VM at all.
This page covers why that happens, every way to find the current address in Hermitbox, how to connect without typing it, and what the app can't change.
Why the address keeps changing
Every Hermitbox VM gets a virtio network card on Apple's NAT network, shown in the inspector as "Shared with this Mac (NAT)". macOS runs a small private network for these VMs. The VM reaches the internet through your Mac, and your Mac reaches the VM by its IP. The addresses come from that private network, which is why they start with 192.168.64.
The causes, most common first:
- The VM is not on your home network. NAT puts VMs on a separate subnet. Your router never sees them, never assigns their addresses and can't reserve one.
- macOS's DHCP service hands out leases. Hermitbox reads those leases to learn a VM's address. It does not assign addresses. When a VM restarts, or a new VM asks for one, the number depends on what macOS's DHCP gives out.
- A new VM asks for a fresh lease. A clone or new VM has its own MAC address, so it is treated as a new device. Users of other VM apps that use the same Apple NAT report that the numbers keep climbing and that they can't reset the counter. We don't document how macOS decides when to reuse a number, so treat the address as something you look up.
Hermitbox has no bridged networking and no "Shared with Other VMs" network in this build. Only NAT is offered.
Find the current address
The VM must be running. Until it has an address, IP Address shows "Waiting for an address…".
In the inspector
- In the library window, select the VM.
- If the inspector is hidden, choose View ▸ Show/Hide Inspector (⌃⌘I).
- Scroll to Connect.
- Click Copy IP Address.
In the menu bar
Click the Hermitbox icon, open the VM's submenu and choose Copy IP Address. It appears for running VMs only.
From the Guest or Agent
The address comes from different sources depending on the guest:
- Linux: the Hermitbox Agent can report it (not in the published 1.0.0 build; see the note below). Otherwise Hermitbox reads the Mac's DHCP leases.
- macOS VMs: if Hermitbox Guest is installed in the VM, the inspector line shows the address beside the guest version, for example "Hermitbox Guest 1.0 · 192.168.64.5 · macOS 15.2 (24C101)".
From Terminal
hermitbox ip NAME prints the address. NAME is case-insensitive, and a unique prefix is enough.
hermitbox ip ubuntuThis prints the IP of the VM whose name starts with "ubuntu". It changes nothing. To install the tool, go to Settings > Advanced > Command line tool and click Install. The default location is ~/.local/bin, so make sure that folder is in your PATH. hermitbox ip keeps working even after the trial ends.
Connect without hard-coding the address
If you SSH into the VM often, let Hermitbox pick the VM by name.
- From the app: in Connect, set SSH User (it defaults to your Mac's user name), then use the Open SSH menu: Open in Terminal, Open in iTerm (if installed), Open in VS Code or Copy SSH Command.
- From Terminal:
hermitbox ssh USER@NAMEconnects by VM name.
hermitbox ssh dev@ubuntuThis opens an SSH session to the VM matching "ubuntu" as user dev.
For scripts, call hermitbox ip NAME at run time and use its output. You can also use the hermitbox:// links and Shortcuts action "Get IP Address of Virtual Machine" if you automate from Shortcuts.
What you can and can't change
| You want | Status in Hermitbox |
|---|---|
| Find the current address | Yes: Connect, menu bar, hermitbox ip |
| Connect by VM name | Yes: Open SSH menu, hermitbox ssh |
| Reset the 192.168.64.x counter | No documented way |
| Set a fixed IP in the app | No documented setting |
| Bridged networking (address from your router) | Not available |
| Host-only or "Shared with Other VMs" network | Not available |
| Port forwarding for normal VMs | Not available |
VM Settings ▸ Network offers only "Shared with this Mac (NAT)", plus a MAC address field with Regenerate. We don't document how a new MAC address affects the lease, so if you rely on a VM's current address, leave the MAC alone.
If you need a stable address inside the VM, one option is to configure a static address in the guest's own network settings. That is a guest-OS change, not a Hermitbox feature, and we haven't verified which addresses on the NAT network are safe to pick. Choosing one that macOS's DHCP also hands out can cause conflicts, so prefer the by-name routes above.
If the address doesn't show up
- "Waiting for an address…" stays on screen. The guest may still be booting. Wait a few seconds and look again. The matching alert is "No IP Address Yet": "“NAME” doesn't have an address yet. Try again in a few seconds."
- The VM isn't running. Start or resume it. Connect shows the address for running VMs.
- A macOS VM shows no address in the Guest line. Hermitbox Guest may not be installed. Open the "Hermitbox Guest" disk on the VM's desktop and install it.
hermitbox ipprints "No IP address yet." Same cause. Try again in a moment.- The command line says "Hermitbox couldn't be opened. Is it installed?" or "Hermitbox opened but didn't answer. Try again in a moment." Open Hermitbox once and retry.
- The address doesn't answer from another computer. The VM is reachable from your Mac by IP. Hermitbox offers no bridged networking or port forwarding to change that.
Checklist before you try again
- The VM is running, not paused or suspended.
- You waited a few seconds after boot.
- You copied the address now, not from an old note.
- You are connecting from the Mac that hosts the VM.
- For macOS guests, Hermitbox Guest is installed.
If nothing works
If a running VM never gets an address, or the address is wrong, contact MacSuite support through the support page. Include the exact message, the guest OS and version, your Hermitbox version, and what you tried.
Subject: Hermitbox VM has no IP address
Hermitbox version: (Hermitbox > About)
Mac and macOS version:
VM name and guest OS:
What I see: Connect > IP Address shows "Waiting for an address…" for more than 2 minutes
Also tried: restarting the VM, hermitbox ip NAME (prints "No IP address yet.")
Network setting in VM Settings > Network: Shared with this Mac (NAT)Common questions
Can I make the VM use my router's address range?
Not in Hermitbox. Bridged networking isn't available in this build, so VMs always sit on the Mac's NAT network.
Can I reset the 192.168.64.x numbering?
We don't document a way to do it, and Hermitbox has no setting for it. The leases belong to macOS's NAT networking, not to the app.
Why can't my phone or another computer reach the VM?
The VM is on a private NAT network behind your Mac. Hermitbox documents it as reachable from the Mac by IP only, and it has no port forwarding for normal VMs.
Does a clone get the same address?
No. A clone has a new MAC address, so expect a different address. Look it up after it starts.