I have a VPS with a /64 IPv6 assigned to it. When I try to curl using one of the IPs in the block, this is the error I get:
curl --interface '2a02:c207:2010:1077::2' http://example.com
curl: (45) bind failed with errno 99: Cannot assign requested address
What exactly do I need to do to fix this? Shouldn't I be able to use any IP on the machine when logged in as root?
Basically I just need the ability to curl using any IPv6 assigned to the VPS.