MAC Level Access (Telnet and Winbox)
| Document revision: | 2.3 (June 22, 2007, 15:33 GMT) |
| Applies to: | V2.9 |
General Information
Summary
MAC telnet is used to provide access to a router that has no IP address set. It works just like IP telnet. MAC telnet is possible between two MikroTik RouterOS routers only.
Specifications
Packages required: systemLicense required: Level1
Submenu level: /tool, /tool mac-server
Standards and Technologies: MAC Telnet
Hardware usage: Not significant
Related Documents
MAC Telnet Server
Submenu level: /tool mac-serverProperty Description
interface (name | all; default: all) - interface name to which the mac-server clients will connectNotes
There is an interface list in this submenu level. If you add some interfaces to this list, you allow MAC telnet to that interface. Disabled (disabled=yes) item means that interface is not allowed to accept MAC telnet sessions on that interface.
Example
To enable MAC telnet server on ether1 interface only:
[admin@MikroTik] tool mac-server> print Flags: X - disabled # INTERFACE 0 all [admin@MikroTik] tool mac-server> remove 0 [admin@MikroTik] tool mac-server> add interface=ether1 disabled=no [admin@MikroTik] tool mac-server> print Flags: X - disabled # INTERFACE 0 ether1 [admin@MikroTik] tool mac-server>
MAC WinBox Server
Submenu level: /tool mac-server mac-winboxProperty Description
interface (name | all; default: all) - interface name to which it is alowed to connect with Winbox using MAC-based protocolNotes
There is an interface list in this submenu level. If you add some interfaces to this list, you allow MAC Winbox to that interface. Disabled (disabled=yes) item means that interface is not allowed to accept MAC Winbox sessions on that interface.
Example
To enable MAC Winbox server on ether1 interface only:
[admin@MikroTik] tool mac-server mac-winbox> print Flags: X - disabled # INTERFACE 0 all [admin@MikroTik] tool mac-server mac-winbox> remove 0 [admin@MikroTik] tool mac-server mac-winbox> add interface=ether1 disabled=no [admin@MikroTik] tool mac-server mac-winbox> print Flags: X - disabled # INTERFACE 0 ether1 [admin@MikroTik] tool mac-server mac-winbox>
Monitoring Active Session List
Submenu level: /tool mac-server sessionsProperty Description
interface (read-only: name) - interface to which the client is connected tosrc-address (read-only: MAC address) - client's MAC addressuptime (read-only: time) - how long the client is connected to the serverExample
To see active MAC Telnet sessions:
[admin@MikroTik] tool mac-server sessions> print # INTERFACE SRC-ADDRESS UPTIME 0 wlan1 00:0B:6B:31:08:22 00:03:01 [admin@MikroTik] tool mac-server sessions>
MAC Telnet Client
Command name: /tool mac-telnet [MAC-address]Example
[admin@MikroTik] > /tool mac-telnet 00:02:6F:06:59:42 Login: admin Password: Trying 00:02:6F:06:59:42... Connected to 00:02:6F:06:59:42 MMM MMM KKK TTTTTTTTTTT KKK MMMM MMMM KKK TTTTTTTTTTT KKK MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK MikroTik RouterOS 2.9 (c) 1999-2004 http://www.mikrotik.com/ Terminal linux detected, using multiline input mode [admin@MikroTik] >
