Softlayer API:全局IP路由不能与ipv6一起使用

时间:2016-12-20 20:46:29

标签: rest ipv6 ibm-cloud-infrastructure

我们正在为ipv4 / ipv6全球IP设置自动故障转移。我可以通过执行get:

来设置ipv4的路由

https://api.service.softlayer.com/rest/v3/SoftLayer_Network_Subnet_IpAddress_Global/xxxx/route/111.111.111.111/

但是当我尝试ipv6时: https://api.service.softlayer.com/rest/v3/SoftLayer_Network_Subnet_IpAddress_Global/xxxx/route/2607:f0d0:1e01:1a2::3/

我收到此错误:

{
   "error": "The selected destination IP address is currently not in tracking for subnet '2607:f0d0:0003:0023:0000:0000:0000:0000/64'.",
   "code": "SoftLayer_Exception_Public"
}

1 个答案:

答案 0 :(得分:2)

你需要发送EndPointIpAddress而不压缩(没有压缩格式),所以你应该这样发送:

https://api.service.softlayer.com/rest/v3/SoftLayer_Network_Subnet_IpAddress_Global/xxxx/route/2607:f0d0:1e01:01a2:0000:0000:0000:0003

<强>参考文献: