News for hackers. Stuff that matters.
Re:Ask HN: Got a /22, cool things to do with it? by the_third_wave on Friday January 12, 2024 @09:50AM (#38968641)
.22s are light calibre weapons good for plinking and vermin...

Oh, not that kind of .22. An IPv4 /22 is a network segment where the /22 stands for the number of bits used for the network address. Since an IPv4 address is 32 bits wide this leaves 10 bits which can be freely assigned by the address 'owner'. Those 10 bits (1024 addresses) can be used for individual hosts or the range can be further subdivided into smaller networks, e.g. 4 /24 networks.

This type of network address is called a Classless Inter Domain Routing (CIDR [1]) address, this in opposition to 'class A/B/C' addresses which identify networks in 8-bit steps. A class A network is a /8, class B a /16 and class C a /24.

[1] https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

Re:Ask HN: Got a /22, cool things to do with it? by thsksbd on Friday January 12, 2024 @10:51AM (#38969496)
I thought he meant .22 for a moment but asked myself: "of all the places to ask what to do with a case of ammo, why all HN?".

Then I realized it was probably some neteorking stuff

Re:Ask HN: Got a /22, cool things to do with it? by thedynamicduo on Friday January 12, 2024 @09:54AM (#38968677)
Thanks, that was a really good explanation.