zoenreo 大佬有话说 :
请教关于OVH 17.88 IPV6的配置问题
系统为官方提供的centos7
因为永久化配置失败,就用临时的测试:
ip addr add 2604:2fff:1ff:ffff::ff/64 dev eth0
ip -6 route add 2604:2dff:fff:fff::1 dev eth0
ip -6 route add default via 2604:2fff:fff:fff::1 dev eth0
ping6 ipv6.google.com显示
PING ipv6.google.com(2607:f8b0:4004:c09::66 (2607:f8b0:4004:c09::66)) 56 data bytes
From(2604:2fff:fff:fff::ff) icmp_seq=1 Destination unreachable: Address unreachable
From (2604:2fff:fff:fff::ff) icmp_seq=2 Destination unreachable: Address unreachable
From(2604:2fff:fff:fff::ff) icmp_seq=3 Destination unreachable: Address unreachable
ping6 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
From 2604:2fff:fff:fff::ff icmp_seq=1 Destination unreachable: Address unreachable
From 2604:2fff:fff:fff:fff::ff icmp_seq=2 Destination unreachable: Address unreachable
From 2604:2fff:fff:fff:fff::ff icmp_seq=3 Destination unreachable: Address unreachable
请问怎么解决
另外OVH CLOUD官方找了教程,ubuntu系统netplan也试了,也不可以,一样的结果
请问大佬们,是哪里的问题,怎么解决?
yorkchou 大佬有话说 :
他家ubuntu不是eth0我记得
zoenreo 大佬有话说 :
yorkchou 大佬有话说 : 2020-2-23 11:07
他家ubuntu不是eth0我记得
ubuntu是ens3,centos是eth0,这两个都试过了,还是unreachable
Thinker 大佬有话说 :
还没试过 IPV6,关注下
seo1214 大佬有话说 :
刚配置了, ipv6不能dhcp获取, 指定就行
network:
ethernets:
ens3:
dhcp4: true
dhcp6: false
addresses:
– xxxx/64
gateway6: xxxx
match:
macaddress: xxxx
set-name: ens3
version: 2
zoenreo 大佬有话说 :
seo1214 大佬有话说 : 2020-2-23 11:41
刚配置了, ipv6不能dhcp获取, 指定就行
network:
大佬,系统是centos7没有netplan,请问如何设置,按照官方教程来搞发现不行
seo1214 大佬有话说 :
zoenreo 大佬有话说 : 2020-2-23 11:46
大佬,系统是centos7没有netplan,请问如何设置,按照官方教程来搞发现不行
手动指定ipv6就行了啊
不要按照官方教程 我没有找到ovhvps的教程 只有独服和cloud的
gdzh65 大佬有话说 :
ubuntu 18反正很难弄,给你一下我的netplan参考
network:
ethernets:
ens3:
dhcp4: true
match:
macaddress: fa:16:3e:8a:e4:3f
set-name: ens3
version: 2
network:
version: 2
ethernets:
ens3:
dhcp6: false
match:
name: ens3
addresses:
– "xxx/64"
gateway6: "xxx"
zoenreo 大佬有话说 :
seo1214 大佬有话说 : 2020-2-23 11:51
手动指定ipv6就行了啊
不要按照官方教程 我没有找到ovhvps的教程 只有独服和cloud的 …
/etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=dhcp
DEVICE=eth0
HWADDR=fa:12:3q:f3:44:c2
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=yes
IPV6ADDR=IPV6地址/64
IPV6_DEFAULTGW=IPV6网关
然后
/etc/sysconfig/network-scripts/route6-eth0
IPV6网关 dev eth0
default via IPV6网关
重启网络之后还是unreachable