generate random mac openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' apply it sudo ifconfig en0 ether 34:f1:77:82:ce:be