this post was submitted on 07 Nov 2024
27 points (93.5% liked)
Shitty sysadmin
314 readers
14 users here now
Welcome to Shitty Admin!
This community is for shit posting about terrible things computer admin do. Cross posts are welcome and so is satire.
Please no politics or harmful content
founded 4 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
sysctl -w net.ipv4.conf.all.disable_ipv4=1
sysctl -w net.ipv6.conf.all.disable_ipv6=0
for link in $(ls /sys/class/net); do ip -6 addr add $(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2):$(openssl rand -hex 2)/128 dev $link; done
Everything should work perfectly forever right out of the box with the above setup.