because i have to google these sysctl settings every … time..
/etc/sysctl.conf
# disable IPv6 on the wlan0 interface
net.ipv6.conf.wlan0.disable_ipv6=1 # insufficient on its lonesome
net.ipv6.conf.wlan0.autoconf=0 # don't forget this ..
it’s important to disable autoconf
because it will still pick up the RAs for learning the default and this may not deterministically let you do what you want.
replace wlan0
with the interface you want to starve.