caste381
12 posts

Hi! Is there a quick way to find out the network address of a supernetted network without having to compare ip address and subnet mask? for example ip 10.24.34.24 255.255.252.0

Many thanks!

laith43d
109 posts

Your example is an example of subnetting not supernetting. And yes, there is a way. Try this application:

http://www.bitcricket.com/ip-subnet-calculator.html

Very useful and easy, real time saver.

caste381
12 posts

Very nice application indeed, thank you! Are you anyway aware of any "tricks" or "shortcuts" that would allow me to find the network number without using a calculator?

Thanks for your help

phaze01
10 posts

10.24.34.24 255.255.252.0

1) Subtract the the first non-255 octet value in the mask from 256

256 - 252 = 4

2) Find the highest multiple of that number that is less than or equal to the value in your IP address.

0,4,8,12,...,28,32

3) Copy the IP address, substituting that number into the octet you're working with and setting any octets after to 0.

10.24.32.0

caste381
12 posts

Great tip, phaze! Thanks to both of you guys.

pcolomes
1 post

Well, is a good way to do it. I always just compare the IP address and the mask finding the common bits, but this requires a little bit of mind agility and practice to work quickly.

By the way, if you have the IP address 10.24.34.24/23, how do you calculate the subnets? Is a doubt I've ever had. Are you taking the default class mask to obtain the number of subnets? I mean, how can I know if 10.24.34.24/23 was sub-netted starting from 10.0.0.0 or 10.24.0.0?.

Thanks

Jeff
8 posts

@pcolomes Use Phazes method, it's what I use.

10.24.34.24 /23 = 255.255.254.0

First subnet mask octet that is not 255 is the .254 in the third octet 256 - 254 = 2 You have a range of 2 in the third octet. Start at 10.24.0.0 and increment by 2 in the third octet.

10.24.0.0, 10.24.2.0, 10.24.4.0 ......10.24.34.0 <- is your network address

And since your increment (range) is 2 then your third octet can be only 34 or 35 (10.24.34.0-255 or 10.24.35.0-255 )

The 10.0.0.0 network was subnetted in the very beginning but you have no way of knowing what size subnet you got your /23 from. You would have to speak with whomever gave you the /23 to work with. Since it is the 10.0.0.0 network (which is private) the source should be within your organization.

Viewing 1 - 7 of 7

  • 1