You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

MAC server section allows you to configure MAC Telnet Server, MAC WinBox Server and MAC Ping Server on RouterOS device.

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.

MAC Winbox is used to provide Winbox access to the router via MAC address.

MAC Ping is used to allow MAC pings to the Router's MAC address.

MAC-server settings are included in the "system" package.

MAC Telnet Server

It is possible to set MAC Telnet access to specific interfaces that are a part of the interface list:

[admin@device] /tool mac-server set allowed-interface-list=listBridge
[admin@device] /tool mac-server print
  allowed-interface-list: listBridge

In the example above, MAC Telnet is configured for the interface list "listBridge" and, as a result, MAC Telnet will only work via the interfaces that are members of the list (you can add multiple interfaces to the list).

To disable MAC Telnet access, issue the command (set "allowed-interface-list" to "none"):

[admin@device] /tool mac-server set allowed-interface-list=none
[admin@device] /tool mac-server print
  allowed-interface-list: none

MAC Winbox Server

Same as with MAC Telnet, it is possible to set MAC Winbox access to specific interfaces that are a part of the interface list:

[admin@device] > tool mac-server mac-winbox set allowed-interface-li
st=listBridge 
[admin@device] > tool mac-server mac-winbox print                   
  allowed-interface-list: listBridge

In the example above, MAC Winbox access is configured for the interface list "listBridge" and, as a result, MAC Winbox will only work via the interfaces that are members of the list.

To disable MAC Winbox access, issue the command (set "allowed-interface-list" to "none"):

[admin@device] > tool mac-server mac-winbox set allowed-interface-li
st=none
[admin@device] > tool mac-server mac-winbox print                   
  allowed-interface-list: none

MAC Ping Server

MAC Ping Server can be either set to be "disabled" or "enabled":

[admin@device] > tool mac-server ping print
  enabled: yes

You can enable or disable MAC ping with the help of the commands (enable=yes → to enable the feature; enable=no → to disable the feature):

[admin@device] > tool mac-server ping set enabled=yes
[admin@device] > tool mac-server ping set enabled=no

When MAC Ping is enabled, other hosts on the same broadcast domain can use ping tool to ping the mac address. For example, in RouterOS, you can issue the command:

[admin@device] > /ping 00:0C:42:72:A1:B0
HOST                                    SIZE  TTL TIME  STATUS                                         
00:0C:42:72:A1:B0                       56        0ms  
00:0C:42:72:A1:B0                       56        0ms  
    sent=2 received=2 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=0ms 


  • No labels