Skip to main content

We are trying to disable the temporary randomized IPv6 addresses.

The Windows command is:

Set-NetIPv6Protocol -UseTemporaryAddresses Disabled -RandomizeIdentifiers Disabled

Does anyone know of the equivalent command in macOS?  I've been trying to track it down but have had no luck.

 

Not sure if this is the same thing, but we've been setting our IPV6 to link local

#!/bin/sh

# ipv6-linklocal.sh
# Change IPv6 to LinkLocal on all interfaces.

IFS=$'\\n'
net=`networksetup -listallnetworkservices | grep -v asterisk`
for i in $net
do
networksetup -setv6LinkLocal "$i"
echo "$i" IPv6 is LinkLocal
done

exit 0

Not sure if this is the same thing, but we've been setting our IPV6 to link local

#!/bin/sh

# ipv6-linklocal.sh
# Change IPv6 to LinkLocal on all interfaces.

IFS=$'\\n'
net=`networksetup -listallnetworkservices | grep -v asterisk`
for i in $net
do
networksetup -setv6LinkLocal "$i"
echo "$i" IPv6 is LinkLocal
done

exit 0

I don't think that's what we are looking for, but I appreciate the reply.