Which software is the best for create a network map in ubuntu? I have bachelor thesis in college, theme is Network Infrastructure Discovery. I must create a network map, automatic discover devices on network in my college. The aim of this work is to describe methods of discovering devices on the local network and then create a map of computer network Constantine The Philosopher University in Nitra. Map network must be designed so that it can be continuously updated and edited. Software can work on Windows or Ubuntu. Format may be generated to export on Google Earth. Should contain computers, laptops, switches, routers, printers in network. Software like op manager, solarwinds NPM, prtg network monitor, lanstate pro, anturis in Windows, cheops-ng, opennms in Ubuntu.
You should be able to do what you need with Scapy in a few lines:
One of the examples, for traceroute but you can also scan your local network to find out what is there:
res,unans = traceroute(["www.microsoft.com","www.cisco.com","www.yahoo.com","www.wanadoo.fr","www.pacsec.com"],dport=[80,443],maxttl=20,retry=-2) Received 190 packets, got 190 answers, remaining 10 packets 188.8.131.52:443 184.108.40.206:80 220.127.116.11:443 18.104.22.168:80 207.46... 1 192.168.8.1 192.168.8.1 192.168.8.1 192.168.8.1 192.16... 2 22.214.171.124 126.96.36.199 188.8.131.52 184.108.40.206 82.251... 3 220.127.116.11 18.104.22.168 22.214.171.124 126.96.36.199 213.22... [...] res.graph() # piped to ImageMagick's display program. Image below. res.graph(type="ps",target="| lp") # piped to postscript printer res.graph(target="> /tmp/graph.svg") # saved to file