On 2010.05.19 20:59, Steve Bertrand wrote:
> On 2010.05.19 15:05, Bob McConnell wrote:
>> From: Brian
>>
>>> On May 19, 2010, at 1:19 PM, packet wrote:
>>>
>>>> How can we map a network in perl?
>>>>
>>>> i was just thinking how we can do that.Sorry new to perl.
> 
>>> Only way I know how to do it is with the use of Net::SNMP and
>>> Net::Ping. Use Net::SNMP to get a list of adjacent networks
>>> from routers, and use net::Ping to ping sweep those networks
>>> looking for new nodes. Basically repeat that process until the
>>> network is mapped.
> 
>> I would start by playing with nmap and think about using Perl to reduce
>> the results
>> to a usable format.
> 
> ...amen.
> 
> Beyond that, why not use what already exists? What type/size/structure
> of network do you have?
> 
> I guess the more important question, is who's network do you want to
> map? If you are just learning, I'd recommend doing so in a very confined
> space...
> 
> If you are serious network person, there are a lot of good scripts
> written in Perl for Cacti that you can examine and use as potential
> roadmaps:

s/good//

> http://www.cacti.net/additional_scripts.php

Also (forgive wrap):

http://www.google.ca/#hl=en&source=hp&q=network+mapping+perl&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=f38a17d08d866c0

Steve

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to