RSS Amplifier

lnikki.la · Aug 12, 2023

Disabling CLAT46 on macOS Ventura

0
Sign in to vote or save

Leo Nikkilä · lnikki.la

I wanted to validate that CLAT was really the source of these issues. The first thing I tried was disabling IPv4 altogether in System Settings, which can also be done using networksetup:

$ sudo networksetup -setv4off Wi-Fi

Unfortunately CLAT doesn’t care about whether IPv4 is enabled, and it’s auto-configured nevertheless. Next, I simply deleted the configured IPv4 address using ifconfig:

$ sudo ifconfig en0 delete 192.0.0.2

This did the trick, and the issues I’d seen went away immediately.

Unfortunately just removing the address doesn’t persist anywhere, and after reconnecting to the network, CLAT was auto-configured again with the same settings.

After perusing manpages and the morsels of macOS IPv6 documentation I could find, I was unable to find a nice CLAT-specific flag that could disable it.

Eventually I was able to figure out a workaround: configuring IPv4 with a link-local address from 169.254.0.0/16. Here’s an example, you might want to pick a random address from that block instead of this one:

$ sudo networksetup -setmanual Wi-Fi 169.254.1.1 255.255.255.0

ipconfig getsummary en0 now reports ConfigMethod : LinkLocal for IPv4, and more crucially, CLAT46Active is nowhere to be seen.

Read the original on lnikki.la

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.