Home > MikroTik > Router > MikroTik Router OS V3.0 User Manual

MikroTik Router OS V3.0 User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual MikroTik Router OS V3.0 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1 MikroTik manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    Page
    of 491
    							Command name:/system telnet
    Description
     
     ! 
    
    
     
    
       
     
    
    
     
     
     
     
     
     
    
     (	 
    
     
    
    Property Description
    (IP address) - IP address of the Telnet server to connect to
    (port; default:23) - TCP port to connect to (if differs from the standard TCP port 23). May be
    useful to connect to SMTP or HTTP servers for debugging purposes
    Example
    +
     	  
    
     
    
    
    
    
    [admin@MikroTik] > system telnet 172.16.0.1Trying 172.16.0.1...Connected to 172.16.0.1.Escape character is ^].
    MikroTik v2.9Login: adminPassword:
    MMM MMM KKK TTTTTTTTTTT KKKMMMM MMMM KKK TTTTTTTTTTT KKKMMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKKMMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKKMMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKKMMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
    MikroTik RouterOS 2.9 (c) 1999-2004 http://www.mikrotik.com/
    Terminal unknown detected, using single line input mode[admin@MikroTik] >
    Page 30 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							IP Addresses and ARP
    Document revision 1.5 (September 10, 2007, 12:55 GMT)
    This document applies to MikroTik RouterOS V3.0
    Table of Contents
    TableofContents
    Summary
    Specifications
    IPAddressing
    Description
    PropertyDescription
    Notes
    Example
    AddressResolutionProtocol
    Description
    PropertyDescription
    Notes
    Example
    Proxy-ARPfeature
    Description
    Example
    Troubleshooting
    Description
    General Information
    Summary
     
     	
    	  *$ 	 	
    	
    
     	
     
     + 
    
     $
     
    
    
     *$
    	 ( 	 
    
    	
    
     
     
    	
    
     
     
     
    
     ( 
     
     3$1*$ (
    
    D 
     *
     
    
     
    	
    
     
    
     ( 
     
     	 
    
      
     
      
    + 
    
     $
     	
     +$ 	
    Specifications
    Packages required:system
    License required:level1
    Home menu level:/ip address, /ip arp
    Standards and Technologies:IPv4,ARP
    Hardware usage:Not significant
    IP Addressing
    Home menu level:/ip address
    Description
    Page 31 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							*$ 	 (  	 
    	 
     
    
    	
    
      
     *$ 
    
     	 &*$(D 	 
    
    
      
    
     #  	
     
     
     	 
     
     
    
     	 (	id est 
      
    
    
     *$ 	  
     
     	  
     
     	
      7 
     
     	  
     
    
     
    
    
     	 (	  		
      
    	./	
    
      
    
     	 	
     *$ 	 (	 *
    %
    	  
      *$ 	   	 H1H 	
     
     	
    
      
     
    	
      
     
    
    
    	
    *
     
     	 
      
     
      
     	 
     
    
    	 	
     
     
    
    	 	
    
      
    
    
     	
     
     		
     	 	 		
     	
    	
    	
    *
       
     	 
     *$ 	 
     	
     
    
    	  
     	( 
     
    
    	 
    
     	
     	
    	
     
     
     *
     	  
      $$$F 
    
    
    
     
     	 
    
    	 	 
     	( 	
     	
    	
     
      
     	 $
    
    
     	
     *$ 	 
     	 	 
    
    	 
     
     	  
    	
     	
    	 
    
    
     
     
     
      
    
    	 
     E 	
     
      
    
     
    
    
      
     
    
    
    	 
     	 
     
    
     
     ! 	 
     
      	
    •Static- manually assigned to the interface by a user
    •Dynamic- automatically assigned to the interface by DHCP or an estabilished PPP connections
    Property Description
    actual-interface(read-only: name) - name of the actual interface the logical one is bound to. For
    example, if the physical interface you assigned the address to, is included in a bridge, the actual
    interface will show that bridge.
    address(IP address) - IP address
    broadcast(IP address; default:255.255.255.255) - broadcasting IP address, calculated by default
    from an IP address and a network mask
    disabled(yes | no; default:no) - specifies whether the address is disabled or not
    interface(name) - interface name the IP address is assigned to
    netmask(IP address; default:0.0.0.0) - delimits network address part of the IP address from the
    host part
    network(IP address; default:0.0.0.0) - IP address for the network. For point-to-point links it
    should be the address of the remote end
    Notes
    E 	
    
    
     	( 
     
    
     *$ 	  
     	 
    
     	
     
     
     
    Exempli gratia
    
     
    	
    
      *$ 	!+%+%+%!&1
     
    
     !
    
    	 	
     *$ 	!+%+%+%!2&&1
     
    
    
     &
    
    	  
    (	 &
     
     
    
    	 	  
    
     	 
     	 
     
    
    
     	 
    
    !+%+%+%+&1 0 	  
    
     
    
     
     
    
     
    
    	
    Example
    [admin@MikroTik] ip address> add address=10.10.10.1/24 interface=ether2[admin@MikroTik] ip address> printFlags: X - disabled, I - invalid, D - dynamic
    Page 32 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							# ADDRESS NETWORK BROADCAST INTERFACE0 2.2.2.1/24 2.2.2.0 2.2.2.255 ether21 10.5.7.244/24 10.5.7.0 10.5.7.255 ether12 10.10.10.1/24 10.10.10.0 10.10.10.255 ether2[admin@MikroTik] ip address>
    Address Resolution Protocol
    Home menu level:/ip arp
    Description
    F(
     
     *$ 	
     	 	 
     *$ 	 		 	 
       
     	
    	
    
    	
    
     	
    	  
     
     
     	
    
     + 
    
     $
       
     	  !* ( : *$ 	
    
      !* ( - +3 	 
     	 	 
    	  
    
      +$ 
    
     9	 
     
    	  
    
    		 
     
     
    	 
    
     
     
     	
      	
    	  
     
     
    	
    	  	
     
    	
     
    	
     
    
    
    Property Description
    address(IP address) - IP address to be mapped
    interface(name) - interface name the IP address is assigned to
    mac-address(MAC address; default:00:00:00:00:00:00) - MAC address to be mapped to
    Notes
    		 
      +$ 
    
      C/;-
    * +$ 	
      
    
      
     
     
    
    	 
      +$ 8
      
    
     	 
    
    	
      
     
      
    	
     	 
    
       	 
     
     
    
     	  # 	 
    
    
    % *$ 	
     +3 	   	 
     
     6
     
    	
    
     
     
    	
    
    C:\> arp -s 10.5.8.254 00-aa-00-62-c6-09
    *
      
     
    
     
     
    
    	 
    
     
     
      
     +$ 8
     9
    +3 	   ( 
    
     
    	
    	 
     
       
     
     
     	 
     
    % +3
    	 
     
     
    % +$ 
    	
    Example
    [admin@MikroTik] ip arp> add address=10.10.10.10 interface=ether2 mac-address=06 \\... :21:00:56:00:12[admin@MikroTik] ip arp> printFlags: X - disabled, I - invalid, H - DHCP, D - dynamic# ADDRESS MAC-ADDRESS INTERFACE0 D 2.2.2.2 00:30:4F:1B:B3:D9 ether21 D 10.5.7.242 00:A0:24:9D:52:A4 ether12 10.10.10.10 06:21:00:56:00:12 ether2[admin@MikroTik] ip arp>
    * 
    	
     	 
    
     	   
    
     
     
     	
     
    
    	   
     	 
     %7
    % 
     
    	
    
    
    	 5 
     
     
     (	
    
    
    
    	
    
    [admin@MikroTik] ip arp> /interface ethernet set ether2 arp=reply-only
    Page 33 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							[admin@MikroTik] ip arp> printFlags: X - disabled, I - invalid, H - DHCP, D - dynamic# ADDRESS MAC-ADDRESS INTERFACE0 D 10.5.7.242 00:A0:24:9D:52:A4 ether11 10.10.10.10 06:21:00:56:00:12 ether2
    [admin@MikroTik] ip arp>
    Proxy-ARP feature
    Description
    + 
     
      
      +$ 	
     	
      	 
    	
    	
    
     +$  
    
     
    
    
    
    
     
    
     3
     
     
     
    
     		
    Page 34 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							! 
     
     + 
     
     
    	
     
     
     3   
     
     
     
     
     
    % 3 +3 	 +
    
     
     
     		 	( 
     + 	 1-D 
    
     	 	
     	 
     + 
     ( 
    	
     
      
    
    
    
    
     
     
      /;-/GC..1-D 
    
     6
     	 
     
     
     
    	
     
     	
    
     
    
    
     	 
     
    
    
     
    
     
     
     	 		
     +$ 8
      
     + 
     	 		
     +$
    8
      
     
     3 +3 	
    )		
     +$ 8
     	 
    
     
     
     		
     +3 	 ############ !
     
     +$ 8
     
    	 		
     
      	 	 
     
     
     
    
     + 
    
     
     
     / 
     
      
    
     	 
     3
    	 
      
    
     	 		
      	
     + 
     
     
    	  +$ 
     
    	
     
     
    3  
     	
    
     
    
     	
       
     
     
     +3 	  
     
     
    	  +$ 		
    	
     
     
     
     +3 	  
     	 	 
     
     
     
    
    	
    
    
    Page 35 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							 	( 	
        	   	
    
     
     	
     	7
     &  
     
    
     *$
    	  
     	 	 	 	  
     
     
    
    
     A+9
    Example
    3
     
     
     
    	
    
    
      
     
      	 
    admin@MikroTik] ip arp> /interface ethernet printFlags: X - disabled, R - running# NAME MTU MAC-ADDRESS ARP0 R eth-LAN 1500 00:50:08:00:00:F5 proxy-arp[admin@MikroTik] ip arp> /interface printFlags: X - disabled, D - dynamic, R - running# NAME TYPE MTU0 eth-LAN ether 15001 prism1 prism 15002 D pppoe-in25 pppoe-in3 D pppoe-in26 pppoe-in[admin@MikroTik] ip arp> /ip address printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.0.0.217/24 10.0.0.0 10.0.0.255 eth-LAN1 D 10.0.0.217/32 10.0.0.230 0.0.0.0 pppoe-in252 D 10.0.0.217/32 10.0.0.231 0.0.0.0 pppoe-in26[admin@MikroTik] ip arp> /ip route printFlags: X - disabled, A - active, D - dynamic,C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,B - blackhole, U - unreachable, P - prohibit# DST-ADDRESS PREF-SRC G GATEWAY DIS INTE...
    Page 36 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							0 A S 0.0.0.0/0 r 10.0.0.1 1 eth-LAN1 ADC 10.0.0.0/24 10.0.0.217 0 eth-LAN2 ADC 10.0.0.230/32 10.0.0.217 0 pppoe-in253 ADC 10.0.0.231/32 10.0.0.217 0 pppoe-in26[admin@MikroTik] ip arp>
    Troubleshooting
    Description
    •3
      $ 
     
     
      45  
     
    
    
    3 
     
     
    
    	 
     	  	
     
      
    
     
    	 	
     
    
    
    
    Page 37 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							Routes, Equal Cost Multipath Routing, Policy
    Routing
    Document revision 2.4 (September 7, 2007, 8:37 GMT)
    This document applies to MikroTik RouterOS V3.0
    Table of Contents
    TableofContents
    Summary
    Specifications
    Description
    Routes
    Description
    PropertyDescription
    Notes
    Example
    PolicyRules
    PropertyDescription
    Notes
    Example
    StaticEqualCostMulti-Pathrouting
    StandardPolicy-BasedRoutingwithFailover
    General Information
    Summary
     
     	
    	 ( 
     *$ 
     	
    	
    
     8	7
     
    7	
     &F3$ 
    
     
    
    8
    	
     7	 
    
    
    Specifications
    Packages required:system
    License required:level1
    Home menu level:/ip route
    Standards and Technologies:IP(RFC791)
    Hardware usage:Not significant
    Description
     
     ! 	 
     
      
    
    •dynamic routes- automatically created routes for networks, which are directly accessed
    through an interface. They appear automatically, when adding a new IP address. Dynamic
    routes are also added by routing protocols.
    •static routes- user-defined routes that specify the router which can forward traffic to the
    Page 38 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    							specified destination network. They are useful for specifying the default gateway. The gateway
    for static routes may be checked (with either ARP or ICMP protocol) for reachability, so that
    different gateways with different priorities (costs) may be assigned for one destination network
    to provide failover.
    ECMP (Equal Cost Multi-Path) Routing
     
    
     	
     
    	 	
     
    
     	
     
     	
     
     8	 
     	
     
     	
    		
    
     6
     F3$ 
    
      	
       
    	
     
     	
    	  
     
    
    	
    
     
    
     &
    
    		 	 	  
     
     ( 	( 6
     F3$ 	 
     
    
    
    	 	 (	 	(		
    
    
      
    	 	 (
     
    
    	
    
     + 
     	
    	  
      	 
     1
    
    	
    
     *$ 	 *
    	
     
    	
      	 
     #$ 
    
    
    
       
     
     
     
     
     
    
    
    
     
     	 
    
     (
      	
    
     
     F3$ 
    
     	 	
    
      	
     7 
     
    
    
    
     	
      
    
     
     	
     
      
    
      3$ 	
    
     F3$ 
     	
      	
      
    
     
     &*$   !$#   	
     	 
    	
     
     
    
    
     	
    	 		
      	 	 & 1 
     	 	
    	J/;-/GC.//;-/GC// 
    
    
     
     	 	
     
    	
     
    	 
     
     8	 
     	
    	
    	  
     
      
    
    
    
    	  	4
      #  
    	
    
     
     
     
    
     
     	 	 
    
    
    
     	
    	
    Policy-Based Routing
    *
      	 
    
     		  
     
    
      &	
    	  	 	
      
     	 
     	   
    
      
     
    
     	
    
    	
     *
     
     ! 
      
     
    
    •	 
      	
     
     	
    
    • 	 	
    	  
     	 	
    
    
    6*
     
    
      
     
       
     
       
     
     
     
     	
     +
    	
    
     
     	
      	8	 
      	  
    	
      
    	
    Routes
    Home menu level:/ip route
    Description
    *
     
     
      	
     
     !
    	
     F8	 3
     
    7$	
     	
     $7)	 
    
     	
      
    
    
    
    Property Description
    bgp-as-path(text) - manual value of BGPs as-path for outgoing route
    bgp-atomic-aggregate(yes | no) - indication to receiver that it cannot deaggregate the prefix
    bgp-communities(multiple choice: integer) - administrative policy marker, that can travel through
    different autonomous systems
    •internet- communities value 0
    Page 39 of 480Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.Other trademarks and registred trademarks mentioned herein are properties of their respective owners. 
    						
    All MikroTik manuals Comments (0)