Re:Farewell EC2-Classic, it’s been swell
by smileybarry on Friday September 01, 2023 @09:37AM
(#37350668)
I’m guessing it’s a typo, but maybe it was a 10.0.0.0-10.255.255.255 subnet with EC2-Classic machines allocating purely from 10.2.0.0-10.2.255.255, and 10.x.0.0-10.x.255.255 was allocated for other services?
Re:Farewell EC2-Classic, it’s been swell
by thargor90 on Friday September 01, 2023 @09:38AM
(#37350687)
You are right. The /8 is 10.0.0.0/8.
I guess it's not a typo, but a weird way to write 10.0.0.0/8 excluding 10.1.0.0/16 .
It doesn't exclude 10.1.0.0/16, or any of the rest of 10/8.
Re:Farewell EC2-Classic, it’s been swell
by Bluecobra on Friday September 01, 2023 @09:36AM
(#37350663)
I think it must be a typo. because 10.2.0.0/8 is not a valid subnet mask. The largest subnet you can make starting with 10.2.0.0 is 10.2.0.0/15.
Re:Farewell EC2-Classic, it’s been swell
by jedberg on Friday September 01, 2023 @11:56AM
(#37352433)
It's still a valid subnet notation, the 2 just doesn't mean anything.
When you take the logical AND of the IP and the expanded mask, you'll just end up with 10.0.0.0 as the network address and 10.255.255.255 as the broadcast address.
Re:Farewell EC2-Classic, it’s been swell
by gilbetron on Friday September 01, 2023 @10:07AM
(#37351037)
Formally it should be 10.0.0.0/8, but you'll often encounter CIDRs written less formally by including set bits outside of the cidr prefix length. Often it is shorthand for "the subnet that includes this IP address", so 192.254.33.12/16, for instance. Or it might be a typo! ;)
Re:Farewell EC2-Classic, it’s been swell
by unilynx on Friday September 01, 2023 @10:43AM
(#37351433)
I would interpret 192.254.33.12/16 to mean 'host 192.254.33.12 in a /16 subnet'.
That's also the notation `ip` on Linux supports
Re:Farewell EC2-Classic, it’s been swell
by chacham15 on Friday September 01, 2023 @11:29AM
(#37352082)
My thought was that 10.2.0.0/16 is part of the 10.0.0.0/8 address range which is by default a private network address range (i.e. not routable by any other machines). I interpreted what the author wrote to say that your machine would be assigned an address in 10.2/16 but would still be able to route to other AWS services / machines in other 10/8 subnets (e.g. 10.1/16)
> When we launched EC2 in 2006, it was one giant network of 10.2.0.0/8.
In my understanding, /8 means the first octet would be fixed (10.0.0.0-10.255.255.255) and I'm having trouble understanding the significance of the 2 here. If the 2 is significant, wouldn't you write it as /16? Given the source and my confidence on this notation, I feel like there must be some meaning an expert can glean from this. If so, I'm curious to learn. If it's just a typo, then that's fine and I apologize if this is nit-picky.