Subnetting
-
@wrcombs said in Subnetting:
How do those in the community do the subnetting they need?
Step One: Avoid common consumer ranges (e.g. 192.168.0.x and 192.168.1.x)
Step Two: Determine reasonable number of IPs needed (say 50 or 300)
Step THree: Make sure we choose a subnet many times larger than that (say 1000 or 2000)
Step Four: If the subnet results in needed over 4000 IPs, consider VLANingTHat's it. SO easy. THere's nothing to it. Just default to 2000 and pick a different range each time in case customers want to connect to each other. There's nothing confusing, hard, or magic.
-
THe smallest that I will ever deploy is a /23 and really, a /22 is the smallest I should consider. There's no reason to be smaller than that unless you have a very special case.
-
@scottalanmiller said in Subnetting:
THe smallest that I will ever deploy is a /23 and really, a /22 is the smallest I should consider. There's no reason to be smaller than that unless you have a very special case.
Yeah, we still have /24 all over the place. Ends up being a pain because you run out of address space for even small places.
-
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
Subnetting in General is kind of confusing the more videos I watch and the deeper I get into it.
It's SO simple. Something is definitely wrong. It's just a mask and totally logical.
I feel like it should be extremely simple and logical, but when I'm watching the videos and the instructor is saying ;
Here find the Network address and broadcast address of this IP in CIDR notation;
192.168.129.0/24
I know that off top of my head is;
the mask is 255.255.255.0
Network 192.168.129.0
first usable is 192.168.129.1
Broadcast is 192.168.129.255
last usable is 192.168.129.254but when the questions are "you need 4 networks which subnet mask would you use on this ip: 10.1.1.25"
I freeze up. I know that /26 gives me 4 networks with 64 hosts per network, so my IP scheme should be
10.1.1.25 /26
255.255.255.192At least I think that's right. I was told I would need a chart and I would need to study the chart to make it quick - I'm just having a hell of a time understanding it..
I probably just need to practice
-
@wrcombs said in Subnetting:
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
Subnetting in General is kind of confusing the more videos I watch and the deeper I get into it.
It's SO simple. Something is definitely wrong. It's just a mask and totally logical.
I feel like it should be extremely simple and logical, but when I'm watching the videos and the instructor is saying ;
Here find the Network address and broadcast address of this IP in CIDR notation;
192.168.129.0/24
I know that off top of my head is;
the mask is 255.255.255.0
Network 192.168.129.0
first usable is 192.168.129.1
Broadcast is 192.168.129.255
last usable is 192.168.129.254but when the questions are "you need 4 networks which subnet mask would you use on this ip: 10.1.1.25"
I freeze up. I know that /26 gives me 4 networks with 64 hosts per network, so my IP scheme should be
10.1.1.25 /26
255.255.255.192At least I think that's right. I was told I would need a chart and I would need to study the chart to make it quick - I'm just having a hell of a time understanding it..
I probably just need to practice
The "cheat sheet" I use: https://www.calculator.net/ip-subnet-calculator.html
-
@travisdh1 said in Subnetting:
@scottalanmiller said in Subnetting:
THe smallest that I will ever deploy is a /23 and really, a /22 is the smallest I should consider. There's no reason to be smaller than that unless you have a very special case.
Yeah, we still have /24 all over the place. Ends up being a pain because you run out of address space for even small places.
we typically only use /24 because 253 (without network address/ broadcast address) host addresses are plenty for a 3 terminal 1 Server site.
I don't think there was ever time we needed 500+ address like Scott is using, but That's not to say it wont happen. in the future when I move on.
-
@travisdh1 said in Subnetting:
@scottalanmiller said in Subnetting:
THe smallest that I will ever deploy is a /23 and really, a /22 is the smallest I should consider. There's no reason to be smaller than that unless you have a very special case.
Yeah, we still have /24 all over the place. Ends up being a pain because you run out of address space for even small places.
Yeah, these days every little thing uses an IP address, and tons of people have phones, watches, etc. that all use them as guests. Even a tiny place can go through thousands.
-
@wrcombs said in Subnetting:
but when the questions are "you need 4 networks which subnet mask would you use on this ip: 10.1.1.25"
That's gibberish. There's no way to know based on what is stated.
-
@wrcombs said in Subnetting:
we typically only use /24 because 253 (without network address/ broadcast address) host addresses are plenty for a 3 terminal 1 Server site.
Only if you don't have any guests on it.
-
@wrcombs said in Subnetting:
we typically only use /24 because 253 (without network address/ broadcast address) host addresses are plenty for a 3 terminal 1 Server site.
Keep in mind that just because it is normally enough, isn't good logic for introducing risk for no reason. That's why you make them larger by default, because there is risk to being small, not to being larger. It's all free, so just type a better number like /23 instead of /24 and voila, you've improved network safety with literally zero effort.
-
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
we typically only use /24 because 253 (without network address/ broadcast address) host addresses are plenty for a 3 terminal 1 Server site.
Keep in mind that just because it is normally enough, isn't good logic for introducing risk for no reason. That's why you make them larger by default, because there is risk to being small, not to being larger. It's all free, so just type a better number like /23 instead of /24 and voila, you've improved network safety with literally zero effort.
Except in his case they have absolute control it is only a point-of-sale device net work
-
@jaredbusch said in Subnetting:
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
we typically only use /24 because 253 (without network address/ broadcast address) host addresses are plenty for a 3 terminal 1 Server site.
Keep in mind that just because it is normally enough, isn't good logic for introducing risk for no reason. That's why you make them larger by default, because there is risk to being small, not to being larger. It's all free, so just type a better number like /23 instead of /24 and voila, you've improved network safety with literally zero effort.
Except in his case they have absolute control it is only a point-of-sale device net work
They do, at the moment. But things can change. No matter how safe it is today, one decision tomorrow and something totally safe today becomes a pain. Might as well just avoid it.
-
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
but when the questions are "you need 4 networks which subnet mask would you use on this ip: 10.1.1.25"
That's gibberish. There's no way to know based on what is stated.
I probably missed the actual question.. but questions similar to that confuse me.
-
@wrcombs said in Subnetting:
@scottalanmiller said in Subnetting:
@wrcombs said in Subnetting:
but when the questions are "you need 4 networks which subnet mask would you use on this ip: 10.1.1.25"
That's gibberish. There's no way to know based on what is stated.
I probably missed the actual question.. but questions similar to that confuse me.
It's all math and high school style word problems. It's all about "to meet the requirements", what options would you choose so that the sizes are correct.