Para instalar o Lanmap:
sudo aptitude install lanmap
Sintaxe: lanmap [-o directory] [-e program] [-T {png,gif,svg}] [-f filtetr] [-D {#,all,raw}] [-r seconds]
Opções:
-o directory - The directory in which to save the generated images. Default is the current directory.
-e program - The program to use to generate images. Default is twopi.
-T {png,gif,svg} - Output image format. Default is png.
-f filter - Traffic filter, in libpcap syntax.
-D {#,all,raw} - Debug mode; lots of output, use with caution. #: payload bytes to dump (default: 0)
-r seconds - Set the time interval between 2 consecutive graph generations. Default is 60 seconds.
-i {?,*wildcard*,iface} - Interface to use: ?: list all devices and exit *3Com*: use the first NIC with “3Com” in it
-V - Version info.
-vv - Verbose mode, up to 3 levels (-vv, -vv09:21 29/11/2007v).
-h - Help message.
Exemplo: lanmap -i eth0 -r 30 -T png -o /tmp/ (cria um .png da rede em /tmp
Fonte: Ubuntu Geek