Community discussions

 
Ivoshiee
Member
Member
Topic Author
Posts: 471
Joined: Sat May 06, 2006 4:11 pm

Neighbour discovery tool for Linux?

Thu Jan 03, 2013 6:20 pm

I tried Winbox over the wine and it didn't find any MT devices connected to a LAN port and then Neighbour discovery tool which errored out. With little tinkering it turned out that recent Linux kernel advancements what have introduced network device names like "p4p1" is too much for the Windows binaries. I got the Winbox and Neighbour discovery tool to see MT devices over the wifi device purely because it is "eth1".

That issue and the terminal font/alignment issue (http://forum.mikrotik.com/viewtopic.php?f=2&t=68497) does render MT tools useless outside the Windows realm.

Obviously it is too much (is it really?) to ask for a native Linux port of the Winbox, but asking for a native port of the Mikrotik Neighbour discovery tool is not that much - it is just some cutting and pasting some generic code out of Windows counterpart source and that is it. There is no extensive libraries involved or some tricky backend code to maintain.

When should we see it happen or is it too much to ask for?
(Or is there some open implementation of it already in circulation?)
 
CelticComms
Forum Guru
Forum Guru
Posts: 1766
Joined: Wed May 02, 2012 5:48 am

Re: Neighbour discovery tool for Linux?

Fri Jan 04, 2013 12:00 am

RouterOS sends out CDP type packets too so maybe one of the Linux CDP tools would help:

http://openmaniak.com/cdp.php


I suspect Google has others too.
Interlynx | Networking and Information Security Consultants & Trainers | Email: routerlynx@gmail.com
BGP | EIGRP | OSPF | MPLS | Firewall | VPN | IPsec | Multicast | QOS | IPv4/6 | STP | VLAN | PON | AE | M2M | and more!

 
Ivoshiee
Member
Member
Topic Author
Posts: 471
Joined: Sat May 06, 2006 4:11 pm

Re: Neighbour discovery tool for Linux?

Fri Jan 04, 2013 11:39 am

RouterOS sends out CDP type packets too so maybe one of the Linux CDP tools would help:

http://openmaniak.com/cdp.php


I suspect Google has others too.
I Googled around and found that Linux has standard tools available for the LLDP (http://en.wikipedia.org/wiki/Link_Layer ... y_Protocol):
http://linux.die.net/man/8/lldptool
How much the MikroTik variant of the protocol "doing the same thing" (http://www.mikrotik.com/documentation/m ... /MNDP.html) is different?
By description the Winbox is using that feature for device detection as well or is it something different?

Can that Linux tool be hacked into recognizing MikroTik devices as well?

Why did the MikroTik choose to have their own version of the protocol anyway?
 
CelticComms
Forum Guru
Forum Guru
Posts: 1766
Joined: Wed May 02, 2012 5:48 am

Re: Neighbour discovery tool for Linux?

Fri Jan 04, 2013 3:22 pm

LLDP is relatively new. Cisco had been doing CDP for a long time before LLDP came along.

Mikrotik implemented both an IP based discovery system (UDP port 5678) and also uses CDP style L2 SNAP announcements.
Interlynx | Networking and Information Security Consultants & Trainers | Email: routerlynx@gmail.com
BGP | EIGRP | OSPF | MPLS | Firewall | VPN | IPsec | Multicast | QOS | IPv4/6 | STP | VLAN | PON | AE | M2M | and more!

 
Ivoshiee
Member
Member
Topic Author
Posts: 471
Joined: Sat May 06, 2006 4:11 pm

Re: Neighbour discovery tool for Linux?

Fri Jan 04, 2013 11:26 pm

I found a CDPR, what is supposed to capture and extract CDP messages (http://www.debian-administration.org/ar ... hou_-_CDPR), but it is not working for me - I see some CDP messages coming towards me with the wireshark, but cdpr util is unable to detect those.

Also, there is a LLDP daemon project (http://code.google.com/p/ladvd/) what is seeking donations as form of the MikroTik equipment. Does it mean MT does work with LLDP or are they just trying to add MT protocol to their tool? As much I tried it then it is unable to detect CDP messages from the MikroTik router as well, but at least their development is much recent one and maybe they are interested in supporting the MT flavour of CDP. Anyone sending them some boards to tinker with?
 
Ivoshiee
Member
Member
Topic Author
Posts: 471
Joined: Sat May 06, 2006 4:11 pm

Re: Neighbour discovery tool for Linux?

Mon Jan 07, 2013 2:41 pm

Who is online

Users browsing this forum: No registered users and 68 guests