Community discussions

MikroTik App
 
HellMind
Member Candidate
Member Candidate
Topic Author
Posts: 148
Joined: Mon Jun 26, 2006 11:58 pm

WINBOX MAC SCAN

Tue Dec 12, 2006 2:36 am

I wonder how the scan option works,
If the routerboard don't got any ip you can scan for it and connect it using winbox.

How is that connection made?
I just want to see some specification about it.
I know its using its mac address but, how you can make a tcp connection using just the mac for destination.


Sorry for my english & Ty
 
User avatar
LatinSuD
Member Candidate
Member Candidate
Posts: 181
Joined: Wed Jun 29, 2005 1:05 pm
Location: Spain
Contact:

Mon Dec 18, 2006 2:49 pm

Official docs:
http://www.mikrotik.com/docs/ros/2.9/ip/mndp

Mt is supposed to send mndp packets each 60 secons, but you can active poll it like neighborViewer does, according to wireshark:
Send UDP packet
localip:5678 -> 255.255.255.255:5678
Containing 8 bytes of data:
00 00 00 00 00 06 00 00
Response includes, among other unknown values:
 Mikrotik
 version
 system name
 soft-id
I could reproduce it:
echo 00 00 00 00 00 06 00 00 | xxd -r -ps | nc -w1 -nbvu 255.255.255.255 5678
 
User avatar
raivis-v
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Thu Jul 14, 2005 10:21 am
Location: Latvia, Riga

Re: WINBOX MAC SCAN

Mon Dec 18, 2006 2:56 pm

... how you can make a tcp connection using just the mac for destination.


----------------------- & Ty
Who did tell you that it is using TCP connection in MAC telnet mode? Try to use sniffer and you'll see yourself.
 
User avatar
LatinSuD
Member Candidate
Member Candidate
Posts: 181
Joined: Wed Jun 29, 2005 1:05 pm
Location: Spain
Contact:

Thu Dec 21, 2006 3:21 pm

I talked about discovery, but "Mac telnet" is another story yes.

Btw, have you noticed that you can do mac telnet from winbox? Just type mac addy instead of ip addy. :wink:
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Thu Dec 21, 2006 3:24 pm

if you sen in winbox to search for addresses, it fills in MAC addresses, and connects using mac-telnet.

Who is online

Users browsing this forum: phascogale, UkRainUa and 34 guests