Networking Forums

Networking Forums > Computer Networking > Windows Networking > Listing all IPs and their assigned names?

Reply
Thread Tools Display Modes

Listing all IPs and their assigned names?

 
 
boe
Guest
Posts: n/a

 
      02-17-2005, 12:33 PM
I have a DHCP server on a network that seems to have quite a few
undocumented static IPs. Is their an easyway of doing something like a
tracert that goes to all the IPs on the network segment and outputs them to
a file? I tried creating a batch file that would do it with no luck, each
tracert would overwrite the last output. I downloaded NewT but couldn't
figure a way of getting it from that either.

Thank


 
Reply With Quote
 
 
 
 
Doug Sherman [MVP]
Guest
Posts: n/a

 
      02-17-2005, 02:34 PM
If you use a double redirect sign, the output should be appended to the
file:

tracert 192.168.1.1 >> c:\tracert.txt
tracert 192.168.1.2 >> c:\tracert.txt

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP

"boe" <(E-Mail Removed)> wrote in message
news:Og0$(E-Mail Removed)...
> I have a DHCP server on a network that seems to have quite a few
> undocumented static IPs. Is their an easyway of doing something like a
> tracert that goes to all the IPs on the network segment and outputs them

to
> a file? I tried creating a batch file that would do it with no luck, each
> tracert would overwrite the last output. I downloaded NewT but couldn't
> figure a way of getting it from that either.
>
> Thank
>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      02-17-2005, 02:39 PM
I assume you did something like:

Tracert 192.168.1.1 > mylist.txt

You need to use two ">"s so that it appends instead of overwriting. The
first line can still be a single ">" if you want it to start a fresh file
everytime it is run

Tracert 192.168.1.1 >> mylist.txt


--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"boe" <(E-Mail Removed)> wrote in message
news:Og0$(E-Mail Removed)...
> I have a DHCP server on a network that seems to have quite a few
> undocumented static IPs. Is their an easyway of doing something like a
> tracert that goes to all the IPs on the network segment and outputs them

to
> a file? I tried creating a batch file that would do it with no luck, each
> tracert would overwrite the last output. I downloaded NewT but couldn't
> figure a way of getting it from that either.
>
> Thank
>
>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      02-17-2005, 02:41 PM
You should use "NBTStat -a" instead of Tracert, or "ping -a" would probably
work too. Try it maunally first before trying it in the batch file.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

"boe" <(E-Mail Removed)> wrote in message
news:Og0$(E-Mail Removed)...
> I have a DHCP server on a network that seems to have quite a few
> undocumented static IPs. Is their an easyway of doing something like a
> tracert that goes to all the IPs on the network segment and outputs them

to
> a file? I tried creating a batch file that would do it with no luck, each
> tracert would overwrite the last output. I downloaded NewT but couldn't
> figure a way of getting it from that either.
>
> Thank
>
>



 
Reply With Quote
 
boe
Guest
Posts: n/a

 
      02-17-2005, 07:17 PM
Thanks!
"Doug Sherman [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> If you use a double redirect sign, the output should be appended to the
> file:
>
> tracert 192.168.1.1 >> c:\tracert.txt
> tracert 192.168.1.2 >> c:\tracert.txt
>
> Doug Sherman
> MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
>
> "boe" <(E-Mail Removed)> wrote in message
> news:Og0$(E-Mail Removed)...
>> I have a DHCP server on a network that seems to have quite a few
>> undocumented static IPs. Is their an easyway of doing something like a
>> tracert that goes to all the IPs on the network segment and outputs them

> to
>> a file? I tried creating a batch file that would do it with no luck,
>> each
>> tracert would overwrite the last output. I downloaded NewT but couldn't
>> figure a way of getting it from that either.
>>
>> Thank
>>
>>

>
>



 
Reply With Quote
 
boe
Guest
Posts: n/a

 
      02-17-2005, 07:17 PM
Thank you!
"Phillip Windell" <@.> wrote in message
news:(E-Mail Removed)...
>I assume you did something like:
>
> Tracert 192.168.1.1 > mylist.txt
>
> You need to use two ">"s so that it appends instead of overwriting. The
> first line can still be a single ">" if you want it to start a fresh file
> everytime it is run
>
> Tracert 192.168.1.1 >> mylist.txt
>
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
>
> "boe" <(E-Mail Removed)> wrote in message
> news:Og0$(E-Mail Removed)...
>> I have a DHCP server on a network that seems to have quite a few
>> undocumented static IPs. Is their an easyway of doing something like a
>> tracert that goes to all the IPs on the network segment and outputs them

> to
>> a file? I tried creating a batch file that would do it with no luck,
>> each
>> tracert would overwrite the last output. I downloaded NewT but couldn't
>> figure a way of getting it from that either.
>>
>> Thank
>>
>>

>
>



 
Reply With Quote
 
boe
Guest
Posts: n/a

 
      02-17-2005, 07:18 PM
Thanks
"Phillip Windell" <@.> wrote in message
news:us$(E-Mail Removed)...
> You should use "NBTStat -a" instead of Tracert, or "ping -a" would
> probably
> work too. Try it maunally first before trying it in the batch file.
>
> --
>
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
>
> "boe" <(E-Mail Removed)> wrote in message
> news:Og0$(E-Mail Removed)...
>> I have a DHCP server on a network that seems to have quite a few
>> undocumented static IPs. Is their an easyway of doing something like a
>> tracert that goes to all the IPs on the network segment and outputs them

> to
>> a file? I tried creating a batch file that would do it with no luck,
>> each
>> tracert would overwrite the last output. I downloaded NewT but couldn't
>> figure a way of getting it from that either.
>>
>> Thank
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
arp listing problem En Effet Linux Networking 0 03-25-2008 07:10 PM
How are device names assigned to eth devices? Bill Unruh Linux Networking 14 09-21-2007 01:17 AM
Group names, user names and domains gururajan20815@yahoo.com Windows Networking 2 12-26-2005 02:14 PM
User listing bigbrian Home Networking 0 11-26-2004 11:49 AM
Network Listing Capt. Len Windows Networking 0 08-10-2003 09:00 PM



1 2 3 4 5 6 7 8 9 10 11