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
    							•mii-type1- uses Media Independent Interface type1 to determine link status. Link status
    determenation relies on the device driver. If bonding shows that the link status is up, when it
    should not be, then it means that this card dont support this possibility.
    •mii-type2- uses MII type2 to determine link status (used if mii-type1 is not supported by the
    NIC)
    •none- no method for link monitoring is used. If a link fails, it is not considered as down (but no
    traffic passes through it, thus).
    mac-address(read-only: MAC address) - MAC address of the bonding interface
    mii-interval(time; default:00:00:00.100) - how often to monitor the link for failures (parameter
    used only if link-monitoring is mii-type1 or mii-type2)
    mode(802.3ad|active-backup|balance-alb|balance-rr|balance-tlb|balance-xor|broadcast;
    default:balance-rr) - interface bonding mode. Can be one of:
    •802.3ad- IEEE 802.3ad dynamic link aggregation. In this mode, the interfaces are aggregated
    in a group where each slave shares the same speed. If you use a switch between 2 bonding
    routers, be sure that this switch supports IEEE 802.3ad standard. Provides fault tolerance and
    load balancing.
    •active-backup- provides link backup. Only one slave can be active at a time. Another slave
    becomes active only, if first one fails.
    •balance-alb- adaptive load balancing. It includes balance-tlb and received traffic is also
    balanced. Device driver should support for setting the mac address, then it is active. Otherwise
    balance-alb doesnt work. No special switch is required.
    •balance-rr- round-robin load balancing. Slaves in bonding interface will transmit and receive
    data in sequential order. Provides load balancing and fault tolerance.
    •balance-tlb- Outgoing traffic is distributed according to the current load on each slave.
    Incoming traffic is received by the current slave. If receiving slave fails, then another slave
    takes the MAC address of the failed slave. Doesnt require any special switch support.
    •balance-xor- Use XOR policy for transmit. Provides only failover (in very good quality), but
    not load balancing, yet.
    •broadcast- Broadcasts the same data on all interfaces at once. This provides fault tolerance but
    slows down traffic throughput on some slow machines.
    mtu(integer: 68..1500; default:1500) - Maximum Transmit Unit in bytes
    name(name) - descriptive name of bonding interface
    primary(name; default:none) - Interface is used as primary output media. If primary interface
    fails, only then others slaves will be used. This value works only with mode=active-backup
    slaves(name) - at least two ethernet-like interfaces separated by a comma, which will be used for
    bonding
    up-delay(time; default:00:00:00) - if a link has been brought up, bonding interface is disabled for
    up-delay time and after this time it is enabled. Value should be a multiple of mii-interval
    Notes
    A
     	 
    
    
     	
     	(  
     
    	
    
     
    
     
     
    ( 
    
     	  	
    	  *
    
     
    
     
      	 
     # 	 
     *
    
     	 	(  
    	
     	 
      
    	
     	
    
     	
     
       
      
     	 
     	 8  
     -. 
     + 
     +
    ( 	
    Page 50 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. 
    						
    									
    
     &J  
    
      
      	 	
    Application Examples
    Bonding two Eoip tunnels
    +  
     
     
     
      
      
     
     
    
     
       	( 
    
     
     - *!$  	 E 	
    
     
     
      
    
    
       	
     ( 	(
    6 	 	
     
    	
     
    
    
    
     
     *
    
    
    
     
     
     *!$ 	 
      
     
    
    •3
    	
    
     
     
    
    •
     /interface printFlags: X - disabled, D - dynamic, R - running# NAME TYPE MTU0 R isp1 ether 15001 R isp2 ether 1500
    [admin@office1] > /ip address printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 1.1.1.1/24 1.1.1.0 1.1.1.255 isp21 10.1.0.111/24 10.1.0.0 10.1.0.255 isp1
    •
     printFlags: X - disabled, D - dynamic, R - running# NAME TYPE MTU0 R isp2 ether 15001 R isp1 ether 1500[admin@office2] interface> /ip add printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 2.2.2.1/24 2.2.2.0 2.2.2.255 isp21 10.1.0.112/24 10.1.0.0 10.1.0.255 isp1
    •F 
    
    
     
    	
    
    
    Page 51 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. 
    						
    							• interface eoip add remote-address=10.1.0.112 tunnel-id=2\... mac-address=FE:FD:00:00:00:04[admin@office1] > interface eoip printFlags: X - disabled, R - running0 R name=eoip-tunnel2 mtu=1500 mac-address==FE:FD:00:00:00:04 arp=enabled\... remote-address=10.1.0.112 tunnel-id=2
    • interface eoip add remote-address=10.1.0.111 tunnel-id=2\... mac-address=FE:FD:00:00:00:02[admin@office2] > interface eoip printFlags: X - disabled, R - running0 R name=eoip-tunnel2 mtu=1500 mac-address=FE:FD:00:00:00:02 arp=enabled\... remote-address=10.1.0.111 tunnel-id=2
    • interface eoip add remote-address=2.2.2.1 tunnel-id=1\... mac-address=FE:FD:00:00:00:03[admin@office1] interface eoip> printFlags: X - disabled, R - running0 R name=eoip-tunnel1 mtu=1500 mac-address=FE:FD:00:00:00:03 arp=enabledremote-address=2.2.2.1 tunnel-id=1
    1 R name=eoip-tunnel2 mtu=1500 mac-address=FE:FD:00:00:00:04 arp=enabledremote-address=10.1.0.112 tunnel-id=2
    • interface eoip add remote-address=1.1.1.1 tunnel-id=1\... mac-address=FE:FD:00:00:00:01[admin@office2] interface eoip> printFlags: X - disabled, R - running0 R name=eoip-tunnel1 mtu=1500 mac-address=FE:FD:00:00:00:01 arp=enabledremote-address=1.1.1.1 tunnel-id=1
    1 R name=eoip-tunnel2 mtu=1500 mac-address=FE:FD:00:00:00:02 arp=enabledremote-address=10.1.0.111 tunnel-id=2
    •)
    
     
    	
    
    
    • add slaves=eoip-tunnel1,eoip-tunnel2[admin@office1] interface bonding> printFlags: X - disabled, R - running0 R name=bonding1 mtu=1500 mac-address=00:0C:42:03:20:E7 arp=enabledslaves=eoip-tunnel1,eoip-tunnel2 mode=balance-rr primary=nonelink-monitoring=none arp-interval=00:00:00.100 arp-ip-targets=mii-interval=00:00:00.100 down-delay=00:00:00 up-delay=00:00:00lacp-rate=30secs[admin@office1] ip address> add address=3.3.3.1/24 interface=bonding1[admin@office1] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 1.1.1.1/24 1.1.1.0 1.1.1.255 isp21 10.1.0.111/24 10.1.0.0 10.1.0.255 isp12 3.3.3.1/24 3.3.3.0 3.3.3.255 bonding1
    Page 52 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. 
    						
    							• add slaves=eoip-tunnel1,eoip-tunnel2[admin@office2] interface bonding> printFlags: X - disabled, R - running0 R name=bonding1 mtu=1500 mac-address=00:0C:42:03:20:E7 arp=enabledslaves=eoip-tunnel1,eoip-tunnel2 mode=balance-rr primary=nonelink-monitoring=none arp-interval=00:00:00.100 arp-ip-targets=mii-interval=00:00:00.100 down-delay=00:00:00 up-delay=00:00:00lacp-rate=30secs[admin@office2] ip address> add address=3.3.3.2/24 interface=bonding1[admin@office2] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 2.2.2.1/24 2.2.2.0 2.2.2.255 isp21 10.1.0.112/24 10.1.0.0 10.1.0.255 isp12 3.3.3.2/24 3.3.3.0 3.3.3.255 bonding1[admin@office2] ip address> /ping 3.3.3.13.3.3.1 64 byte ping: ttl=64 time=2 ms3.3.3.1 64 byte ping: ttl=64 time=2 ms2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 2/2.0/2 ms
    Page 53 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. 
    						
    							CISCO/Aironet 2.4GHz 11Mbps Wireless Interface
    Document revision 1.3 (February 6, 2008, 2:56 GMT)
    This document applies to MikroTik RouterOS V3.0
    Table of Contents
    TableofContents
    Summary
    Specifications
    AdditionalDocuments
    WirelessInterfaceConfiguration
    Description
    PropertyDescription
    Example
    Example
    Troubleshooting
    Description
    ApplicationExamples
    Point-to-MultipointWirelessLAN
    Point-to-PointWirelessLAN
    General Information
    Summary
      
     ! 
     
     
     3*!3 1+
    
     -DI,2 6 *!+1$3*1$3 +	
    
    		
    •+
    
     *!+1$3*1$3DC.. -DI,2 5! // 6 A+9 +	
     &/..6
    •+
    
     *!+1$3*1$3D
    						
    							I 	
     
    	 
     	
    	 
     $5# 	
    
    •N/.7..:G:C	. $3*1*!+ DC.. 	
     D
    						
    							ap1(MAC address) - forces association to the specified access point
    ap2(MAC address) - forces association to the specified access point
    ap3(MAC address) - forces association to the specified access point
    ap4(MAC address) - forces association to the specified access point
    arp(disabled|enabled|proxy-arp|reply-only; default:enabled) - Address Resolution Protocol
    beacon-period(integer: 20..976; default:100) - Specifies beaconing period (applicable to ad-hoc
    mode only)
    card-type(read-only: text) - your CISCO/Aironet adapter model and type
    client-name(text; default:) - client name
    data-rate(1Mbit/s|2Mbit/s|5.5Mbit/s|11Mbit/s|auto; default:1Mbit/s) - data rate in Mbit/s
    fragmentation-threshold(integer: 256..2312; default:2312) - this threshold controls the packet
    size at which outgoing packets will be split into multiple fragments. If a single fragment transmit
    error occurs, only that fragment will have to be retransmitted instead of the whole packet. Use a low
    setting in areas with poor communication or with a great deal of radio interference
    frequency- Channel Frequency in MHz (applicable to ad-hoc mode only)
    join-net(time; default:10) - an amount of time,during which the interface operating in ad-hoc
    mode will try to connect to an existing network rather than create a new one
    •0- do not create own network
    long-retry-limit(integer: 0..128; default:16) - specifies the number of times an unfragmented
    packet is retried before it is dropped
    mode(infrastructure|ad-hoc; default:infrastructure) - operation mode of the card
    modulation(cck|default|mbok; default:cck) - modulation mode
    •cck- Complementary Code Keying
    •mbok- M-ary Bi-Orthogonal Keying
    mtu(integer: 256..2048; default:1500) - Maximum Transmission Unit
    name(name) - descriptive interface name
    rts-threshold(integer: 0..2312; default:2312) - determines the packet size at which the interface
    issues a request to send (RTS) before sending the packet. A low value can be useful in areas where
    many clients are associating with the access point or bridge, or in areas where the clients are far
    apart and can detect only the access point or bridge and not each other
    rx-antenna(both|default|left|right; default:both) - receive antennas
    short-retry-limit(integer: 0..128; default:16) - specifies the number of times a fragmented packet
    is retried before it is dropped
    ssid1(text; default:tsunami) - establishes the adapters service set identifier This value must match
    the SSID of the system in order to operate in infrastructure mode
    ssid2(text; default:) - service set identifier 2
    ssid3(text; default:) - service set identifier 3
    tx-antenna(both|default|left|right; default:both) - transmit antennas
    tx-power(1|5|20|50|100; default:100) - transmit power in mW
    world-mode(yes | no; default:no) - if set, client adapter automatically inherit channel
    configuration properties directly from the access point to which they associate. This feature enables
    Page 56 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. 
    						
    							a user to use a client adapter around the world while still maintaining regulatory compliance
    Example
    *
    
    	 
    	
    
    	 
    
    
    
    [admin@MikroTik] > interface printFlags: X - disabled, D - dynamic, R - running# NAME TYPE MTU0 R ether1 ether 15001 X ether2 ether 15002 X pc1 pc 1500[admin@MikroTik] interface> set 2 name aironet[admin@MikroTik] interface> enable aironet[admin@MikroTik] > interface printFlags: X - disabled, D - dynamic, R - running# NAME TYPE MTU0 R ether1 ether 15001 X ether2 ether 15002 R aironet pc 1500[admin@MikroTik] > interface pc[admin@MikroTik] interface pc> printFlags: X - disabled, R - running0 R name=aironet mtu=1500 mac-address=00:40:96:29:2F:80 arp=enabledclient-name= ssid1=tsunami ssid2= ssid3= mode=infrastructuredata-rate=1Mbit/s frequency=2437MHz modulation=cck tx-power=100ap1=00:00:00:00:00:00 ap2=00:00:00:00:00:00 ap3=00:00:00:00:00:00ap4=00:00:00:00:00:00 rx-antenna=right tx-antenna=right beacon-period=100long-retry-limit=16 short-retry-limit=16 rts-threshold=2312fragmentation-threshold=2312 join-net=10s card-type=PC4800A 3.65
    [admin@MikroTik] interface pc>
    *
    
    	 
    	
     
    
    
    
    [admin@MikroTik] interface pc> monitor 0synchronized: noassociated: noerror-number: 0
    [admin@MikroTik] interface pc>
    Example
    !  	
    
     
     
     
      
    
    	 
     	 
    	
    
     
     
     +$ 
     	
    %
    %
    6 
     
     	
     
     (	   
     
     
     
    
     (	
     ( 
     
      	
     
    
    	
    
    [admin@MikroTik] interface pc> set 0 ssid1 mt[admin@MikroTik] interface pc> monitor 0synchronized: yesassociated: yesfrequency: 2412MHzdata-rate: 11Mbit/sssid: mtaccess-point: 00:02:6F:01:5D:FEaccess-point-name: signal-quality: 132signal-strength: -82error-number: 0[admin@MikroTik] interface pc>
    Troubleshooting
    Page 57 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. 
    						
    							Description
    L 
     
     
    	
     
    
     	 
    	
    
      *1  	 	 	
     *@ 	  
     	
    	
    
    	 *
      
     
    	
       	
     *@ 
    
      
      
     	
     
    
     
     
     
     	
    
    	
    	 *1  	 	 
    
    
     + 
     	 
     ( 
     *@ < 	
     *1  .:..  ./C.   
    
    
     	
    •#  
     
        
      
      
      :
     43;%
     
     
     
    
     *@ 
     
     5*$ 
    
    •#  :
     4<   
         
     %
     
     	
     
     *1  	 	 
     
     5*$ 
    
    •#   
    
    	  
      $   
      
    
    	 
    
     
    	
     
     8 
      -D1
    						
    							 	 
    
      
    
    
     
     
      
    
    % ,0) 	
     	 *$ 	  
     
    
     /.//.1-D
     
     
    	
    
     8  
     +$ 
    1.!
    
    
     
     !( !
     *
    
     & 
     :- 		
     		
     *
      	    H
    H
    2.!
    
    
     
     	 	
    	 	
     	
     /7// 	
     
     	 	
     	
     /
    3.3
     
     8
     
      	   -DD-,2
    4.&# 3*!3 1+
    
     ) 
     !
     3
    	
    
    1	1F
    
    1)1J	K
    
     * 
    	( 
     
     %K
    % 
     
    
     
     
    
    
    5.!
    
    
     
     
    
    
     		
     3
    	
    
    1*
    
     *
    	 *
    	 	
     I	
    	  	 8
      	
    
     
     	 
     +$ 
     
     
    
    
      
    
    
     *$ 	 	
     
     
      
    
    	    
     
    
     /.//.1-D
    [admin@MikroTik] ip address> add address 10.1.1.12/24 interface aironet[admin@MikroTik] ip address> printFlags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 10.1.1.12/24 10.1.1.0 10.1.1.255 aironet1 192.168.0.254/24 192.168.0.0 192.168.0.255 Local[admin@MikroTik] ip address>
     	
     
       
     
     
     	
    	 
     /.//-
    						
    All MikroTik manuals Comments (0)