Sample Header Ad - 728x90

How to enable IPv6 on subinterface in Linux using sysctl?

1 vote
1 answer
604 views
I tried the following: sysctl -w net.ipv6.conf.Ethernet1.200.disable_ipv6=0, but it gave following error:
sysctl: cannot stat /proc/sys/net/ipv6/conf/Ethernet1/200/disable_ipv6: No such file or directory
It should have ideally tried to change in /proc/sys/net/ipv6/conf/Ethernet1.200/disable_ipv6 which it is not I have used echo 0 > /proc/sys/net/ipv6/conf/Ethernet1.200/disable_ipv6, but I need some Linux command that does the same.
Asked by gerrit_noob (13 rep)
Feb 23, 2024, 07:54 AM
Last activity: Feb 26, 2024, 09:41 AM