Need to figure out a subnet.

I have a range of IP's a beginning and and end how can I figure out the subnet?  209.182.170.239-254
WellingtonISAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad Farjad ArshadSystem EngineerCommented:
IP range is usually decided by the number of hosts you like to have in a subnet let suppose you need 30 hosts in a particular subnet then you will use 192.168.1.0-192.168.1.32 which contains 30 hosts and move forward
WellingtonISAuthor Commented:
Well I understand that but I was given the range I'm just trying to figure out the subnet
Adelaido JimenezDevOpsCommented:
What about if you try the experts exchange tool. https://www.experts-exchange.com/tools/subnet-calculator.html
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

atlas_shudderedSr. Network EngineerCommented:
The network range will be between a /24 and a /27.

What is the default gateway for the IPs they have given you?
nociSoftware EngineerCommented:
/27 is the smallest subnet, /0 (the internet) the largest describing this network.
Coolie SheppardSystems EngineerCommented:
It'll be a /28 or 255.255.255.240

You can always use the following: http://www.subnet-calculator.com/cidr.php

Enter in the ending IP address and change the CIDR and see what value the beginning and ending IP addresses falls in
nociSoftware EngineerCommented:
@coolie sheppard,   it really needs a /27... (/28 start @ 240 and end on 255) so 239 is still missing out.
atlas_shudderedSr. Network EngineerCommented:
Again, The network range will be between a /24 and a /27.  Scope is a Class C so mask will be nothing larger than /24.  Due to the range of the provided IP's, the mask cannot be larger than /27 as anything smaller will fall across the S/N boundary, so it cannot/will not be a /28.

It also does not have to be a /27.  The default gateway is going to tell a lot about the mask size.  Even better, the ISP.
nociSoftware EngineerCommented:
Search on address deleiverd this:
Your ISP obtained a /20 block and probably carved it into smaller blocks (class has nothing to do with /CIDR....)
If it is a class block it is /24...
at it's own it needs a /27 (at minimum blocksize) and can be as large as /20 within this ISP.  (then you would have the complete block...)
(after the  the / a smaller number means a more hosts).
Addresses after this range would not get routed to your ISP ans thus not to you.

NetRange:       209.182.160.0 - 209.182.175.255
CIDR:           209.182.160.0/20
NetName:        AMERI-43
NetHandle:      NET-209-182-160-0-1
Parent:         NET209 (NET-209-0-0-0-0)
NetType:        Direct Assignment
OriginAS:       AS13628
Organization:   AMERISOURCEBERGEN (AMERI-43)
RegDate:        2016-04-14
Updated:        2016-04-18
Ref:            https://rdap.arin.net/registry/ip/209.182.160.0
nociSoftware EngineerCommented:
/28 is not correct.   (that is 240-255, or 224-239)   it does not contain   both 239 & 254.
AlanConsultantCommented:
I have to agree with Noci and atlas_shuddered - WellingtonIS has marked as a solution, an answer that is demonstrably incorrect.

This cannot be a /28.

209.182.170.240 / 28 (or mathematically, up to and including 209.182.170.255 / 28) gives you:

209.182.170.240 through 209.182.170.255 inclusive

It excludes 209.182.170.239 which WellingtonIS explicitly said must be included - refer to their question:

I have a range of IP's a beginning and and end how can I figure out the subnet?  209.182.170.239-254


For anyone reading this later - please disregard WellingtonIS, and do not follow the solution they have marked as correct.


Thanks,

Alan.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
subnets

From novice to tech pro — start learning today.