-1

From my understanding, in IPv4 addressing, the first 2 octets identify the network, meaning 2^16 networks can exist. But that doesn't seem even closly enough as the population in even USA is above 300 millon meaning there are probably more than 65,536 houses with internet accessable networks. Is there something I'm missing?

piny
  • 1
  • You're understanding is incorrect, possibly based in classful addressing that hasn't been used in decades. CIDR / VLSM (classless inter-domain routing, and variable length subnet masking) did away with that rigid delineation. – Ricky Feb 17 '21 at 02:27
  • There are so many misconceptions and false assumptions in your question that it’s hard to direct you to a good reference. You might try looking for videos on IP addressing. – Ron Trunk Feb 17 '21 at 03:07
  • Did any answer help you? if so, you should accept the answer so that the question does not keep popping up forever, looking for an answer. Alternatively, you could post and accept your own answer. – Ron Maupin Dec 23 '21 at 16:56

1 Answers1

1

Note that classful networking has been obsolete since 1993.

In theory, you could split the whole address space into /31 subnets for point-to-point connections, so hypothetically there could be 231 networks. For great answers on how subnetting works, see this question.

Also, when NAT with private addressing is used, the number of possible networks can be much larger (behind each public IP could be a private network which could in turn use NAT internally).

Zac67
  • 81,287
  • 3
  • 67
  • 131