MikroTik RouterOS�Training Class�
Schedule
2
Course Objective
3
About MikroTik
4
MikroTik's History
5
Where is MikroTik?
6
Where is MikroTik ?
7
Introduce Yourself
8
MikroTik RouterOS
9
What is RouterOS ?
10
What is RouterOS ?
11
What is RouterBOARD ?
12
First Time Access
Null Modem
Cable
Ethernet
cable
13
Winbox
14
Download Winbox
15
Connecting
Click on the [...] button to see your router
16
Communication
17
18
MAC address
19
IP
20
Subnets
21
Subnets
22
23
Selecting IP address
24
Selecting IP address Example
25
Connecting
Winbox
Ethernet
Cable
26
Connecting Lab
LAB
27
Diagram
Your Router
Your Laptop
Class AP
28
Laptop - Router
29
Laptop - Router
30
Laptop - Router
31
Laptop Router Diagram
Your Router
Your Laptop
Class AP
192.168.X.1
192.168.X.254
32
Router Internet
Your Router
Your Laptop
Class AP
192.168.X.1
192.168.X.254
33
Router - Internet
34
Router - Internet
To configure wireless interface, double-click on it’s name
35
Router - Internet
36
Router - Internet
37
Router - Internet
38
Router - Internet
Check Internet connectivity by traceroute
39
Router Internet
Your Router
Your Laptop
Class AP
DHCP-Client
Wireless
40
Laptop - Internet
Your router too can be a DNS server for your local network (laptop)
41
Laptop - Internet
42
Laptop - Internet
43
Private and Public space
44
Laptop - Internet
45
Check Connectivity
Ping www.mikrotik.com from your laptop
46
What Can Be Wrong
47
Network Diagram
Your Router
Your Laptop
Class AP
192.168.X.1
192.168.X.254
DHCP-Client
48
User Management
49
User Management Lab
LAB
50
Upgrading Router Lab
LAB
51
Upgrading Router
52
Package Management
RouterOS functions are enabled by packages
53
Package Information
54
Package Lab
LAB
55
Router Identity
Option to set name for each router
56
Router Identity
Identity information is shown in different places
57
Router Identity Lab
Set your number + your name as router identity
LAB
58
NTP
59
Why NTP
60
NTP Client
NTP package is not required
61
Configuration Backup
62
Configuration Backup
/export file=conf-august-2009
/ ip firewall filter export file=firewall-aug-2009
/ file print
/ import [Tab]
63
Backup Lab
LAB
64
Netinstall
65
Netinstall
66
Optional Lab
LAB
67
RouterOS License
68
License
69
Obtain License
Login to
your account
70
Update License for 802.11N
71
Summary
72
Useful Links
73
Firewall
74
Firewall
75
Firewall Filter
76
Filter Chains
77
Firewall Chains
Input
Winbox
Forward
WWW E-Mail
Output
Ping from Router
78
Firewall Chains
79
Input
80
Input
Add an accept rule for your Laptop IP address
81
Input
Add a drop rule in input chain to drop everyone else
82
Input Lab
LAB
83
Input
84
Input
85
Address-List
86
Address-List
87
Address-List
88
Address-List in Firewall
89
Address-List Lab
90
LAB
Forward
91
Forward
92
Forward
LAB
93
List of well-known ports
94
Forward
Create a rule that will block client’s p2p traffic
95
Firewall Log
96
Firewall Log
97
Firewall chains
98
Firewall chains in Action
99
Firewall chain Lab
100
LAB
Connections
101
Connection State
102
Connection State
LAB
103
Summary
104
Network Address Translation
105
NAT
106
SRC-NAT
SRC-Address
New
SRC-Address
Your Laptop
Remote Server
107
DST-NAT
DST-Address
New DST-Address
Private Network
Server
Public Host
108
NAT Chains
109
DST-NAT
110
DST-NAT Example
DST-Address
207.141.27.45:80
New DST-Address
192.168.1.1:80
Web Server
192.168.1.1
Some Computer
111
DST-NAT Example
Create a rule to forward traffic to WEB server in private network
112
Redirect
113
Redirect example
DST-Address
Configured_DNS_Server:53
New DST-Address
Router:53
DNS Cache
114
Redirect Example
LAB
115
SRC-NAT
116
Masquerade
Src Address
192.168.X.1
Src Address
router address
192.168.X.1
Public Server
117
SRC-NAT Limitations
118
NAT Helpers
119
Firewall Tips
120
Connection Tracking
121
Connection Tracking
122
Torch
Detailed actual traffic report for interface
123
Firewall Actions
124
NAT Actions
125
Summary
126
Bandwidth Limit
127
Simple Queue
128
Simple Queue
129
Simple Queue
Client’s
address
Limits
to configure
LAB
130
Simple Queue
131
Using Torch
Set Interface
Set Laptop
Address
Check the
Results
132
Specific Server Limit
133
LAB
Specific Server Limit
MikroTik.com
Address
134
LAB
Specific Server Limit
135
LAB
Bandwidth Test Utility
136
Bandwidth Test on Router
137
Bandwidth Server
138
Bandwidth Test
LAB
139
Traffic Priority
Select Queue
Priority is in
Advanced Tab
Set Higher Priority
LAB
140
Simple Queue Monitor
141
Simple Queue Monitor
Let’s enable graphing for Queues
142
Simple Queue Monitor
LAB
143
Advanced Queing
144
Mangle
145
Mangle Actions
146
Mangle Actions
147
Optimal Mangle
148
Optimal Mangle
149
Mangle Example
150
Mark Connection
151
Mark Packet
152
Mangle Example
153
LAB
Advanced Queuing
154
PCQ
155
PCQ, one limit to all
156
One limit to all
157
PCQ, equalize bandwidth
158
Equalize bandwidth
159
PCQ Lab
160
LAB
Summary
161
Wireless
162
What is Wireless
163
Wireless Standards
164
802.11 b/g Channels
1
2
3
4
5
6
7
8
9
10
11
2400
2483
165
802.11a Channels
36
40
5150
44
48
52
56
60
64
5350
5180
5200
5220
5240
5260
5280
5300
5320
5210
5250
5290
149
153
5735
157
161
5745
5765
5785
5805
5815
5760
5800
58
50
42
152
160
166
Supported Bands
All 5GHz (802.11a) and 2.4GHz (802.11b/g), including small channels
167
Supported Frequencies
168
Apply Country Regulations
Set wireless interface to apply your country regulations
169
RADIO Name
170
Wireless Network
171
Station Configuration
172
Connect List
173
Connect List Lab
LAB
174
Access Point Configuration
175
Snooper wireless monitor
176
Registration Table
177
Security on Access Point
178
Default Authentication
179
Access-List Lab
LAB
180
Security
181
Security
LAB
182
Configuration Tip
183
Drop Connections between clients
Default-Forwarding used to disable communications between clients connected to the same access-point
184
Default Forwarding
185
Nstreme
186
Nstreme Lab
LAB
187
Summary
188
Bridging
189
Bridge Wireless Network
Let’s get back to our configuration
Your Router
Your Laptop
Class AP
192.168.X.1
192.168.X.254
DHCP-Client
190
Bridge Wireless Network
We are going to create
one big network
191
Bridge
192
Bridge
193
Create Bridge
194
Add Bridge Port
195
Bridge
196
Bridge Wireless
197
Set WDS Mode
198
Add Bridge Ports
199
Access Point WDS
200
AP-bridge
201
WDS configuration
202
WDS
203
WDS Lab
LAB
204
WDS Lab
205
Restore Configuration
LAB
206
Summary
207
Routing
208
Route Networks
209
Route
210
Routes
211
Default Gateway
Default gateway:�next hop router where all (0.0.0.0) traffic is sent
212
Set Default Gateway Lab
213
Dynamic Routes
214
Routes
215
Static Routes
216
Static Route
217
Static Route
218
Route to Your Neighbor
219
Network Structure
220
Route To Your Neighbor
LAB
221
Route Your Neighbor
LAB
222
Router To Your Neighbor
You should be able to ping neighbor’s laptop now
223
Dynamic Routes
224
Dynamic Routes
225
Dynamic Routes
226
OSPF configuration
227
OSPF LAB
228
LAB
Summary
229
Local Network Management
230
Access to Local Network
231
ARP
232
ARP Table
ARP table provides: IP address, MAC-address and Interface
233
Static ARP table
234
Static ARP configuration
235
Static ARP Lab
LAB
236
DHCP Server
237
DHCP Server
238
DHCP-Server Setup
Click on DHCP Setup
to run Setup Wizard
Select interface for
DHCP server
Set Network for DHCP,
offered automatically
Set Gateway for
DHCP clients
Set Addresses that
will be given to clients
DNS server address
that will be assigned to clients
Time that client may use
IP address
We are done!
239
Important
240
DHCP Server Lab
LAB
241
DHCP Server Information
Leases provide information about DHCP clients
242
Winbox Configuration Tip
Show or hide different Winbox columns
243
Static Lease
244
Static Lease
245
Static Lease
LAB
246
HotSpot
247
HotSpot
248
HotSpot Usage
249
HotSpot Requirements
250
HotSpot Setup
251
HotSpot Setup
Select Interface to
run HotSpot on
HotSpot address will
be selected automatically
Masquerade HotSpot network
automatically
Addresses that will be assigned
to HotSpot clients
Whether to use certificate
together with HotSpot or not
IP address to redirect SMTP
(e-mails) to your SMTP server
DNS servers address
for HotSpot clients
DNS name for HotSpot server
Add first HotSpot user
That’s all for HotSpot
Setup
252
Important Notes
253
Important Notes
254
HotSpot Help
255
HotSpot Setup Lab
LAB
256
HotSpot Network Hosts
Information about clients connected to HotSpot router
257
HotSpot Active Table
Information about authorized HotSpot clients
258
User Management
Add/Edit/Remove HotSpot users
259
HotSpot Walled-Garden
260
HotSpot Walled-Garden
Allow access to mikrotik.com
261
Bypass HotSpot
262
HotSpot Bandwidth Limits
263
HotSpot User Profile
User Profile - set of options used for specific group of HotSpot clients
264
HotSpot Advanced Lab
To give each client 64k upload and 128k download, set Rate Limit
265
HotSpot Lab
LAB
266
Tunnels
267
PPPoE
268
PPPoE Client Setup
269
PPPoE Client Lab
LAB
270
PPPoE Client Setup
LAB
271
PPPoE Server Setup
LAB
272
PPP Secret
LAB
273
PPP Profiles
274
PPP Profile
275
PPPoE
276
Pools
277
Pool
278
PPP Status
279
PPTP
280
PPTP
281
PPTP configuration
282
PPTP client
283
PPTP Client
284
PPTP Server
285
PPTP Server Clients
286
PPP Profile
287
PPTP Lab
LAB
288
Proxy
289
What is Proxy
290
Enable Proxy
The main option is Enable, other settings are optional
291
Transparent Proxy
292
Transparent Proxy
293
HTTP Firewall
294
HTTP Firewall
295
HTTP Firewall
LAB
296
Web-page logging
297
Web-Pages logging
LAB
298
Cashing to External
299
Store
300
Add Store
301
Summary
302
Dude
303
Dude
304
Dude
305
Dude Install
Install Dude Server on computer
306
Dude
307
Dude First Launch
308
Dude Lab
309
Dude Usage
310
Dude Usage
311
Troubleshooting
312
Lost Password
313
RouterBOARD License
314
Bad Wireless Signal
315
No Connection
316
Before Certification Test
317
Certification Test
318
Certification test
319
Instructions
320