zerotier.is
AdLuoboyunAn account comes with 1 GB of trial traffic for 24 hours, used with Clash / MihomoPays by Alipay, WeChat, cryptoGet the trialLuoboyun: 1 GB on registrationFor 24 hours, Alipay / WeChat / cryptoGet the trialAd
  1. Home
  2. Blog
  3. macOS

macOS Written

Suddenly offline on macOS 26

On macOS 26 ZeroTier may add a default route to 127.0.0.1 and cut the internet. How to confirm, recover and avoid it, from GitHub issue 2520.

The sign points the wrong way and the traffic ends in a dead end
The sign points the wrong way and the traffic ends in a dead end Minh Nguyen, CC BY-SA 4.0

After the upgrade to macOS 26, connecting ZeroTier takes the whole Mac offline and turning it off brings it back. Issue 2520 has been open since September 2025 with more than fifty replies.

The default route is where data goes when nothing else fits. If it becomes 127.0.0.1 the Mac sends everything to itself: nothing opens and Wi-Fi looks full. Knowing that, it takes ten seconds.

Is it this

Look at the default route
netstat -rn -f inet | grep default

A second default line to 127.0.0.1 is the problem. Normally only the one to your router is there.

Back online at once

  1. Disconnect and reconnectsometimes enough
  2. Delete that routeworks at once
  3. Wi-Fi off and onroutes are rebuilt
Simple things first
Delete the wrong route
sudo route -n delete default 127.0.0.1

What is known

ObservedSource
Only on macOS 26Analysis in the thread
Only with Allow Managed onThe same
Several Macs at once, gone after a few togglesThe same
Looks like a race in the system's routingA commenter's guess, not confirmed

In the long run

  1. Update, then see in the thread whether the fix, #2548, has been merged.
  2. Until then turn off Allow Managed and set the address by hand.
  3. Or run ZeroTier on the router and not on the Mac.
The switch in the details (drawing)

Right and wrong

Right
default   192.168.1.1   UGScg   en0
Wrong, a second line
default   192.168.1.1   UGScg   en0
default   127.0.0.1     UGcS    lo0

Sometimes the right one is gone as well: delete the wrong one, then switch Wi-Fi off and on.

One command

~/fixroute.sh
#!/bin/sh
sudo route -n delete default 127.0.0.1 2>/dev/null
GW=$(ipconfig getoption en0 router)
netstat -rn -f inet | grep -q "^default.*$GW" || sudo route -n add default "$GW"
netstat -rn -f inet | grep default

en0 is usually Wi-Fi; with a cable it differs. Look while all is well: route get 1.1.1.1.

Addresses by hand instead of Allow Managed

Adapter from ifconfig, feth…
sudo ifconfig feth1234 10.147.17.20 netmask 255.255.255.0

Again after each restart. For a home behind a gateway add:

Example
sudo route -n add 192.168.1.0/24 10.147.17.1

Why it is hard to fix

macOS 26 manages routes differently, and the order in which programs change them matters. Some meet it daily, others never; changing Wi-Fi, waking and cables trigger it. So "a restart fixed it" may only be chance.

Keeping it small

DoEffect
Disconnect unused networksNo changes to routes
Allow Default offLeaves the default alone
No network access in sleepFewer changes
On the router insteadThe Mac is not involved
The script readyTen seconds
Is data lost?

No. Only the route is wrong, and deleting it helps.

On Windows too?

No such report found.

Other VPNs too?

They change it as well and normally restore it; two at once are more fragile.

When is it fixed?

When the issue is closed and the release notes say so.

Wait with macOS 26?

You can. Going back for this alone is not worth it.

Up next

Pages nearby

Marks: macOS 26 ZeroTier no internet, ZeroTier default route Mac, ZeroTier broke network