Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating IPV6 vip using icontrol rest API gives error

sameermo
Nimbostratus
Nimbostratus

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?

 

1 REPLY 1

xuwen
Cirrostratus
Cirrostratus
{
  "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