IP address subnet determination

MulliGan81

Junior Member
May 26, 2016
18
0
6
Having an arbitrary public IP address is there a way to determine the subnet it belongs to whithout knowing the net-mask?
 

Elizine

Member
Aug 15, 2015
25
0
16
bodhost.com
You can't derive a specific net-mask with just the IP address. This IP could be a valid address in any number of sub-nets and could therefore have a number of net-masks. In addition, depending on the situation, a net-mask isn't necessarily static per address (i.e. more than one net-mask can be utilized for one address depending on the scenario and requirements).
 

drebo

Diamond Member
Feb 24, 2006
7,035
1
81
Search it on ARIN/RIPE/APNIC/whatever your local RIR is and it'll tell you which allocated block the IP is in.

Use a route server to see the actual advertised block it's part of.

That's the best you can do.