Hello, I am working on my Network+ certification, and believe I have an understanding now of the binary concept of subnetting, borrowing bits from host for network address, etc, but how do you actually implement it in a real-world environment?<\/p>\n
How would I create two subnets on same LAN, (/25 with 126 hosts each)? Presumably the second network would have IP ranges starting with 129-254?<\/p>\n
Is this done on the router, or how would this be implemented?<\/p>\n
Can modern routers have two gateway addresses for two networks?<\/p>\n
If you created two separate networks, such as 192.168.1.0 and 192.168.2.0, its no longer a subnet right? Its now just two class c networks with 254 hosts each. The same would be true if you created a vlan?<\/p>\n
If you can just create two networks, what is the point of subnetting?<\/p>\n
Can anyone provide a very rough procedure to create a subnet on a home network, and explain how this might differ from the vlan or 2 separate networks above? Thanks for any help, this stuff is very interesting to me and I’m looking forward to learning more as I pursue this path.<\/p>","upvoteCount":16,"answerCount":13,"datePublished":"2019-05-22T17:17:42.000Z","author":{"@type":"Person","name":"spiceuser-xusdl","url":"https://community.spiceworks.com/u/spiceuser-xusdl"},"suggestedAnswer":[{"@type":"Answer","text":"
Hello, I am working on my Network+ certification, and believe I have an understanding now of the binary concept of subnetting, borrowing bits from host for network address, etc, but how do you actually implement it in a real-world environment?<\/p>\n
How would I create two subnets on same LAN, (/25 with 126 hosts each)? Presumably the second network would have IP ranges starting with 129-254?<\/p>\n
Is this done on the router, or how would this be implemented?<\/p>\n
Can modern routers have two gateway addresses for two networks?<\/p>\n
If you created two separate networks, such as 192.168.1.0 and 192.168.2.0, its no longer a subnet right? Its now just two class c networks with 254 hosts each. The same would be true if you created a vlan?<\/p>\n
If you can just create two networks, what is the point of subnetting?<\/p>\n
Can anyone provide a very rough procedure to create a subnet on a home network, and explain how this might differ from the vlan or 2 separate networks above? Thanks for any help, this stuff is very interesting to me and I’m looking forward to learning more as I pursue this path.<\/p>","upvoteCount":16,"datePublished":"2019-05-22T17:17:43.000Z","url":"https://community.spiceworks.com/t/help-with-subnets/713219/1","author":{"@type":"Person","name":"spiceuser-xusdl","url":"https://community.spiceworks.com/u/spiceuser-xusdl"}},{"@type":"Answer","text":"
In the “real world” this isn’t done anymore - by that, I mean subnetting.<\/p>\n
In the old days, you were given a network. It was a range of public IPs. It was up to you to divide that network in a way that worked for your business.<\/p>\n
If I gave you a Class C network and you had four campuses, you’d have to divide those addresses up among those four by creating smaller networks that were all still within the scope of the original network.<\/p>\n
It wasn’t often as easy as saying “Just divide by 4!” Maybe one campus had 100 hosts, another 50, another 20, and the last 10. Your job, as network engineer, was to come up with a scheme that allowed that Class C to satisfy all those campuses. That is subnetting.<\/p>\n
Today, with all of the RFC1918 private address space and NAT/PAT, no one subnets anymore. Instead, people just pick a prefix a.b.c.0 and add a /24 after it.<\/p>\n
You might find a rare instance where subnetting is still used - an ISP connection. Each campus has a /28 block and a /30 block. My IPs are the /28 and the ISP’s router is one of the two IPs in the /30 - my router is the other. Somebody at the ISP had to figure out those address ranges so they don’t overlap and so all the IPs get routed to the right place. But even that’s moving to the RFC1918 address space.<\/p>","upvoteCount":3,"datePublished":"2019-05-22T17:58:55.000Z","url":"https://community.spiceworks.com/t/help-with-subnets/713219/2","author":{"@type":"Person","name":"Robert5205","url":"https://community.spiceworks.com/u/Robert5205"}},{"@type":"Answer","text":"
Welcome to the community!<\/p>\n
Here is a real world example of how I am taking a base network of /23 size, and subnetting it into multiple smaller networks so I can isolate the different types of devices and explicitly control the traffic flow through my firewall. All of the subnets have their gateway on my firewall. You will notice that I use all sorts of different sized subnets, depending on how many devices I need in the subnet.<\/p>\n
The base network for this location is 192.168.112/23, which encompases 192.168.112.1-192.168.113.254 as usable IP addresses.<\/p>\n
Yes, a router could have all of these networks on it. Typically you would have a sub-interface for each subnet.<\/p>\n
This is much more complicated than what I would recommend to a beginner. If you can understand it, you are in good shape.<\/p>\n
Part of how I got here is that my branches were originally setup with a single /23 network, and I am trying to introduce new subnets while still fitting into that same general address space.<\/p>\n
VLAN\tDesc\t\tNetwork ID\t\tSubnet\tMask\n100\tSERVERS\t\t192.168.112.0\t\t27\t255.255.255.224\n101\tPCs\t\t192.168.113.128\t 25\t255.255.255.128\n102\tWIRELESS\t192.168.113.64\t\t26\t255.255.255.192\n132\tPRINTERS\t192.168.112.32\t\t28\t255.255.255.240\n148\tWAP\t\t192.168.112.48\t\t28\t255.255.255.240\n164\tACCESS_CONTROL\t192.168.112.64\t\t28\t255.255.255.240\n180\tDVR\t\t192.168.112.80\t\t28\t255.255.255.240\n196\tUPS\t\t192.168.112.96\t\t28\t255.255.255.240\n200\tiDRAC\t\t192.168.113.0\t\t27\t255.255.255.224\n\n<\/code><\/pre>","upvoteCount":1,"datePublished":"2019-05-22T18:39:33.000Z","url":"https://community.spiceworks.com/t/help-with-subnets/713219/3","author":{"@type":"Person","name":"kevinhsieh","url":"https://community.spiceworks.com/u/kevinhsieh"}},{"@type":"Answer","text":"