MikroTik RouterOS™ v2.9 Reference Manual RouterOS™ v2.9 Reference Manual. Table Of Contents ... Wireless Client and Wireless Access Point Manual..... 244 General Information

Embed Size (px)

Citation preview

  • MikroTik RouterOS v2.9Reference Manual

  • Table Of ContentsSpecifications Sheet........................................................................... 1

    General Information ............................................................................................................... 1Device Driver List................................................................................ 5

    General Information ............................................................................................................... 6Ethernet.................................................................................................................................. 6Wireless................................................................................................................................ 14Aironet Arlan........................................................................................................................ 16RadioLAN............................................................................................................................ 16Synchronous Serial............................................................................................................... 16Asynchronous Serial............................................................................................................. 17ISDN..................................................................................................................................... 17VoIP...................................................................................................................................... 17xDSL.................................................................................................................................... 18HomePNA............................................................................................................................ 18LCD...................................................................................................................................... 18PCMCIA Adapters............................................................................................................... 18GPRS Cards.......................................................................................................................... 18CDMA/EV-DO Cards.......................................................................................................... 19

    License Management........................................................................ 20General Information............................................................................................................. 20License Management............................................................................................................ 22

    Basic Setup Guide............................................................................ 25General Information ............................................................................................................. 25Setting up MikroTik RouterOS........................................................................................ 26Logging into the MikroTik Router....................................................................................... 29Adding Software Packages................................................................................................... 30Navigating The Terminal Console....................................................................................... 30Basic Configuration Tasks................................................................................................... 33Setup Command................................................................................................................... 34Basic Examples.................................................................................................................... 35Advanced Configuration Tasks............................................................................................ 39

    Installing RouterOS with CD-Install................................................. 41CD-Install............................................................................................................................. 41

    Installing RouterOS with Floppies................................................... 45Floppy Install........................................................................................................................ 45

    Installing RouterOS with NetInstall................................................. 49NetInstall.............................................................................................................................. 49

    Configuration Management.............................................................. 55General Information ............................................................................................................. 55System Backup..................................................................................................................... 56The Export Command.......................................................................................................... 56The Import Command.......................................................................................................... 57Configuration Reset.............................................................................................................. 58

    i

  • FTP (File Transfer Protocol) Server................................................. 59General Information ............................................................................................................. 59File Transfer Protocol Server............................................................................................... 59

    MAC Level Access (Telnet and Winbox)......................................... 61General Information ............................................................................................................. 61MAC Telnet Server.............................................................................................................. 62MAC WinBox Server........................................................................................................... 62Monitoring Active Session List............................................................................................ 63MAC Telnet Client............................................................................................................... 63

    Serial Console and Terminal............................................................ 64General Information ............................................................................................................. 64Serial Console Configuration............................................................................................... 65Configuring Console............................................................................................................ 65Using Serial Terminal.......................................................................................................... 66Console Screen..................................................................................................................... 67

    Software Package Management...................................................... 68General Information ............................................................................................................. 68Installation (Upgrade)........................................................................................................... 69Uninstallation....................................................................................................................... 71Downgrading........................................................................................................................ 71Disabling and Enabling........................................................................................................ 72Unscheduling........................................................................................................................ 73System Upgrade................................................................................................................... 73Adding Package Source........................................................................................................ 75Software Package List.......................................................................................................... 75

    Software Version Management........................................................ 78General Information ............................................................................................................. 78System Upgrade................................................................................................................... 78Adding Package Source........................................................................................................ 80

    SSH (Secure Shell) Server and Client............................................. 81General Information ............................................................................................................. 81SSH Server........................................................................................................................... 82SSH Client............................................................................................................................ 82

    Telnet Server and Client................................................................... 84General Information ............................................................................................................. 84Telnet Server........................................................................................................................ 84Telnet Client......................................................................................................................... 85

    Terminal Console.............................................................................. 86General Information ............................................................................................................. 86Common Console Functions................................................................................................ 87Lists and Item Names........................................................................................................... 88Quick Typing........................................................................................................................ 89Additional Information......................................................................................................... 90General Commands.............................................................................................................. 90Safe Mode............................................................................................................................. 92

    Winbox............................................................................................... 94

    ii

  • General Information............................................................................................................. 94Troubleshooting.................................................................................................................... 99

    IP Addresses and ARP................................................................... 100General Information ........................................................................................................... 100IP Addressing..................................................................................................................... 101Address Resolution Protocol.............................................................................................. 102Proxy-ARP feature............................................................................................................. 103Unnumbered Interfaces...................................................................................................... 106Troubleshooting.................................................................................................................. 106

    OSPF................................................................................................ 107General Information ........................................................................................................... 107General Setup..................................................................................................................... 108Areas................................................................................................................................... 110Networks............................................................................................................................ 111Interfaces............................................................................................................................ 112Virtual Links....................................................................................................................... 113Neighbours......................................................................................................................... 113General Information ........................................................................................................... 114

    RIP.................................................................................................... 122General Information........................................................................................................... 122General Setup..................................................................................................................... 123Interfaces............................................................................................................................ 124Networks............................................................................................................................ 125Neighbors........................................................................................................................... 126Routes................................................................................................................................. 126General Information ........................................................................................................... 127

    Routes, Equal Cost Multipath Routing, Policy Routing............... 130General Information ........................................................................................................... 130Routes................................................................................................................................. 131Policy Rules........................................................................................................................ 133General Information ........................................................................................................... 134

    BGP Command Reference............................................................. 138General Information........................................................................................................... 138Instances............................................................................................................................. 139Peers................................................................................................................................... 140

    BGP Routing Filters........................................................................ 142General Information........................................................................................................... 142Filter Rules......................................................................................................................... 143

    ARLAN 655 Wireless Client Card................................................... 146General Information........................................................................................................... 146Installation.......................................................................................................................... 146Wireless Interface Configuration....................................................................................... 147Troubleshooting.................................................................................................................. 148

    Interface Bonding............................................................................ 150General Information ........................................................................................................... 150General Information ........................................................................................................... 152

    iii

  • Bridge............................................................................................... 156General Information........................................................................................................... 157Bridge Interface Setup........................................................................................................ 158Port Settings....................................................................................................................... 159Bridge Monitoring.............................................................................................................. 160Bridge Port Monitoring...................................................................................................... 160Bridge Host Monitoring..................................................................................................... 161Bridge Firewall General Description................................................................................. 162Bridge Packet Filter............................................................................................................ 165Bridge NAT........................................................................................................................ 166Bridge Brouting Facility..................................................................................................... 167Troubleshooting.................................................................................................................. 168

    CISCO/Aironet 2.4GHz 11Mbps Wireless Interface...................... 169General Information ........................................................................................................... 169Wireless Interface Configuration....................................................................................... 170Troubleshooting.................................................................................................................. 173Application Examples........................................................................................................ 173

    Cyclades PC300 PCI Adapters....................................................... 176General Information........................................................................................................... 176Synchronous Interface Configuration................................................................................ 177Troubleshooting.................................................................................................................. 178RSV/V.35 Synchronous Link Applications....................................................................... 178

    Driver Management......................................................................... 180General Information ........................................................................................................... 180Loading Device Drivers..................................................................................................... 181Removing Device Drivers.................................................................................................. 182Notes on PCMCIA Adapters.............................................................................................. 183Troubleshooting.................................................................................................................. 183

    Ethernet Interfaces.......................................................................... 184General Information........................................................................................................... 184Ethernet Interface Configuration........................................................................................ 185Monitoring the Interface Status.......................................................................................... 186Troubleshooting.................................................................................................................. 186

    FarSync X.21 Interface.................................................................... 188General Information........................................................................................................... 188Synchronous Interface Configuration................................................................................ 189Troubleshooting.................................................................................................................. 190Synchronous Link Applications......................................................................................... 190

    FrameRelay (PVC, Private Virtual Circuit) Interface..................... 196General Information........................................................................................................... 196Configuring Frame Relay Interface.................................................................................... 197Frame Relay Configuration................................................................................................ 197Troubleshooting.................................................................................................................. 200

    General Interface Settings.............................................................. 201General Information ........................................................................................................... 201Interface Status................................................................................................................... 201

    iv

  • Traffic Monitoring.............................................................................................................. 202GPRS PCMCIA................................................................................. 203

    How to make a GPRS connection...................................................................................... 203ISDN (Integrated Services Digital Network) Interface.................. 205

    General Information........................................................................................................... 205ISDN Hardware and Software Installation......................................................................... 206ISDN Client Interface Configuration................................................................................. 207ISDN Server Interface Configuration................................................................................. 208ISDN Examples.................................................................................................................. 209

    M3P................................................................................................... 214General Information ........................................................................................................... 214Setup................................................................................................................................... 215

    MOXA C101 Synchronous Interface.............................................. 217General Information........................................................................................................... 217Synchronous Interface Configuration................................................................................ 218Troubleshooting.................................................................................................................. 220Synchronous Link Application Examples.......................................................................... 220

    MOXA C502 Dual-port Synchronous Interface............................. 223General Information........................................................................................................... 223Synchronous Interface Configuration................................................................................ 224Troubleshooting.................................................................................................................. 225Synchronous Link Application Examples.......................................................................... 225

    PPP and Asynchronous Interfaces............................................... 228General Information........................................................................................................... 228Serial Port Configuration.................................................................................................... 229PPP Server Setup................................................................................................................ 230PPP Client Setup................................................................................................................ 231PPP Application Example.................................................................................................. 232

    RadioLAN 5.8GHz Wireless Interface............................................ 233General Information........................................................................................................... 233Wireless Interface Configuration....................................................................................... 234Troubleshooting.................................................................................................................. 236Wireless Network Applications.......................................................................................... 236

    Sangoma Synchronous Cards....................................................... 239General Information........................................................................................................... 239Synchronous Interface Configuration................................................................................ 239

    LMC/SBEI Synchronous Interfaces............................................... 241General Information........................................................................................................... 241Synchronous Interface Configuration................................................................................ 241General Information ........................................................................................................... 242

    Wireless Client and Wireless Access Point Manual.................... 244General Information........................................................................................................... 246Wireless Interface Configuration....................................................................................... 248Nstreme Settings................................................................................................................. 255Nstreme2 Group Settings................................................................................................... 256Registration Table.............................................................................................................. 258

    v

  • Connect List....................................................................................................................... 260Access List......................................................................................................................... 261Info..................................................................................................................................... 262Virtual Access Point Interface............................................................................................ 265WDS Interface Configuration............................................................................................ 266Align................................................................................................................................... 267Align Monitor..................................................................................................................... 268Frequency Monitor............................................................................................................. 269Manual Transmit Power Table........................................................................................... 270Network Scan..................................................................................................................... 270Security Profiles................................................................................................................. 271Sniffer................................................................................................................................. 274Sniffer Sniff........................................................................................................................ 275Sniffer Packets.................................................................................................................... 276Snooper............................................................................................................................... 276General Information ........................................................................................................... 277Troubleshooting.................................................................................................................. 291

    Xpeed SDSL Interface..................................................................... 292General Information........................................................................................................... 292Xpeed Interface Configuration........................................................................................... 293Frame Relay Configuration Examples............................................................................... 294Troubleshooting.................................................................................................................. 295

    EoIP.................................................................................................. 297General Information........................................................................................................... 297EoIP Setup.......................................................................................................................... 298EoIP Application Example................................................................................................. 299Troubleshooting.................................................................................................................. 301

    IP Security........................................................................................ 303General Information ........................................................................................................... 303Policy Settings.................................................................................................................... 306Peers................................................................................................................................... 308Remote Peer Statistics........................................................................................................ 310Installed SAs....................................................................................................................... 310Flushing Installed SA Table............................................................................................... 311Counters.............................................................................................................................. 312General Information ........................................................................................................... 313

    IPIP Tunnel Interfaces..................................................................... 319General Information........................................................................................................... 319IPIP Setup........................................................................................................................... 320General Information ........................................................................................................... 321

    L2TP Interface................................................................................. 323General Information........................................................................................................... 323L2TP Client Setup.............................................................................................................. 325Monitoring L2TP Client..................................................................................................... 326L2TP Server Setup............................................................................................................. 326L2TP Server Users............................................................................................................. 327L2TP Application Examples.............................................................................................. 328

    vi

  • Troubleshooting.................................................................................................................. 332PPPoE.............................................................................................. 334

    General Information........................................................................................................... 334PPPoE Client Setup............................................................................................................ 336Monitoring PPPoE Client................................................................................................... 337PPPoE Server Setup (Access Concentrator)...................................................................... 338PPPoE Users....................................................................................................................... 339PPPoE Server User Interfaces............................................................................................ 339Application Examples........................................................................................................ 340Troubleshooting.................................................................................................................. 342

    PPTP................................................................................................. 344General Information........................................................................................................... 344PPTP Client Setup.............................................................................................................. 346Monitoring PPTP Client..................................................................................................... 347PPTP Server Setup............................................................................................................. 347PPTP Users......................................................................................................................... 348PPTP Server User Interfaces.............................................................................................. 348PPTP Application Examples.............................................................................................. 349Troubleshooting.................................................................................................................. 354

    VLAN................................................................................................ 356General Information........................................................................................................... 356VLAN Setup....................................................................................................................... 358Application Example.......................................................................................................... 359

    Graphing.......................................................................................... 360General Information........................................................................................................... 360General Options.................................................................................................................. 361Health Graphing................................................................................................................. 361Interface Graphing.............................................................................................................. 362Simple Queue Graphing..................................................................................................... 362Resource Graphing............................................................................................................. 363

    HotSpot User AAA.......................................................................... 364General Information ........................................................................................................... 364HotSpot User Profiles......................................................................................................... 365HotSpot Users..................................................................................................................... 366HotSpot Active Users......................................................................................................... 368

    IP accounting................................................................................... 370General Information ........................................................................................................... 370Local IP Traffic Accounting............................................................................................... 371Local IP Traffic Accounting Table.................................................................................... 372Web Access to the Local IP Traffic Accounting Table...................................................... 373

    PPP User AAA................................................................................. 374General Information ........................................................................................................... 374Local PPP User Profiles..................................................................................................... 375Local PPP User Database................................................................................................... 378Monitoring Active PPP Users............................................................................................ 378PPP User Remote AAA...................................................................................................... 379

    vii

  • RADIUS client.................................................................................. 381General Information ........................................................................................................... 381RADIUS Client Setup........................................................................................................ 382Connection Terminating from RADIUS............................................................................ 383Suggested RADIUS Servers............................................................................................... 384Supported RADIUS Attributes........................................................................................... 384Troubleshooting.................................................................................................................. 391

    Router User AAA............................................................................. 392General Information ........................................................................................................... 392Router User Groups............................................................................................................ 393Router Users....................................................................................................................... 394Monitoring Active Router Users........................................................................................ 395Router User Remote AAA................................................................................................. 396

    Traffic Flow...................................................................................... 397General Information........................................................................................................... 397General Configuration........................................................................................................ 398Traffic-Flow Target............................................................................................................ 398General Information ........................................................................................................... 398

    SNMP Service.................................................................................. 402General Information........................................................................................................... 402SNMP Setup....................................................................................................................... 403SNMP Communities.......................................................................................................... 403Available OIDs................................................................................................................... 404Available MIBs.................................................................................................................. 405Tools for SNMP Data Collection and Analysis................................................................. 409

    Log Management............................................................................. 411General Information ........................................................................................................... 411General Settings................................................................................................................. 412Actions................................................................................................................................ 412Log Messages..................................................................................................................... 413

    Bandwidth Control.......................................................................... 415General Information ........................................................................................................... 415Queue Types....................................................................................................................... 426Interface Default Queues.................................................................................................... 429Simple Queues.................................................................................................................... 429Queue Trees........................................................................................................................ 431General Information ........................................................................................................... 431

    Filter................................................................................................. 438General Information ........................................................................................................... 438Firewall Filter..................................................................................................................... 439Filter Applications.............................................................................................................. 445

    Address Lists.................................................................................. 447General Information ........................................................................................................... 447Address Lists...................................................................................................................... 447

    Mangle.............................................................................................. 449General Information ........................................................................................................... 449

    viii

  • Mangle................................................................................................................................ 450General Information ........................................................................................................... 455

    NAT................................................................................................... 457General Information ........................................................................................................... 457NAT.................................................................................................................................... 458NAT Applications.............................................................................................................. 463

    Packet Flow..................................................................................... 465General Information........................................................................................................... 465Packet Flow........................................................................................................................ 466Connection Tracking.......................................................................................................... 468Connection Timeouts......................................................................................................... 470Service Ports....................................................................................................................... 471General Firewall Information............................................................................................. 472

    Services, Protocols, and Ports...................................................... 475General Information ........................................................................................................... 475Modifying Service Settings................................................................................................ 475List of Services................................................................................................................... 476

    DHCP Client and Server................................................................. 479General Information ........................................................................................................... 480DHCP Client Setup............................................................................................................ 481DHCP Server Setup............................................................................................................ 483Store Leases on Disk.......................................................................................................... 485DHCP Networks................................................................................................................. 486DHCP Server Leases.......................................................................................................... 486DHCP Alert........................................................................................................................ 489DHCP Option..................................................................................................................... 490DHCP Relay....................................................................................................................... 490Question&Answer-Based Setup......................................................................................... 491General Information ........................................................................................................... 492

    DNS Client and Cache.................................................................... 497General Information ........................................................................................................... 497Client Configuration and Cache Setup............................................................................... 498Cache Monitoring............................................................................................................... 499Static DNS Entries.............................................................................................................. 499Flushing DNS cache........................................................................................................... 499

    HotSpot Gateway............................................................................ 501General Information........................................................................................................... 502Question&Answer-Based Setup......................................................................................... 508HotSpot Interface Setup..................................................................................................... 509HotSpot Server Profiles...................................................................................................... 510HotSpot User Profiles......................................................................................................... 512HotSpot Users..................................................................................................................... 512HotSpot Active Users......................................................................................................... 512HotSpot Cookies................................................................................................................ 512HTTP-level Walled Garden................................................................................................ 513IP-level Walled Garden...................................................................................................... 514One-to-one NAT static address bindings........................................................................... 515

    ix

  • Active Host List.................................................................................................................. 516Service Port........................................................................................................................ 517Customizing HotSpot: Firewall Section............................................................................. 517Customizing HotSpot: HTTP Servlet Pages...................................................................... 519Possible Error Messages..................................................................................................... 527HotSpot How-to's............................................................................................................... 528

    HTTP Proxy...................................................................................... 529General Information ........................................................................................................... 529Setup................................................................................................................................... 531Access List......................................................................................................................... 532Direct Access List.............................................................................................................. 533Cache Management............................................................................................................ 534Proxy Monitoring............................................................................................................... 535Connection List.................................................................................................................. 536Cache inserts....................................................................................................................... 536Cache Lookups................................................................................................................... 537Complementary Tools........................................................................................................ 537HTTP Methods................................................................................................................... 538

    IP Pools............................................................................................ 540General Information ........................................................................................................... 540Setup................................................................................................................................... 541Used Addresses from Pool................................................................................................. 541

    SOCKS Proxy Server...................................................................... 543General Information ........................................................................................................... 543SOCKS Configuration........................................................................................................ 544Access List......................................................................................................................... 545Active Connections............................................................................................................ 545General Information ........................................................................................................... 546

    UPnP................................................................................................. 548General Information ........................................................................................................... 548Enabling Universal Plug-n-Play......................................................................................... 549UPnP Interfaces.................................................................................................................. 549

    Web Proxy........................................................................................ 552General Information ........................................................................................................... 552Setup................................................................................................................................... 554Access List......................................................................................................................... 555Direct Access List.............................................................................................................. 557Cache Management............................................................................................................ 558Complementary Tools........................................................................................................ 558Transparent Mode............................................................................................................... 559HTTP Methods................................................................................................................... 559

    Certificate Management.................................................................. 562General Information ........................................................................................................... 562Certificates.......................................................................................................................... 563

    DDNS Update Tool.......................................................................... 566General Information ........................................................................................................... 566Dynamic DNS Update........................................................................................................ 567

    x

  • GPS Synchronization...................................................................... 568General Information ........................................................................................................... 568Synchronizing with a GPS Receiver.................................................................................. 569GPS Monitoring................................................................................................................. 570

    LCD Management............................................................................ 571General Information ........................................................................................................... 571Configuring the LCD's Settings......................................................................................... 573LCD Information Display Configuration........................................................................... 574LCD Troubleshooting......................................................................................................... 575

    MNDP................................................................................................ 576General Information ........................................................................................................... 576Setup................................................................................................................................... 577Neighbour List.................................................................................................................... 577

    System Clock and NTP................................................................... 579System Clock...................................................................................................................... 579System Clock DST adjustment.......................................................................................... 580General Information ........................................................................................................... 581Client.................................................................................................................................. 582Server.................................................................................................................................. 582Time Zone.......................................................................................................................... 583

    RouterBoard-specific functions.................................................... 585General Information ........................................................................................................... 585BIOS upgrading.................................................................................................................. 586BIOS Configuration........................................................................................................... 587System Health Monitoring................................................................................................. 588LED Management or RB200.............................................................................................. 589LED Management on RB500............................................................................................. 590Fan voltage control............................................................................................................. 590Console Reset Jumper........................................................................................................ 591

    Support Output File........................................................................ 592General Information ........................................................................................................... 592Generating Support Output File......................................................................................... 592

    System Resource Management..................................................... 593General Information ........................................................................................................... 594System Resource................................................................................................................ 594IRQ Usage Monitor............................................................................................................ 595IO Port Usage Monitor....................................................................................................... 595USB Port Information........................................................................................................ 596PCI Information.................................................................................................................. 596Reboot................................................................................................................................ 597Shutdown............................................................................................................................ 597Router Identity.................................................................................................................... 598Date and Time.................................................................................................................... 598System Clock Manual Adjustment..................................................................................... 599Configuration Change History........................................................................................... 599System Note....................................................................................................................... 600

    xi

  • Bandwidth Test............................................................................... 602General Information........................................................................................................... 602Server Configuration.......................................................................................................... 603Client Configuration........................................................................................................... 604

    ICMP Bandwidth Test..................................................................... 606General Information ........................................................................................................... 606ICMP Bandwidth Test........................................................................................................ 606

    Packet Sniffer.................................................................................. 608General Information........................................................................................................... 608Packet Sniffer Configuration.............................................................................................. 609Running Packet Sniffer...................................................................................................... 610Sniffed Packets................................................................................................................... 611Packet Sniffer Protocols..................................................................................................... 612Packet Sniffer Host............................................................................................................. 614Packet Sniffer Connections................................................................................................ 614

    Ping.................................................................................................. 616General Information........................................................................................................... 616The Ping Command............................................................................................................ 617MAC Ping Server............................................................................................................... 618

    Torch (Realtime Traffic Monitor).................................................... 619General Information........................................................................................................... 619The Torch Command.......................................................................................................... 619

    Traceroute........................................................................................ 622General Information........................................................................................................... 622The Traceroute Command.................................................................................................. 623

    Network Monitor.............................................................................. 624General Information ........................................................................................................... 624Network Watching Tool..................................................................................................... 624

    Serial Port Monitor.......................................................................... 627General Information ........................................................................................................... 627Sigwatch............................................................................................................................. 627

    Scripting Host.................................................................................. 630General Information ........................................................................................................... 631Console Command Syntax................................................................................................. 631Expression Grouping.......................................................................................................... 633Variables............................................................................................................................. 634Command Substitution and Return Values........................................................................ 634Operators............................................................................................................................ 635Data types........................................................................................................................... 638Command Reference.......................................................................................................... 639Special Commands............................................................................................................. 644Additional Features............................................................................................................ 645Script Repository................................................................................................................ 645Task Management.............................................................................................................. 646Script Editor....................................................................................................................... 647

    Scheduler......................................................................................... 649xii

  • General Information ........................................................................................................... 649Scheduler Configuration..................................................................................................... 649

    Traffic Monitor................................................................................. 652General Information ........................................................................................................... 652Traffic Monitor................................................................................................................... 652

    IP Telephony.................................................................................... 654General Information ........................................................................................................... 655General Voice port settings................................................................................................ 657Voicetronix Voice Ports..................................................................................................... 658LineJack Voice Ports.......................................................................................................... 659PhoneJack Voice Ports....................................................................................................... 661Zaptel Voice Ports.............................................................................................................. 663ISDN Voice Ports............................................................................................................... 664Voice Port for Voice over IP (voip)................................................................................... 666Numbers............................................................................................................................. 666Regional Settings................................................................................................................ 669Audio CODECs.................................................................................................................. 670AAA................................................................................................................................... 670Gatekeeper.......................................................................................................................... 672Troubleshooting.................................................................................................................. 675A simple example............................................................................................................... 675

    System Watchdog........................................................................... 682General Information ........................................................................................................... 682Hardware Watchdog Management..................................................................................... 682

    UPS Monitor..................................................................................... 684General Information ........................................................................................................... 684UPS Monitor Setup............................................................................................................ 685Runtime Calibration........................................................................................................... 686UPS Monitoring................................................................................................................. 687

    VRRP................................................................................................ 689General Information........................................................................................................... 689VRRP Routers.................................................................................................................... 690Virtual IP addresses............................................................................................................ 691A simple example of VRRP fail over................................................................................. 692

    xiii

  • Specifications SheetDocument revision 2.8 (September 7, 2007, 8:36 GMT)This document applies to MikroTik RouterOS V2.9

    Table of Contents

    Table of ContentsDescription

    General Information

    Description

    Major features

    Firewall and NAT - stateful packet filtering; Peer-to-Peer protocol filtering; source anddestination NAT; classification by source MAC, IP addresses (networks or a list of networks)and address types, port range, IP protocols, protocol options (ICMP type, TCP flags and MSS),interfaces, internal packet and connection marks, ToS (DSCP) byte, content, matchingsequence/frequency, packet size, time and more...

    Routing - Static routing; Equal cost multi-path routing; Policy based routing (classificationdone in firewall); RIP v1 / v2, OSPF v2, BGP v4

    Data Rate Management - Hierarchical HTB QoS system with bursts; per IP / protocol / subnet/ port / firewall mark; PCQ, RED, SFQ, FIFO queue; CIR, MIR, contention ratios, dynamicclient rate equalizing (PCQ), bursts, Peer-to-Peer protocol limitation

    HotSpot - HotSpot Gateway with RADIUS authentication and accounting; true Plug-and-Playaccess for network users; data rate limitation; differentiated firewall; traffic quota; real-timestatus information; walled-garden; customized HTML login pages; iPass support; SSL secureauthentication; advertisement support

    Point-to-Point tunneling protocols - PPTP, PPPoE and L2TP Access Concentrators andclients; PAP, CHAP, MSCHAPv1 and MSCHAPv2 authentication protocols; RADIUSauthentication and accounting; MPPE encryption; compression for PPPoE; data rate limitation;differentiated firewall; PPPoE dial on demand

    Simple tunnels - IPIP tunnels, EoIP (Ethernet over IP) IPsec - IP security AH and ESP protocols; MODP Diffie-Hellman groups 1,2,5; MD5 and

    SHA1 hashing algorithms; DES, 3DES, AES-128, AES-192, AES-256 encryption algorithms;Perfect Forwarding Secrecy (PFS) MODP groups 1,2,5

    Proxy - FTP and HTTP caching proxy server; HTTPS proxy; transparent DNS and HTTPproxying; SOCKS protocol support; DNS static entries; support for caching on a separate drive;access control lists; caching lists; parent proxy support

    DHCP - DHCP server per interface; DHCP relay; DHCP client; multiple DHCP networks;static and dynamic DHCP leases; RADIUS support

    VRRP - VRRP protocol for high availability UPnP - Universal Plug-and-Play support

    Page 1 of 695Copyright 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.

  • NTP - Network Time Protocol server and client; synchronization with GPS system Monitoring/Accounting - IP traffic accounting, firewall actions logging, statistics graphs

    accessible via HTTP

    SNMP - read-only access M3P - MikroTik Packet Packer Protocol for Wireless links and Ethernet MNDP - MikroTik Neighbor Discovery Protocol; also supports Cisco Discovery Protocol

    (CDP)

    Tools - ping; traceroute; bandwidth test; ping flood; telnet; SSH; packet sniffer; Dynamic DNSupdate tool

    TCP/IP protocol suite:

    Wireless - IEEE802.11a/b/g wireless client and access point (AP) modes; Nstreme andNstreme2 proprietary protocols; Wireless Distribution System (WDS) support; virtual AP; 40and 104 bit WEP; WPA pre-shared key authentication; access control list; authentication withRADIUS server; roaming (for wireless client); AP bridging

    Bridge - spanning tree protocol; multiple bridge interfaces; bridge firewalling, MAC NATting VLAN - IEEE802.1q Virtual LAN support on Ethernet and wireless links; multiple VLANs;

    VLAN bridging

    Synchronous - V.35, V.24, E1/T1, X.21, DS3 (T3) media types; sync-PPP, Cisco HDLC,Frame Relay line protocols; ANSI-617d (ANDI or annex D) and Q933a (CCITT or annex A)Frame Relay LMI types

    Asynchronous - serial PPP dial-in / dial-out; PAP, CHAP, MSCHAPv1 and MSCHAPv2authentication protocols; RADIUS authentication and accounting; onboard serial ports; modempool with up to 128 ports; dial on demand

    ISDN - ISDN dial-in / dial-out; PAP, CHAP, MSCHAPv1 and MSCHAPv2 authenticationprotocols; RADIUS authentication and accounting; 128K bundle support; Cisco HDLC, x75i,x75ui, x75bui line protocols; dial on demand

    SDSL - Single-line DSL support; line termination and network termination modes

    Layer 2 connectivity

    IA32 Hardware requirements

    CPU and motherboard - advanced 4th generation (core frequency 100MHz or more), 5thgeneration (Intel Pentium, Cyrix 6X86, AMD K5 or comparable) or newer uniprocessor(multi-processor systems are not supported) Intel IA-32 (i386) compatible architecture with PCIlocal bus

    RAM - minimum 32 MiB, maximum 1 GiB; 64 MiB or more recommended Non-volatile storage medium - standard ATA/IDE interface controller and drive (SCSI and

    USB controllers and drives are not supported; RAID controllers that require additional driversare not supported; SATA is only supported in legacy access mode) with minimum of 64 Mbspace; Flash and Microdrive devices may be connected using an adapted with ATA interface

    MIPS Hardware requirements

    Supported systems - RouterBOARD 500 series (532, 512 and 511)

    Page 2 of 695Copyright 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.

  • RAM - minimum 32 MiB Non-volatile storage medium - onboard NAND device, minimum 64Mb

    Hardware needed for installation time only

    Floppy-based installation - standard AT floppy controller and 3.5'' disk drive connected as thefirst floppy disk drive (A); AT, PS/2 or USB keyboard; VGA-compatible video controller cardand monitor

    CD-based installation - standard ATA/ATAPI interface controller and CD drive supporting"El Torito" bootable CDs (you might need also to check if the router's BIOS supports bootingfrom this type of media; if El Torito is not supported by the BIOS, you can still boot up fromthe CD using Smart Boot Manager Floppy); AT, PS/2 or USB keyboard; VGA-compatiblevideo controller card and monitor

    Floppy-based network installation - standard AT floppy controller and 3.5'' disk driveconnected as the first floppy disk drive (A); PCI Ethernet network interface card supported byMikroTik RouterOS (see the Device Driver List for the list)

    Full network-based installation - PCI Ethernet network interface card supported by MikroTikRouterOS (see the Device Driver List for the list) with PXE or EtherBoot extension bootingROM (you might need also to check if the router's BIOS supports booting from network)

    Depending on installation method chosen the router must have the following hardware:

    Configuration possibilities

    RouterOS provides powerful command-line configuration interface. You can also manage therouter through WinBox - the easy-to-use remote configuration GUI for Windows -, which providesall the benefits of the command-line interface, without the actual "command-line", which may scarenovice users. Web-based configuration is provided for some most popular functionality. Majorfeatures:

    Clean and consistent user interface

    Runtime configuration and monitoring

    Multiple connections

    User policies

    Action history, undo/redo actions

    safe mode operation

    Scripts can be scheduled for executing at certain times, periodically, or on events. Allcommand-line commands are supported in scripts

    Local teminal console - AT, PS/2 or USB keyboard and VGA-compatible video controller cardwith monitor

    Serial console - any (you may choose any one; the first, also known as COM1, is used bydefault) RS232 asynchronous serial port, which is by default set to 9600bit/s, 8 data bits, 1 stopbit, no parity, hardware (RTS/CTS) flow control

    Telnet - telnet server is running on 23 TCP port by default SSH - SSH (secure shell) server is running on 22 TCP port by default (available only if security

    Page 3 of 695Copyright 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.

  • package is installed)

    MAC Telnet - MikroTik MAC Telnet potocol server is by default enabled on all Ethernet-likeinterfaces

    Winbox - Winbox is a RouterOS remote administration GUI for Windows, that uses 8291 TCPport. It may also connect routers by their MAC addresses

    Router may be managed through the following interfaces (note that until a valid IP configuration isenteres, telnet and SSH connections are not possible):

    Page 4 of 695Copyright 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.

  • Device Driver ListDocument revision 3.8 (April 5, 2007, 10:01 GMT)This document applies to MikroTik RouterOS V2.9

    Table of Contents

    Table of ContentsSummary

    EthernetSpecificationsDescriptionNotes

    WirelessSpecificationsDescription

    Aironet ArlanSpecificationsDescription

    RadioLANSpecificationsDescription

    Synchronous SerialSpecificationsDescription

    Asynchronous SerialSpecificationsDescription

    ISDNSpecificationsDescription

    VoIPSpecificationsDescription

    xDSLSpecificationsDescription

    HomePNASpecificationsDescription

    LCDSpecificationsDescription

    PCMCIA AdaptersSpecificationsDescription

    GPRS CardsSpecifications

    Page 5 of 695Copyright 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.

  • DescriptionCDMA/EV-DO Cards

    SpecificationsDescription

    General Information

    Summary

    The document lists the drivers, included in MikroTik RouterOS and the devices that are tested towork with MikroTik RouterOS. If a device is not listed here, it does not mean the device is notsupported, it still may work. It just means that the device was not tested.

    Ethernet

    Packages required: system

    Description

    3Com 509 Series

    Chipset type: 3Com 509 Series ISA 10Base

    Compatibility:

    3Com EtherLink III

    3Com FastEtherLink

    Chipset type: 3Com 3c590/3c900 (3Com FastEtherLink and FastEtherLink XL) PCI 10/100Base

    Compatibility:

    3c590 Vortex 10BaseT

    3c592 chip

    3c595 Vortex 100BaseTX

    3c595 Vortex 100BaseT4

    3c595 Vortex 100Base-MII

    3c597 chip

    3Com Vortex

    3c900 Boomerang 10BaseT

    3c900 Boomerang 10Mbit/s Combo

    3c900 Cyclone 10Mbit/s Combo

    3c900B-FL Cyclone 10Base-FL

    Page 6 of 695Copyright 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.

  • 3c905 Boomerang 100BaseTX

    3c905 Boomerang 100BaseT4

    3c905B Cyclone 100BaseTX

    3c905B Cyclone 10/100/BNC

    3c905B-FX Cyclone 100BaseFX

    3c905C Tornado

    3c980 Cyclone

    3cSOHO100-TX Hurricane

    3CSOHO100B-TX

    3c555 Laptop Hurricane

    3c575 Boomerang CardBus

    3CCFE575 Cyclone CardBus

    3CCFE656 Cyclone CardBus

    3c575 series CardBus

    3Com Boomerang

    ADMtek Pegasus

    Chipset type: ADMtek Pegasus/Pegasus II USB 10/100BaseT

    Compatibility:

    Planet 10/100Base-TX USB Ethernet Adapter UE-9500

    Linksys Instant EtherFast 10/100 USB Network Adapter USB100TX

    AMD PCnet

    Chipset type: AMD PCnet/PCnet II ISA/PCI 10BaseT

    Compatibility:

    AMD PCnet-ISA

    AMD PCnet-ISA II

    AMD PCnet-PCI II

    AMD 79C960 based cards

    AMD PCnet32

    Chipset type: AMD PCnet32 PCI 10BaseT and 10/100BaseT

    Compatibility:

    AMD PCnet-PCI

    Page 7 of 695Copyright 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.

  • AMD PCnet-32

    AMD PCnet-Fast

    Broadcom Tigon3

    Chipset type: Broadcom Tigon3 PCI 10/100/1000BaseT

    Compatibility:

    Broadcom Tigon3 570x

    Broadcom Tigon3 5782

    Broadcom Tigon3 5788

    Broadcom Tigon3 5901

    Broadcom Tigon3 5901-2

    SysKonnect SK-9Dxx Gigabit Ethernet

    SysKonnect SK-9Mxx Gigabit Ethernet

    Altima AC100x

    Altima AC9100

    Davicom DM9102

    Chipset type: Davicom DM9102 PCI 10/100Base

    Compatibility:

    Davicom DM9102

    Davicom DM9102A

    Davicom DM9102A+DM9801

    Davicom DM9102A+DM9802

    DEC 21x4x 'Tulip'

    Chipset type: DEC 21x4x "Tulip" PCI 10/100Base

    Compatibility:

    Digital DC21040 Tulip

    Digital DC21041 Tulip

    Digital DS21140 Tulip

    21140A chip

    21142 chip

    Digital DS21143 Tulip

    Page 8 of 695Copyright 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-Link DFE 570TX 4-port

    Lite-On 82c168 PNIC

    Macronix 98713 PMAC

    Macronix 98715 PMAC

    Macronix 98725 PMAC

    ASIX AX88140

    Lite-On LC82C115 PNIC-II

    ADMtek AN981 Comet

    Compex RL100-TX

    Intel 21145 Tulip

    IMC QuikNic FX

    Conexant LANfinity

    Intel EtherExpressPro

    Chipset type: Intel i82557 "Speedo3" (Intel EtherExpressPro) PCI 10/100Base

    Compatibility:

    Intel i82557/i82558/i82559ER/i82801BA-7 EtherExpressPro PCI cards

    Intel PRO/1000

    Chipset type: Intel i8254x (Intel PRO/1000) PCI 10/100/1000Base

    Compatibility:

    Intel PRO/1000 Gigabit Server Adapter (i82542, Board IDs: 700262-xxx, 717037-xxx)

    Intel PRO/1000 F Server Adapter (i82543, Board IDs: 738640-xxx, A38888-xxx)

    Intel PRO/1000 T Server Adapter (i82543, Board IDs: A19845-xxx, A33948-xxx)

    Intel PRO/1000 XT Server Adapter (i82544, Board IDs: A51580-xxx)

    Intel PRO/1000 XF Server Adapter (i82544, Board IDs: A50484-xxx)

    Intel PRO/1000 T Desktop Adapter (i82544, Board IDs: A62947-xxx)

    Intel PRO/1000 MT Desktop Adapter (i82540, Board IDs: A78408-xxx, C91016-xxx)

    Intel PRO/1000 MT Server Adapter (i82545, Board IDs: A92165-xxx, C31527-xxx)

    Intel PRO/1000 MT Dual Port Server Adapter (i82546, Board IDs: A92111-xxx, C29887-xxx)

    Intel PRO/1000 MT Quad Port Server Adapter (i82546, Board IDs: C32199-xxx)

    Intel PRO/1000 MF Server Adapter (i82545, Board IDs: A91622-xxx, C33915-xxx)

    Intel PRO/1000 MF Server Adapter (LX) (i82545, Board IDs: A91624-xxx, C33916-xxx)

    Intel PRO/1000 MF Dual Port Server Adapter (i82546, Board IDs: A91620-xxx, C30848-xxx)

    Page 9 of 695Copyright 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.

  • Intel PRO/1000 GT Desktop Adapter (i82541PI)

    Marvell Yukon

    Chipset type: Marvell Yukon 88E80xx PCI 10/100/1000Base

    Compatibility:

    3Com 3C940 Gigabit LOM Ethernet Adapter

    3Com 3C941 Gigabit LOM Ethernet Adapter

    Allied Telesyn AT-2970LX Gigabit Ethernet Adapter

    Allied Telesyn AT-2970LX/2SC Gigabit Ethernet Adapter

    Allied Telesyn AT-2970SX Gigabit Ethernet Adapter

    Allied Telesyn AT-2970SX/2SC Gigabit Ethernet Adapter