New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
https://github.com/emden-norfolk/cidrl
ChatGPT can do that in a second.
Then
Arguments used here are:
-6
required for IPv62a09:b280:fe00::
the address of your IPv6 prefix48
the prefix length (i.e.2a09:b280:fe00::/48
)Run it as many times as you need to.
I often generate a random hexadecimal sequence with openssl rand -hex 8 and manually insert colons.
https://subnettingpractice.com/ipv6-subnet-calculator.html
I've used https://gist.github.com/Larcaster/bc97460a47f1efc73e4f1a75af684efb before.
Yes, you can use online tools like the IPv6 Random Address Generator to input a subnet and generate hundreds of random IPv6 addresses from that subnet.
You are putting too much effort into this..
Generate random hex digits, put them at the end of your prefix, that is it.
These solutions are not going to collapse zeroes as is the norm in IPv6 addresses, though OP may not need that.
@yoursunny Has ipv9 generator ?
Randomly generated addresses won't have that many 0s for that to matter.
But I want to generate a list of 1000 ipv6 random address. Doing it manual is too time consuming
Hardest part is only getting hex characters randomly.
Second hardest is choosing how you want the output..
https://ip6.sh is a good one. You can generate as many as you want.
by ChatGPT
Plot twist: he uses someone else's prefix and doesn't work.
Or you can just turn on privacy and temporary addresses.