Forum Discussion

sameermo's avatar
sameermo
Icon for Nimbostratus rankNimbostratus
Jun 21, 2022

Creating IPV6 vip using icontrol rest API gives error

Hello,

While sending a post request to endpoint - https://<f5ip>/mgmt/tm/ltm/virtual with below payload gives 400 error with response as : 

 

 

 

{
    "code": 400,
    "message": "HTML Tag-like Content in the Request URL/Body",
    "errorStack": [],
    "apiError": 26214401
}

 

 

 

 

My payload is :

 

 

 

{
  "name": "test_vs1",
  "destination": "2605:9780:10:f00c:0:0:0:1015",
  "source": "::/0"
}

 

 

 

The response doesn't say me whats gong wrong with payload. I am not sure how would I apply port in case of IPv6 address. for IPv4 it works fine if I enter <ipaddress:port>. Can anyone please help me on this?

 

  • xuwen's avatar
    xuwen
    Icon for Cumulonimbus rankCumulonimbus
    {
      "name": "test_vs1",
      "destination": "2605:9780:10:f00c:0:0:0:1015.443",
      "source": "::/0"
    }

    ipv4 destination is ipv4address:port,ipv6 destination is ipv6address.port