How can I generate a IPV6 Address pool. I have a valid Form IP and To IP in IPV6 format. I want to generate all the ips in between the form and to IP. Any type of help is greatly appreciated.
regards
Swapnasagar
5 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hi, I found the way how to generate the proper output. It's very simple ..
First thing is IPV6 format is not inbuild in Windows XP. Need to do some configuration as follows :--
> Open the command prompt
> Type there IPV6
> It ll list u all the options and then type IPV6 install
And thus U r done. The 1st format of code(provided above) works fine.
Note :-- No need of any type of configuration for windows vista and windows 7. For more info. :-- http://www.ghacks.net/2011/02/06/how-to-enable-ipv6-on-windows-xp/
Thanks a lot vulpes for all the help u provide....
Thanks Vulpes, your code is working in gr8 extent. But the only problem is while showing the output. See we are giving IP in the string format, but the "parse" method making it to an IPAddress Instance , so while displaying back also the IPAddress Instance coming, not the string format.
e.g:-- "2001:0db8:85a3:0000:0000:8a2e:0370:7334" --> Input IP 2001:0db8:85a3:0000:0000:8a2e:3.112.115.52 --> Output[which is the IP Instance generated by "parse" Method]. 2001:0db8:85a3:0000:0000:8a2e:3.112.115.53 --> next op and so on.
Any Help regarding this is warmly Accepted. Thanks in Advance.
Swapnasagar PandaPosted Aug 8, 2012, 8:41 AM
I found the way how to generate the proper output. It's very simple ..
First thing is IPV6 format is not inbuild in Windows XP. Need to do some configuration as follows :--
> Open the command prompt
> Type there IPV6
> It ll list u all the options and then type IPV6 install
And thus U r done. The 1st format of code(provided above) works fine.
Note :-- No need of any type of configuration for windows vista and windows 7.
For more info. :-- http://www.ghacks.net/2011/02/06/how-to-enable-ipv6-on-windows-xp/
Thanks a lot vulpes for all the help u provide....
VulpesPosted Aug 7, 2012, 7:20 AM
The addresses it's producing are not abbreviated (i.e. they contain leading zeros and 0000's) though it could be changed to cope with that if needed:
The output should be:
VulpesPosted Aug 7, 2012, 6:13 AM
Swapnasagar PandaPosted Aug 7, 2012, 2:39 AM
e.g:--
"2001:0db8:85a3:0000:0000:8a2e:0370:7334" --> Input IP
2001:0db8:85a3:0000:0000:8a2e:3.112.115.52 --> Output[which is the IP Instance generated by "parse" Method].
2001:0db8:85a3:0000:0000:8a2e:3.112.115.53 --> next op and so on.
Any Help regarding this is warmly Accepted. Thanks in Advance.
VulpesPosted Aug 6, 2012, 1:48 PM