0

I'm trying to add an entire /64 ISP-provided IPv6 subnet to an Ubuntu server machine.

I'd like to be able to use any IP I want with curl (perhaps using --interface <ip>) after the IPs are added.

So far, I can only figure out how to add 1 IPv6 address at a time whilst having em usable.

  • You can probably only add about two dozen addresses to an interface. In theory, there is no limit, but OSes have a practical limit on the number of addresses on an interface. There is no way you have enough memory or storage for 18,446,744,073,709,551,616 128-bit addresses. – Ron Maupin May 24 '18 at 4:20
  • Odd. I'd figure IPv6 would have no such limits, after all, it was designed to free us from IP address limits. I guess that leaves me no choice, I'll probably end up spam-adding as many interfaces and IPs as I possibly can. – Denny R May 24 '18 at 4:24
  • Spamming SolusVM's API to add IPv6 addresses doesn't seem like a bad idea after all now. – Denny R May 24 '18 at 4:24
  • At 1,000,000 addresses added per second, it would take over 584,542 years to add that many addresses. I don't think you grasp the size of the numbers. – Ron Maupin May 24 '18 at 4:27
  • I only need about 20-50 thousand, but I will take 1 million any day :) – Denny R May 24 '18 at 4:32

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.