Skip to main content
Question

Disable randomized temporary IPv6 addresses

  • May 16, 2022
  • 2 replies
  • 30 views

dletkeman
Forum|alt.badge.img+16

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.

 

2 replies

Forum|alt.badge.img+8
  • Contributor
  • May 17, 2022

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

dletkeman
Forum|alt.badge.img+16
  • Author
  • Jamf Heroes
  • May 17, 2022

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.