Network Switch ip to port mapping using neo
Open Source Network Administration gives some introduction to this network tool called neo. Latest version can be found ktools.org (http://www.ktools.org/dist/neo/neo-1.3.1.tar.gz) There is one catch while you compile & install in Ubuntu since the object_statstransfer.c , object_sleeper.c uses CLK_TCK i think CLK_TCK obsolete we have to use CLOCKS_PER_SEC instead. But i just defined as followed in the both files. /* Define my constant */ #define CLK_TCK 100 Installation process : 1 ) gunzip -c neo-1.3.1.tar.gz | tar xvf - 2 ) cd neo-1.3.1 3 ) ./configure 4 ) Do the relevant changes as explained earlier in the both source files. 5 ) make 6 ) make install neo has its own command line. But basic things you need to get ip to port map two command arpfind , locate . Before doing that you can define the switches & the core router in one file. (router needed to find the ip to arp resolution) example /var/neo/switches 192.168.1.10 192.168.1.11 if you want to find the relevant ip to arp...