@purple fun facts: some MMOs have used the last octet of the IP for tiebreaking events from multiple clients that occur simultaneously. I used to regularly get requests from people for proxies with IPs ending in .0 for this specific reason
I think it'd be like 255.255.255.3? So the nets are (say) 192.168.1.0, 1.1, 1.2, and 1.3, and the hosts are ... jesus, this is why nobody's tried this.
This was asked in a meeting with NeXT engineers while I was a contractor at a government agency in the early 90βs. I think their answer was... "We support it...maybe? Why would you want to?β
I've always wanted to try, just for the hell of it, but I suspect 99% of networking gear would break.
@David Schuetz I have managed to be mostly self taught, and get into the game after CIDR notation, so I completely never learned actual subnet masks, so I don't fully understand the issue you're even seeing.
It used to be (I guess this was before CIDR became popular) that netmasks were expressed as literal bitmasks. So a /24 would actually be written as "192.168.1.0, netmask 255.255.255.0β where the "24" represents the leading 24 bits representing the network (192.168.1).
So a /28 would be..255.255.255.240 (11110000).
But it was always a consecutive string of β1β bits, and the hosts were the remaining block of lower-most "0" bits. Usually 8, for a /24, but often smaller (for, say, a small block of public IPs your ISP gives you). I remember the net my office desktop was on in school that was 255.255.254.0 (or /23). That network used 9 bits for 512 hosts. (ish - router and broadcast addresses are still needed out of that 512).
A non-contiguous netmask would mean that consecutive final octets would be on consecutively different networks.
255.255.255.3 would be all 1s, then 00000011, so the NET portion is .0, .1, .2, and .3. So hosts .4, .5, .6, .7, .8, .9, .10, .11, .12... would be on networks 0, 1, 2, 3, 0, 1, 2, 3, 0β¦.
Like I said, I doubt much of anything would support it now. Even when we wrote netmasks as bitmasks, it's likely most gear would've just failed using this approach.
It really is a cursed idea. π
This wiki page may help, too. Once you see it, it's ... logical? (I won't say "easyβ). en.wikipedia.org/wiki/Subnet
@David Schuetz Oh, I see, a subnet mask bitmap with non-contiguous 1s - that makes sense.Gross.
So something like 192.168.90.256/192.255.148.45, not just a wall of 1s.
(I know enough to set subnet masks on weird ancient gear ;), but I almost always am setting 255.255.255.0 and 255.255.255.255 because /24s rule everything around me. But yeah - reasonable)
I just don't know if I have any gear that would parse subnet masks like that enough to confuse it.
@Jonathan Lamothe @David Schuetz Are you aware of the RFC 864 Compliant Dungeons and Dragons Character Generator I worked on?
@Dave worked on a bunch of it and I need to replace his work (not because I don't like it -but because I want to do the actual work not just crib his, the goal was to learn socket code).
@Richard "mtfnpy" Harman non-mobile firefox fails instantly. Tragic. I was hoping I could get firefox to accept my bullshit, but it's correct it doesn't work
purple π
in reply to silverwizard • • •last week aws assigned me an instance with an ip ending in .0
i was thoroughly fucked with. (even though this is fine and doesn't break any specs)
like this
silverwizard and wlo like this.
silverwizard
in reply to purple π • • •purple π
in reply to silverwizard • • •silverwizard likes this.
the vessel of morganna
in reply to purple π • • •silverwizard likes this.
silverwizard
in reply to the vessel of morganna • • •Rix
in reply to silverwizard • • •silverwizard likes this.
Michael Stanclift
in reply to silverwizard • • •silverwizard likes this.
silverwizard
in reply to silverwizard • • •Welp - it's working
like this
brett likes this.
reshared this
screwlisp and M. The Crystalline Entity reshared this.
silverwizard
in reply to silverwizard • • •Daniel Carosone
in reply to silverwizard • • •silverwizard likes this.
silverwizard
in reply to Daniel Carosone • • •silverwizard
in reply to silverwizard • • •like this
Dave likes this.
Jonathan Lamothe
in reply to silverwizard • •@silverwizard I always assumed you couldn't have a numeric TLD for exactly this reason.
I'm sure it'll break some obscure piece of software somewhere.
silverwizard
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Jonathan Lamothe • •@silverwizard I see my prediction held true (though it's not exactly obscure).
silverwizard
2024-10-17 03:53:23
silverwizard likes this.
silverwizard
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to silverwizard • •@silverwizard I thought they were an ad tech company.
...same thing these days, though.
silverwizard likes this.
silverwizard
Unknown parent • • •David Schuetz
in reply to silverwizard • • •silverwizard
in reply to David Schuetz • • •David Schuetz
in reply to silverwizard • • •I think it'd be like 255.255.255.3? So the nets are (say) 192.168.1.0, 1.1, 1.2, and 1.3, and the hosts are ... jesus, this is why nobody's tried this.
Bitwise, it'd be: xxx00, xxx01, xxx10, xxx11
0 net: .4, .8, .12, .16, .20β¦
1 net: .5, .9..yeah, that makes sense.
2 net: .6, .10β¦
3 net: .7, .11, .15, .19, .23β¦
and so on.
This was asked in a meeting with NeXT engineers while I was a contractor at a government agency in the early 90βs. I think their answer was... "We support it...maybe? Why would you want to?β
I've always wanted to try, just for the hell of it, but I suspect 99% of networking gear would break.
silverwizard
in reply to David Schuetz • • •David Schuetz
in reply to silverwizard • • •It used to be (I guess this was before CIDR became popular) that netmasks were expressed as literal bitmasks. So a /24 would actually be written as "192.168.1.0, netmask 255.255.255.0β where the "24" represents the leading 24 bits representing the network (192.168.1).
So a /28 would be..255.255.255.240 (11110000).
But it was always a consecutive string of β1β bits, and the hosts were the remaining block of lower-most "0" bits. Usually 8, for a /24, but often smaller (for, say, a small block of public IPs your ISP gives you). I remember the net my office desktop was on in school that was 255.255.254.0 (or /23). That network used 9 bits for 512 hosts. (ish - router and broadcast addresses are still needed out of that 512).
A non-contiguous netmask would mean that consecutive final octets would be on consecutively different networks.
255.255.255.3 would be all 1s, then 00000011, so the NET portion is .0, .1, .2, and .3. So hosts .4, .5, .6, .7, .8, .9, .10, .11, .12... would be on networks 0, 1, 2, 3, 0, 1, 2, 3, 0β¦.
Like I said, I doubt much of anything would support it now. Even when we wrote netmasks as bitmasks, it's likely most gear would've just failed using this approach.
It really is a cursed idea. π
This wiki page may help, too. Once you see it, it's ... logical? (I won't say "easyβ). en.wikipedia.org/wiki/Subnet
logically visible subdivision of an IP network
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)silverwizard
in reply to David Schuetz • • •@David Schuetz Oh, I see, a subnet mask bitmap with non-contiguous 1s - that makes sense.Gross.
So something like 192.168.90.256/192.255.148.45, not just a wall of 1s.
(I know enough to set subnet masks on weird ancient gear ;), but I almost always am setting 255.255.255.0 and 255.255.255.255 because /24s rule everything around me. But yeah - reasonable)
I just don't know if I have any gear that would parse subnet masks like that enough to confuse it.
Jonathan Lamothe
in reply to David Schuetz • •like this
silverwizard, David Schuetz and R. L. Dane :debian: :openbsd: like this.
silverwizard
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to silverwizard • •silverwizard likes this.
Jonathan Lamothe
in reply to Jonathan Lamothe • •silverwizard likes this.
silverwizard
in reply to Jonathan Lamothe • • •@Jonathan Lamothe @David Schuetz Are you aware of the RFC 864 Compliant Dungeons and Dragons Character Generator I worked on?
@Dave worked on a bunch of it and I need to replace his work (not because I don't like it -but because I want to do the actual work not just crib his, the goal was to learn socket code).
silverwizard
in reply to silverwizard • • •Tragic. I was hoping I could get firefox to accept my bullshit, but it's correct it doesn't work
yuki - queen of the snow likes this.