I want to create a group of subnets using the following IP: 192.168.0.0. As far as I’m concerned, since the default subnet mask for this IP would be /24 because it is class C, I’m just allowed to touch the 4th octet to create my subnets. So, if I do the following, these subnets would be incorrect?<\/p>\n
I want to create a group of subnets using the following IP: 192.168.0.0. As far as I’m concerned, since the default subnet mask for this IP would be /24 because it is class C, I’m just allowed to touch the 4th octet to create my subnets. So, if I do the following, these subnets would be incorrect?<\/p>\n
Yes, if the problem you were given makes the assumptions you’ve stated, those would be correct.<\/p>\n
In the real world (not homework world), the class system has been replaced by “classless.” You could use any mask you wanted and no “classful” mask is assumed.<\/p>\n
Now, having said that, entering an IP into Windows will still auto-fill the classful mask.<\/p>","upvoteCount":5,"datePublished":"2020-03-29T20:33:59.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/2","author":{"@type":"Person","name":"Robert5205","url":"https://community.spiceworks.com/u/Robert5205"}},{"@type":"Answer","text":"
So, what you’re trying to say is that from a classful standpoint this would incorrect but from a classless standpoint it would be correct?<\/p>","upvoteCount":1,"datePublished":"2020-03-29T20:47:55.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/3","author":{"@type":"Person","name":"leo76","url":"https://community.spiceworks.com/u/leo76"}},{"@type":"Answer","text":"
There is no default subnet mask anymore and no such thing as Class C, unless you can find a 25-year-old router from somewhere and get that working.<\/p>\n
192.168.0.0/16 includes all ip addresses from 192.168.0.1 to 192.168.255.254, so there’s no such thing as a network called 192.168.1.0/16.<\/p>\n
You can have \n192.168.0.0/24 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 \nor \n192.168.0.0/23 192.168.2.0/23 192.168.4.0/23 192.168.6.0/23 \nor \n192.168.0.0/22 192.168.4.0/22 192.168.8.0/22 192.168.16.0/22 \netc…<\/p>","upvoteCount":0,"datePublished":"2020-03-29T21:14:31.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/4","author":{"@type":"Person","name":"spiceuser-1nzm7","url":"https://community.spiceworks.com/u/spiceuser-1nzm7"}},{"@type":"Answer","text":"
Yep your math is correct.<\/p>","upvoteCount":0,"datePublished":"2020-03-29T22:29:13.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/5","author":{"@type":"Person","name":"bbigford","url":"https://community.spiceworks.com/u/bbigford"}},{"@type":"Answer","text":"
I think you’ve misread the previous answer, there still is a subnet mask but the classful defaults aren’t necessarily in use.<\/p>\n
And FYI the classful defaults are (excluding D and E).<\/p>\n
Class SM CIDR<\/em><\/strong><\/p>\n
A 255.0.0.0 /8<\/p>\n
B 255.255.0.0 /16<\/p>\n
C 255.255.255.0 /24<\/p>\n
A classless subnet mask example is 255.255.255.192 or /26 in CIDR.<\/p>\n
edited for typo<\/p>","upvoteCount":0,"datePublished":"2020-03-30T00:46:15.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/6","author":{"@type":"Person","name":"jakelee4","url":"https://community.spiceworks.com/u/jakelee4"}},{"@type":"Answer","text":"
Oh no, I got what he meant. Just wanted to use another example with a different classless approach. But thanks for your feedback.<\/p>","upvoteCount":0,"datePublished":"2020-03-30T01:35:06.000Z","url":"https://community.spiceworks.com/t/subnetting/757044/7","author":{"@type":"Person","name":"leo76","url":"https://community.spiceworks.com/u/leo76"}},{"@type":"Answer","text":"