4 ms·
Would be nice if they didn't stomp on real addresses. > The blocks 192.0.2.0/24 (TEST-NET-1), 198.51.100.0/24 (TEST-NET-2), and 203.0.113.0/24 (TEST-NET-3) are
by toast0 6y ago
Would be nice if they didn't stomp on real addresses.
> The blocks 192.0.2.0/24 (TEST-NET-1), 198.51.100.0/24 (TEST-NET-2), and 203.0.113.0/24 (TEST-NET-3) are provided for use in documentation.
-- RFC5737 https://tools.ietf.org/html/rfc5737 https://tools.ietf.org/html/rfc5737
- happytoexplain 6y agoOn the other hand, there's something to be said for not using real identifiers in examples.
- deleted 6y ago[deleted]
- rubatuga 6y agoJust 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.