sysctl error in RedHat 8

Latest response

Dear Community,

I get this error when I run sysctl to confirm if ipv6 is disabled

$ sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory

I was wondering if this means ipv6 is disabled, or the error root cause is something else? (and if that is the case, how can I fix the error)

Thanks

Responses