News for hackers. Stuff that matters.
Re:Ask HN: Got a /22, cool things to do with it? by paxys on Friday January 12, 2024 @10:37AM (#38969293)
Normally when you buy a static IPv4 address you get a single "1.2.3.4". OP is basically saying they have access to something like "1.2.[0-3].[0-255]". /22 is a fancy way of describing that kind of slice in CIDR notation. So they have 256*4=1024 IP addresses in total.
Re:Ask HN: Got a /22, cool things to do with it? by diggan on Friday January 12, 2024 @10:53AM (#38969535)
> Normally when you buy a static IPv4 address you get a single "1.2.3.4"

Is it common to purchase (to own, not "rent" as what you get from cloud platforms) single IP addresses? I thought they were always bought/sold in blocks.

Re:Ask HN: Got a /22, cool things to do with it? by paxys on Friday January 12, 2024 @10:59AM (#38969621)
I should have said lease instead of buy, yes.
Re:Ask HN: Got a /22, cool things to do with it? by kdklol on Friday January 12, 2024 @02:34PM (#38972818)
No, in general, the smallest block of IPv6 addresses you can "own" is /24. You have to pay yearly fees to your RIR (Regional Internet Registry) as an ANS (Autonomous system). Think of it as owning land and paying a land tax.
Re:Ask HN: Got a /22, cool things to do with it? by icedchai on Friday January 12, 2024 @06:27PM (#38975577)
I have a /24 registered in the early 90's. I pay no registration fees for it since it's a legacy block.
Re:Ask HN: Got a /22, cool things to do with it? by iFreilicht on Friday January 12, 2024 @10:46AM (#38969423)
I think it's 1022, as the first and last one in the block are the gateway and broadcast address, right?
Re:Ask HN: Got a /22, cool things to do with it? by paxys on Friday January 12, 2024 @10:50AM (#38969490)
That's the recommendation, yes, but even then all 1024 are in your control and you can do whatever you want with them.