我在 Oracle Cloud 中有一个 Debian 11 实例
IPV6 的网络配置为:
iface enp0s3 inet6 static
address xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
netmask 128
gateway fe80::1
dns-search google.com
dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844
accept_ra 0
autoconf 0
privext 0
与 Oracle 支持聊天时,他们给了我一个链接https://www.51sec.org/2021/09/20/enable-ipv6-on-oracle-cloud-infrastructure/配置 ipv6,我澄清一下,我已经做了
ping -6 google.com 结果是:目标不可达:地址不可达
ip neigh 结果是:fe80::1 dev enp0s3 FAILED
我发现与另一个 Oracle 实例相比的唯一区别是网络配置中的一行:
up ip route replace default via fe80::200:17ff:fecb:ae7f dev enp0s3
我没有实现那条线...
我可以在哪里获取与该地址相关的信息?
我必须输入的是相同的地址“fe80::200:17ff:fecb:ae7f”还是其他地址?
ip -6 地址:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/128 scope global
valid_lft forever preferred_lft forever
inet6 fe80::17ff:fe05:5098/64 scope link
valid_lft forever preferred_lft forever
ip-6路由:
::1 dev lo proto kernel metric 256 pref medium
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx dev enp0s3 proto kernel metric 256 pref medium
fe80::/64 dev enp0s3 proto kernel metric 256 pref medium
default via fe80::1 dev enp0s3 metric 1024 onlink pref medium