<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Find All Active/Used IP Addresses on Your Network</title>
	<atom:link href="http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/</link>
	<description>Your one stop Information Technology Resource</description>
	<lastBuildDate>Sun, 25 Dec 2011 04:10:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tom</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-101935</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sun, 25 Dec 2011 04:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-101935</guid>
		<description>&lt;a href=&quot;#comment-92057&quot; rel=&quot;nofollow&quot;&gt;@jay &lt;/a&gt; 
before opening command prompt, right click and select open as administrator.</description>
		<content:encoded><![CDATA[<p><a href="#comment-92057" rel="nofollow">@jay </a><br />
before opening command prompt, right click and select open as administrator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LAB30</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-98817</link>
		<dc:creator>LAB30</dc:creator>
		<pubDate>Thu, 08 Dec 2011 19:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-98817</guid>
		<description>Is there a way to input all of my IP ranges/subnets into this command or any other and get the same results.  Looking for away to get all in use IPs on my network which has both XP/WIN 7 OS&#039;s.</description>
		<content:encoded><![CDATA[<p>Is there a way to input all of my IP ranges/subnets into this command or any other and get the same results.  Looking for away to get all in use IPs on my network which has both XP/WIN 7 OS&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssppuunn</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-98740</link>
		<dc:creator>ssppuunn</dc:creator>
		<pubDate>Thu, 08 Dec 2011 13:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-98740</guid>
		<description>Apologies, that first one should be:

@echo off &amp; For /L %i in (1,1,255) do @ping -n 1 192.168.10.%%i &#124; find “Request” &gt;nul &amp; if errorlevel 1 @echo 192.168.10.%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt

I had %%i incorrectly before which should be %i.  The %%i in the second one is correct since it is in a batch file.

Oh, and the arp -a command only gives you your computer&#039;s IPs, which you can get with ipconfig /all as well.

There is also a program called &quot;Advanced IP Scanner (v2.1.200)&quot; which you can download free from radmin.com if you prefer a GUI.  It shows IPs/NETBIOS names in your subnets and has some options.

Enjoy!</description>
		<content:encoded><![CDATA[<p>Apologies, that first one should be:</p>
<p>@echo off &amp; For /L %i in (1,1,255) do @ping -n 1 192.168.10.%%i | find “Request” &gt;nul &amp; if errorlevel 1 @echo 192.168.10.%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt</p>
<p>I had %%i incorrectly before which should be %i.  The %%i in the second one is correct since it is in a batch file.</p>
<p>Oh, and the arp -a command only gives you your computer&#8217;s IPs, which you can get with ipconfig /all as well.</p>
<p>There is also a program called &#8220;Advanced IP Scanner (v2.1.200)&#8221; which you can download free from radmin.com if you prefer a GUI.  It shows IPs/NETBIOS names in your subnets and has some options.</p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssppuunn</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-98737</link>
		<dc:creator>ssppuunn</dc:creator>
		<pubDate>Thu, 08 Dec 2011 12:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-98737</guid>
		<description>jay, et al., if you do not have permission to write to your root directory, try:

@echo off &amp; For /L %%i in (1,1,255) do @ping -n 1 192.168.10.%%i &#124; find &quot;Request&quot; &gt;nul &amp; if errorlevel 1 @echo 192.168.10.%%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt

Alternately, you could put the above command in a bat or cmd file and test for any subnet on the command line.  Open up notepad and save the following...

@echo off &amp; For /L %%i in (%4,1,255) do @ping -n 1 %1.%2.%3.%%i &#124; find &quot;Request&quot; &gt;nul &amp; if errorlevel 1 @echo %1.%2.%3.%%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt

... into a file which you save as SUBSCAN.CMD or [your_filename].bat or whatever (using .bat or .cmd extension in WinXP &amp; up), and save the file somewhere in your PATH folders (to find these use the PATH command on the command line -- usually C:\WINDOWS and C:\WINDOWS\System32 are fine).  Then type:

subscan 192 168 10 0

to run the batch file.  Note that you are replacing all dots (&quot;.&quot;) with spaces 
(&quot; &quot;).

Enjoy!</description>
		<content:encoded><![CDATA[<p>jay, et al., if you do not have permission to write to your root directory, try:</p>
<p>@echo off &amp; For /L %%i in (1,1,255) do @ping -n 1 192.168.10.%%i | find &#8220;Request&#8221; &gt;nul &amp; if errorlevel 1 @echo 192.168.10.%%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt</p>
<p>Alternately, you could put the above command in a bat or cmd file and test for any subnet on the command line.  Open up notepad and save the following&#8230;</p>
<p>@echo off &amp; For /L %%i in (%4,1,255) do @ping -n 1 %1.%2.%3.%%i | find &#8220;Request&#8221; &gt;nul &amp; if errorlevel 1 @echo %1.%2.%3.%%i &gt;&gt; %USERPROFILE%\Desktop\ipaddresses.txt</p>
<p>&#8230; into a file which you save as SUBSCAN.CMD or [your_filename].bat or whatever (using .bat or .cmd extension in WinXP &amp; up), and save the file somewhere in your PATH folders (to find these use the PATH command on the command line &#8212; usually C:\WINDOWS and C:\WINDOWS\System32 are fine).  Then type:</p>
<p>subscan 192 168 10 0</p>
<p>to run the batch file.  Note that you are replacing all dots (&#8220;.&#8221;) with spaces<br />
(&#8221; &#8220;).</p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-96361</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Tue, 29 Nov 2011 17:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-96361</guid>
		<description>Under Windows Vista, 7 &amp; Server 2008 you need to run this from an elevated command prompt, otherwise you&#039;ll get the &#039;Access Denied&#039; error.  To do this, right-click on Command Prompt and select &#039;Run as administrator&#039;.</description>
		<content:encoded><![CDATA[<p>Under Windows Vista, 7 &amp; Server 2008 you need to run this from an elevated command prompt, otherwise you&#8217;ll get the &#8216;Access Denied&#8217; error.  To do this, right-click on Command Prompt and select &#8216;Run as administrator&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-92057</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Fri, 21 Oct 2011 11:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-92057</guid>
		<description>i get a &quot;access denied&quot; after typing FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i &#124; FIND /I “Reply” &gt;&gt; c:\ipaddresses.txt ... any suggestions what to do? thx.</description>
		<content:encoded><![CDATA[<p>i get a &#8220;access denied&#8221; after typing FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /I “Reply” &gt;&gt; c:\ipaddresses.txt &#8230; any suggestions what to do? thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-91024</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 13 Oct 2011 04:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-91024</guid>
		<description>I came up with this. I need to find a way to show all IPs being used too.

@echo off

color 0A
cls
:ipaddress
::Get IP address and save it to ip
for /f &quot;tokens=1-2 delims=:&quot; %%a in (&#039;ipconfig^&#124;find &quot;IP Address&quot;&#039;) do set ip=%%b
set ip=%ip:~1%

:gateway
::Get Gateway address and save it to gateway
for /f &quot;tokens=1-2 delims=:&quot; %%a in (&#039;ipconfig^&#124;find &quot;Gateway&quot;&#039;) do set gateway=%%b
set gateway=%gateway:~1%

:DNS
::Get Gateway address and save it to gateway
for /f &quot;tokens=1-2 delims=:&quot; %%a in (&#039;ipconfig^&#124;find &quot;DNS&quot;&#039;) do set dns=%%b
set dns=%dns:~1%

cls
echo Your IP address is %ip%
echo Your router address is %gateway%
echo Your DNS address is %dns%
echo Your computers name is %computername%
pause

::cls
::ipconfig /all
::pause

cls
echo Now ping the gateway first
ping %gateway% -a
pause

cls
echo Now ping the ipaddress and see if the DNS is working
echo If you don&#039;t see the computer&#039;s name then the DNS isn&#039;t resolving host names
ping %ip% -a
pause

cls
::enter the command for this computer&#039;s name
echo edit this file to include the code for this computer&#039;s name
pause


goto ipaddress
:end</description>
		<content:encoded><![CDATA[<p>I came up with this. I need to find a way to show all IPs being used too.</p>
<p>@echo off</p>
<p>color 0A<br />
cls<br />
:ipaddress<br />
::Get IP address and save it to ip<br />
for /f &#8220;tokens=1-2 delims=:&#8221; %%a in (&#8216;ipconfig^|find &#8220;IP Address&#8221;&#8216;) do set ip=%%b<br />
set ip=%ip:~1%</p>
<p>:gateway<br />
::Get Gateway address and save it to gateway<br />
for /f &#8220;tokens=1-2 delims=:&#8221; %%a in (&#8216;ipconfig^|find &#8220;Gateway&#8221;&#8216;) do set gateway=%%b<br />
set gateway=%gateway:~1%</p>
<p>:DNS<br />
::Get Gateway address and save it to gateway<br />
for /f &#8220;tokens=1-2 delims=:&#8221; %%a in (&#8216;ipconfig^|find &#8220;DNS&#8221;&#8216;) do set dns=%%b<br />
set dns=%dns:~1%</p>
<p>cls<br />
echo Your IP address is %ip%<br />
echo Your router address is %gateway%<br />
echo Your DNS address is %dns%<br />
echo Your computers name is %computername%<br />
pause</p>
<p>::cls<br />
::ipconfig /all<br />
::pause</p>
<p>cls<br />
echo Now ping the gateway first<br />
ping %gateway% -a<br />
pause</p>
<p>cls<br />
echo Now ping the ipaddress and see if the DNS is working<br />
echo If you don&#8217;t see the computer&#8217;s name then the DNS isn&#8217;t resolving host names<br />
ping %ip% -a<br />
pause</p>
<p>cls<br />
::enter the command for this computer&#8217;s name<br />
echo edit this file to include the code for this computer&#8217;s name<br />
pause</p>
<p>goto ipaddress<br />
:end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-91020</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 13 Oct 2011 03:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-91020</guid>
		<description>I used the 
FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i &#124; FIND /I “Reply” &gt;&gt; c:\ipaddresses.txt

and I get an error that goes by so quick I can&#039;t see it. Can someone please attempt this in a batch and resolve the issue. I actually have commands that find the IP address and gatewa and save them to variables, I pass that into this code (instead of the 192.168.10.%1) but I need to remove the last octect. (don&#039;t know how to do that either.) I don&#039;t need to pass it into a file, just display the used IPs and resolve the name ( -a)
Would someone please put that in a batch and test it? This is a server test utility to see if the DNS is working.</description>
		<content:encoded><![CDATA[<p>I used the<br />
FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /I “Reply” &gt;&gt; c:\ipaddresses.txt</p>
<p>and I get an error that goes by so quick I can&#8217;t see it. Can someone please attempt this in a batch and resolve the issue. I actually have commands that find the IP address and gatewa and save them to variables, I pass that into this code (instead of the 192.168.10.%1) but I need to remove the last octect. (don&#8217;t know how to do that either.) I don&#8217;t need to pass it into a file, just display the used IPs and resolve the name ( -a)<br />
Would someone please put that in a batch and test it? This is a server test utility to see if the DNS is working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hector</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-89251</link>
		<dc:creator>hector</dc:creator>
		<pubDate>Tue, 27 Sep 2011 03:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-89251</guid>
		<description>the nmap one gives me: &#039;nmap&#039; is not recognized as an internal or external command, operable program or batch file.</description>
		<content:encoded><![CDATA[<p>the nmap one gives me: &#8216;nmap&#8217; is not recognized as an internal or external command, operable program or batch file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hector</title>
		<link>http://www.itresource.com.au/2008/04/11/find-all-activeused-ip-addresses-on-your-network/comment-page-1/#comment-89250</link>
		<dc:creator>hector</dc:creator>
		<pubDate>Tue, 27 Sep 2011 03:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.itresource.com.au/?p=124#comment-89250</guid>
		<description>I get an access denied error</description>
		<content:encoded><![CDATA[<p>I get an access denied error</p>
]]></content:encoded>
	</item>
</channel>
</rss>

