cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
867
Views
0
Helpful
7
Replies

Figuring out Subnet mask

skhirbash
Level 1
Level 1

Hi all,

If you were given an IP address only and want to figure out the subnet mask, how would you do that? Here is an examples: IP address: 10.17.8.0

Thanks in advance,

sK

7 Replies 7

Jon Marshall
Hall of Fame
Hall of Fame

sK

It's not possible to say. You can say that the "natural" mask for a 10.x.x.x network is 255.0.0.0 but that doesn't mean that is the subnet mask in use.

With only a single IP address it's not possible to say.

Jon

godspeeds
Level 1
Level 1

The IP address always comes with a network mask no matter fix or dynamic IP. Can't tell you the exactly subnet mask with a single ip address.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Only if the IP addressing was using "classful" addresses from RFC 791 could you know the subnet mask without it being explicit. When it does, the high order network bits will determine the mask. (This also assumes no subnetting.)

See http://en.wikipedia.org/wiki/Classful_network

Perhaps if origical poster could elaborate a bit more in terms of who is giving the IP address would probably help, but plain and simple as others have indicated it is hard to tell the mask by looking at a single IP address alone, think of this, much like a home address without specifying CITY STATE.

Jorge Rodriguez

Thanks to all for your responses. I inherited a network from a prior engineer and I was in the process of analyzing the network diagrams. The network diagrams don't show the subnet mask but only show the IP address, so that's why I was inquring about a way of finding the subnet mask based on the IP address only.

I hope this helps!

Thanks again,

sK

Understandable and I see your point, most of us Im sure usually use in diagrams at least I do the mask in bits represented in its decimal value /23 /24 etc..

but in the case of trying to verify which networks are in placed/advertized is looking at routing tables on companies central CORE router, routing tables would definately provide mask information for all your private networks.

Regards

Jorge Rodriguez

Great insight!

Thanks,

sK

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card