3 ms·
Just wondering, how can a network block have a "2" in "192.0.2.0/24"? Shouldn't it be "192.0.0.0/24"?
by rubatuga 6y ago
Just wondering, how can a network block have a "2" in "192.0.2.0/24"? Shouldn't it be "192.0.0.0/24"?
- Tushon 6y ago/24 is a 256 host subnet, so you can have 1-254 (0 and 255 are special) in the last "octet" (each section of an IP address is denoted as an octet). You can play with the numbers here [0] to see valid combos, like this: 192.1.254.19/24 (or use a 255.255.255.0 subnet mask) 0 - https://www.calculator.net/ip-subnet-calculator.html?cclass=any&csubnet=24&cip=192.1.254.54&ctype=ipv4&printit=0&x=72&y=17 https://www.calculator.net/ip-subnet-calculator.html?cclass=...
- jlgaddis 6y agoNo, 192.0.0.0/24 and 192.0.2.0/24 are completely separate networks. See "Classless Inter-Domain Routing" [0] (a.k.a. "CIDR") -- [0]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
- Craighead 6y ago/24 means that the first 24 bits are the subnetwork mask, ie: xxxxxxxx.xxxxxxxx.xxxxxxxx.NNN, where the x represent the network and the N represent hosts on said network. 192.168.1.x/24 and 192.168.2.x/24 are two separate networks.