我的任务是为我的同事编写有关 IPv6 的文档,以了解如何在我们的主机上配置 IPv6 地址。我们主要使用 RHEL6.x/7.x、ESXi 和 Ubuntu Server。这仅适用于 RHEL/Ubuntu。
论点:您应该如何在/etc/hosts.
我已经看到它显示为:
2001:4860:4860::1:8888 google.com
# Gateway:IPv6 Address <hostname_here>
Run Code Online (Sandbox Code Playgroud)
或者
以与编写 IPv4 相同的方式编写它。