Routes - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

Description
MikroTik RouterOS has following types of routes:
• dynamic routes - automatically created routes for networks, which are directly accessed
through an interface. They appear automatically, when adding a new IP address. Dynamic
routes are also added by routing protocols.
• static routes - user-defined routes that specify the router which can forward traffic to the
specified destination network. They are useful for specifying the default gateway
ECMP (Equal Cost Multi-Path) Routing
This routing mechanism enables packet routing along multiple paths with equal cost and ensures
load balancing. With ECMP routing, you can use more than one gateway for one destination
network (Note! This approach does not provide failover). With ECMP, a router potentially has
several available next hops towards a given destination. A new gateway is chosen for each new
source/destination IP pair. It means that, for example, one FTP connection will use only one link,
but new connection to a different server will use another link. ECMP routing has another good
feature - single connection packets do not get reordered and therefore do not kill TCP performance.
The ECMP routes can be created by routing protocols (RIP or OSPF), or by adding a static route
with
multiple
gateway=192.168.0.1,192.168.1.1). The routing protocols may create multipath dynamic routes
with equal cost automatically, if the cost of the interfaces is adjusted properly. For more
information on using routing protocols, please read the corresponding Manual.
Policy-Based Routing
It is a routing approach where the next hop (gateway) for a packet is chosen, based on a policy,
which is configured by the network administrator. In RouterOS the procedure the follwing:
mark the desired packets, with a routing-mark
choose a gateway for the marked packets
Note! In routing process, the router decides which route it will use to send out the packet.
Afterwards, when the packet is masqueraded, its source address is taken from the prefsrc field.

Routes

Home menu level: /ip route
Description
In this submenu you can configure Static, Equal Cost Multi-Path and Policy-Based Routing and see
the routes.
Property Description
as-path ( text ) - manual value of BGP's as-path for outgoing route
Copyright 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.
gateways,
separated
by
a
comma
(e.g.,
/ip
route
Page 131 of 695
add

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents