Apparently, I can enable IPv6 in two ways. To test, I first confirm it's not enabled currently. $ ping6 -c 1 ::1 socket: Address family not supported by protocol I then enable it immediately $ sudo modprobe ipv6 And ping6 -c 1 ::1 now works. To enable it at boot, I append ipv6 on a single line to /etc/modules, then reboot. However, it's unclear

Aug 29, 2009 How to disable IPV6 on RedHat 6.x | Nathan Mike - Senior Feb 04, 2012 Blacklisting modules on Linux | Network World

# modprobe --dump-modversions working.ko 0x0b11e775 module_layout # modprobe --dump-modversions broken.ko 0x2719d41e module_layout How to override built in ipv6

Oct 11, 2010 5. Firewalling using nftables # modprobe nf_tables # modprobe nf_tables_ipv4 # modprobe nf_tables_ipv6 # modprobe nf_tables_inet Flush iptables and ip6tables to avoid interferences: # iptables -F # ip6tables -F Create filter table: # nft add table inet filter Create input chain: # nft add chain inet filter input { type filter hook input priority 0 \; }

How to disable IPv6 on Linux - Kernel Talks

从以上信息可以看出,也不会做ipv6.ko模块加载。 去掉/bin/true之后,重新执行modprobe ipv6命令后检查模块加载情况: # modprobe -v ipv6 # lsmod |grep ipv6 ipv6 12758 1 ipv6_lib 341467 71 ipv6 # ifconfig |grep inet6 inet6 addr: fe80::9af5:37ff:fe00:9527/64 Scope:Link IPv6-ready kernel - Deep Space 6 4.1.4. IPv6-ready network devices. Not all existing network devices have already (or ever) the capability to transport IPv6 packets. A current status can be found at IPv6+Linux-status-kernel.html#transport.. A major issue is that because of the network layer structure of kernel implementation an IPv6 packet isn't really recognized by it's IP header number (6 instead of 4). FAQ/CentOS5 - CentOS Wiki Dec 09, 2019