General Information - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

Example
To view the list of the routes:
[admin@MikroTik] routing rip route> print
Flags: S - static, R - rip, O - ospf, C - connect, B - bgp
0 O dst-address=0.0.0.0/32 gateway=10.7.1.254 metric=1 from=0.0.0.0
...
33 R dst-address=159.148.10.104/29 gateway=10.6.1.1 metric=2 from=10.6.1.1
34 R dst-address=159.148.10.112/28 gateway=10.6.1.1 metric=2 from=10.6.1.1
[admin@MikroTik] routing rip route>

General Information

Example
Let us consider an example of routing information exchange between MikroTik router, a Cisco
router and the ISP (also MikroTik) routers:
MikroTik Router Configuration
[admin@MikroTik] > interface print
Flags: X - disabled, D - dynamic, R - running
#
NAME
0
R ether1
1
R ether2
[admin@MikroTik] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
#
ADDRESS
0
10.0.0.174/24
1
192.168.0.1/24
[admin@MikroTik] > ip route print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, R - rip, O - ospf, B - bgp
#
DST-ADDRESS
0 DC 192.168.0.0/24
1 DC 10.0.0.0/24
[admin@MikroTik] >
Note, that no default route has been configured. The route will be obtained using the RIP. The
necessary configuration of the RIP general settings is as follows:
[admin@MikroTik] routing rip> set redistribute-connected=yes
[admin@MikroTik] routing rip> print
redistribute-static: no
redistribute-connected: yes
redistribute-ospf: no
redistribute-bgp: no
metric-static: 1
metric-connected: 1
metric-ospf: 1
metric-bgp: 1
update-timer: 30s
timeout-timer: 3m
garbage-timer: 2m
[admin@MikroTik] routing rip>
The minimum required configuration of RIP interface is just enabling the network associated
with the ether1 interface:
[admin@MikroTik] routing rip network> add address=10.0.0.0/2
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.
TYPE
ether
ether
NETWORK
BROADCAST
10.0.0.174
10.0.0.255
192.168.0.0
192.168.0.255
G GATEWAY
r 0.0.0.0
r 0.0.0.0
MTU
1500
1500
INTERFACE
ether1
ether2
DISTANCE INTERFACE
0
ether2
0
ether1
Page 127 of 695

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RouterOS v2.9 and is the answer not in the manual?

Table of Contents

Save PDF