Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a subnet like 2001:face:feed:beef::/64. I want to assign all of them to my server, without manually assign every address like 2001:face:feed:beef::[123456789abcdef]...

In ipv4, we may use DNAT to do this, but it doesn't have NAT concept in ipv6, so I want to know if this is workable and does it have some workarounds.

share|improve this question
    
Am I understanding this correctly: You want your server to have 2^64 adresses? Why would you want that? –  Christopher Perrin Jun 30 '12 at 3:04
    
Yup, that's it. I don't want to manually specify many ip addresses. –  Tydus Jun 30 '12 at 3:14
    
Still there is th question. Why?? Why does one host need 18,446,744,073,709,551,616 IP-addresses? –  Christopher Perrin Jul 5 '12 at 12:23
add comment

1 Answer 1

You can't (with a run-of-the-mill IP stack). IP addressing isn't intended to work like that. You almost certainly won't even be able to assign anywhere near that many addresses to an interface (using a script or similar); there'll be hard-coded limits in the data structures somewhere to stop that sort of thing from happening.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.