Oracle Linux 8 添加 IPv6

面板操作

详见:https://51.ruyo.net/17105.html

系统操作

Oracle Linux 8已经启动IPv6模块,但是内核配置没有启用!执行以下命令!

echo "net.ipv6.conf.all.disable_ipv6=0" >> /etc/sysctl.conf

将配置生效!

sysctl -p

添加IPv6!

sudo ip -6 addr add 2603:xxxx:xxxx:xxxx:0000:0000:0000:xxxx/128 dev enp0s3

2603:xxxx:xxxx:xxxx:0000:0000:0000:xxxx 为你在面板分配的IPv6地址

enp0s3 为你的网卡名

系统操作部分来自:https://guo.work/76.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注