Showing results for 
Search instead for 
Do you mean 

subnet

SOLVED
Go to Solution
Super Advisor

subnet

Hi,

What is the command to find the subnet (not subnet mask) on windows operating system ?

Thanks,
Shiv
3 REPLIES
Honored Contributor

Re: subnet

If you want to know what is your network (all hosts bits set to 0) based on the subnet mask, you can use:

route print
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Occasional Advisor

Re: subnet

or did you want the simple answer or IPCONFIG /ALL
Esteemed Contributor

Re: subnet

Hi,

check the last Q under http://support.microsoft.com/kb/102908/en-us
This may shed some light.
In any case, I don't know of any command that will tell you the actual subnet you're in.
To find out this, you need your IP address in conjunction with your subnet mask.
You need a subnet calculator.
There are several ones on the Internet.

I use any of the following:

On-line:
http://www.subnet-calculator.com/

Software: http://ftp.wildpackets.com/pub/goodies/ipcalc321.exe

Hope it helps.
Tnks.
//Add this to "OnDomLoad" event