Projet

Général

Profil

Mikrotik » Historique » Version 134

Vross ., 13/10/2014 15:34

1 39 Laurent GUERBY
{{>toc}}
2 39 Laurent GUERBY
3 1 Laurent GUERBY
h1. Mikrotik
4 1 Laurent GUERBY
5 1 Laurent GUERBY
RouterOS
6 1 Laurent GUERBY
7 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/MikroTik_RouterOS
8 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:TOC
9 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Webfig
10 1 Laurent GUERBY
11 5 Laurent GUERBY
http://www.mikrotik.com/download.html
12 5 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Upgrading_RouterOS
13 5 Laurent GUERBY
14 27 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Supported_Hardware
15 33 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Password_reset
16 34 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out
17 27 Laurent GUERBY
18 15 Laurent GUERBY
h2. Boitiers
19 15 Laurent GUERBY
20 16 Laurent GUERBY
* Nice box : http://forum.mikrotik.com/viewtopic.php?p=297825#p297825
21 21 Laurent GUERBY
* http://www.mikrotik.com/mfm
22 21 Laurent GUERBY
* http://www.aerial.net/shop/product_info.php?products_id=1085
23 21 Laurent GUERBY
* http://www.stationbox.info/
24 21 Laurent GUERBY
25 45 Laurent GUERBY
* Boîtiers Rexel très chers
26 23 Julien Aubé
* http://www.technic-achat.com/coffret-electrique-ip66-imo,fr,4,144T_XX.cfm (144T0010)
27 23 Julien Aubé
* http://www.interprojekt.com.pl/gold-alubox-outdoor-waterproof-case-p-472.html
28 23 Julien Aubé
* http://www.materielelectrique.com/coffret-polyester-marina-ip66-ik10-7035-300x220x160-p-6579.html
29 23 Julien Aubé
30 15 Laurent GUERBY
31 20 Laurent GUERBY
h2. Montage
32 20 Laurent GUERBY
33 20 Laurent GUERBY
* http://shop.varia-store.com/product_info.php?info=p1390_RF-Elements-EasyBracket---EasyBracket-Universal.html
34 20 Laurent GUERBY
35 19 Laurent GUERBY
h2. PoE
36 19 Laurent GUERBY
37 19 Laurent GUERBY
* http://www.i4wifi.eu/en/EU-230V-powering/PoE-convertor-48-V-24-V-802-3af-at.html
38 19 Laurent GUERBY
39 32 Laurent GUERBY
h2. Password
40 32 Laurent GUERBY
41 32 Laurent GUERBY
From: 	Le Net du Kermeur
42 45 Laurent GUERBY
Utilitaire mtpass, ça se trouve là : http://manio.skyboo.net/mikrotik/
43 32 Laurent GUERBY
Ca se compile sous g++, donc sur n'importe quel Linux ou *BSD.
44 45 Laurent GUERBY
Testé sous OpenBSD, il fait le boulot.
45 32 Laurent GUERBY
46 40 Laurent GUERBY
h2. RB433L and RB433UAHL
47 40 Laurent GUERBY
48 40 Laurent GUERBY
h3. NPK
49 40 Laurent GUERBY
50 40 Laurent GUERBY
http://routing.explode.gr/node/96
51 40 Laurent GUERBY
https://forum.openwrt.org/viewtopic.php?id=32320&p=3
52 40 Laurent GUERBY
https://forum.openwrt.org/viewtopic.php?pid=165526#p165526
53 40 Laurent GUERBY
https://github.com/lqez/npk
54 40 Laurent GUERBY
Easy install of OpenWrt on MikroTik's devices https://forum.openwrt.org/viewtopic.php?id=39171
55 40 Laurent GUERBY
http://wp.ayufan.eu/2013/02/the-rb951g-and-openwrt/
56 40 Laurent GUERBY
57 40 Laurent GUERBY
h3. Misc
58 40 Laurent GUERBY
59 40 Laurent GUERBY
TODO
60 40 Laurent GUERBY
http://i.mt.lv/routerboard/files/rb433L-series-qg_1377089307.pdf
61 40 Laurent GUERBY
62 44 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?t=65977&p=336057
63 44 Laurent GUERBY
RF antenna and close miniPCI ?
64 44 Laurent GUERBY
65 41 Laurent GUERBY
h3. Power Consuption
66 41 Laurent GUERBY
67 41 Laurent GUERBY
<pre>
68 41 Laurent GUERBY
eth1 = PoE        192.168.88.101/24
69 41 Laurent GUERBY
eth2 = milieu     192.168.102.1/24
70 41 Laurent GUERBY
eth3 = oppose PoE 192.168.103.1/24
71 41 Laurent GUERBY
wlan1 = minipci du bas 172.31.31.43/24
72 41 Laurent GUERBY
73 41 Laurent GUERBY
http://dslrouter.sourceforge.net/stuff/mikrotik/mikrotik/AirMax5_and_Mikrotik_Router_Board_Connection_Guide_revised.pdf
74 41 Laurent GUERBY
75 41 Laurent GUERBY
netboot 
76 41 Laurent GUERBY
rb750up http://forum.mikrotik.com/viewtopic.php?f=3&t=57943&start=50
77 41 Laurent GUERBY
78 41 Laurent GUERBY
USB RB750UP http://patchwork.openwrt.org/patch/3252/
79 41 Laurent GUERBY
80 41 Laurent GUERBY
http://wiki.openwrt.org/toh/mikrotik/rb750
81 41 Laurent GUERBY
http://blog.poettner.de/2011/05/27/openwrt-trunk-on-mikrotik-routerboard-411750/
82 41 Laurent GUERBY
83 41 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Netinstall
84 41 Laurent GUERBY
http://routerboard.com/pricelist/download_file.php?file_id=118
85 41 Laurent GUERBY
86 41 Laurent GUERBY
http://www.gowifi.co.nz/userguides/perform-a-netinstall.pdf
87 41 Laurent GUERBY
88 41 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?f=2&t=66093
89 41 Laurent GUERBY
reset longer than 20 seconds
90 41 Laurent GUERBY
91 41 Laurent GUERBY
https://forum.openwrt.org/viewtopic.php?id=41490
92 41 Laurent GUERBY
93 41 Laurent GUERBY
RB433L
94 41 Laurent GUERBY
idle 108 mA 12V 
95 41 Laurent GUERBY
+1 eth 130mA 173 mA max au boot
96 41 Laurent GUERBY
97 45 Laurent GUERBY
RB433L + ethernet branché RouterOS 5.11
98 41 Laurent GUERBY
conso identique RouterOS 5.26
99 41 Laurent GUERBY
RouterOS 6.6 ?
100 41 Laurent GUERBY
Volt    mA  mW
101 41 Laurent GUERBY
(*  5.0 259)1295.0
102 41 Laurent GUERBY
(*  6.0 227)1362.0
103 41 Laurent GUERBY
(*  7.0 200)1400.0
104 41 Laurent GUERBY
(*  8.0 180)1440.0
105 41 Laurent GUERBY
(*  8.5 175)1487.5
106 41 Laurent GUERBY
(*  9.0 165)1485.0
107 41 Laurent GUERBY
(*  9.5 160)1520.0
108 41 Laurent GUERBY
(* 10.0 152)1520.0
109 41 Laurent GUERBY
(* 11.0 142)1562.0
110 41 Laurent GUERBY
(* 11.5 138)1587.0
111 41 Laurent GUERBY
(* 12.0 132)1584.0 152 pendant file upload  firmware (* 12.0 152)1824.0
112 41 Laurent GUERBY
(* 12.5 129)1612.5
113 41 Laurent GUERBY
(* 13.0 125)1625.0
114 41 Laurent GUERBY
(* 14.0 119)1666.0
115 41 Laurent GUERBY
(* 15.0 112)1680.0
116 41 Laurent GUERBY
(* 18.0  99)1782.0
117 41 Laurent GUERBY
(* 21.0  90)1890.0
118 41 Laurent GUERBY
(* 24.0  83)1992.0
119 41 Laurent GUERBY
(* 26.0  79)2054.0
120 41 Laurent GUERBY
(* 27.0  77)2079.0
121 41 Laurent GUERBY
122 41 Laurent GUERBY
RB433L sans ethernet
123 41 Laurent GUERBY
   V    mA  mW
124 41 Laurent GUERBY
4.0 off
125 41 Laurent GUERBY
(*  5.0 206)1030.0
126 41 Laurent GUERBY
(*  6.0 181)1086.0
127 41 Laurent GUERBY
(*  7.0 162)1134.0
128 41 Laurent GUERBY
(*  8.0 146)1168.0
129 41 Laurent GUERBY
(*  9.0 133)1197.0
130 41 Laurent GUERBY
(* 10.0 124)1240.0
131 41 Laurent GUERBY
(* 11.0 116)1276.0
132 41 Laurent GUERBY
(* 12.0 110)1320.0
133 41 Laurent GUERBY
(* 13.0 104)1352.0
134 41 Laurent GUERBY
(* 14.0  99)1386.0
135 41 Laurent GUERBY
(* 15.0  94)1410.0
136 41 Laurent GUERBY
137 41 Laurent GUERBY
diff ethernet pas ethernet constant en watt sur la plage de 265 mW a 260 mW
138 41 Laurent GUERBY
139 41 Laurent GUERBY
eth+ R52n-M  5180 AP-bridge 17dBm = 50 mW
140 41 Laurent GUERBY
(* 12.0 165)1980.0
141 41 Laurent GUERBY
vs (* 12.0 132)1584.0
142 41 Laurent GUERBY
143 41 Laurent GUERBY
0 dBm = 1 mW ou 7 dBm
144 41 Laurent GUERBY
conso inchangee
145 41 Laurent GUERBY
(* 12.0 163)1956.0
146 41 Laurent GUERBY
163-166
147 41 Laurent GUERBY
148 41 Laurent GUERBY
tout en bridge cote RB433L 7 dBm = 5 mW avec iperf 100M UDP
149 41 Laurent GUERBY
175-180
150 41 Laurent GUERBY
(* 12.0 (- 180 163))204.0 mW
151 41 Laurent GUERBY
152 41 Laurent GUERBY
serial http://forum.mikrotik.com/viewtopic.php?f=3&t=76194
153 41 Laurent GUERBY
http://wiki.openwrt.org/toh/mikrotik/rb433
154 41 Laurent GUERBY
155 41 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Password_reset
156 41 Laurent GUERBY
http://wiki.mikrotik.com/wiki/MikroTik_Password_Recovery
157 41 Laurent GUERBY
158 41 Laurent GUERBY
http://wireless.kernel.org/en/users/Drivers/ath9k/devices
159 41 Laurent GUERBY
WLM200NX dual band
160 41 Laurent GUERBY
http://wireless.kernel.org/en/users/Drivers/ath5k
161 41 Laurent GUERBY
162 41 Laurent GUERBY
R52n-M
163 41 Laurent GUERBY
R52Hn
164 41 Laurent GUERBY
165 41 Laurent GUERBY
http://download2.mikrotik.com/routeros/5.26/routeros-mipsbe-5.26.npk
166 41 Laurent GUERBY
http://download2.mikrotik.com/routeros/6.6/routeros-mipsbe-6.6.npk
167 41 Laurent GUERBY
168 41 Laurent GUERBY
169 41 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Netinstall
170 41 Laurent GUERBY
171 1 Laurent GUERBY
</pre>
172 1 Laurent GUERBY
173 1 Laurent GUERBY
!conso-rb433l.png!
174 1 Laurent GUERBY
175 46 Laurent GUERBY
h2. RB433 and RB433UAH and RB435G
176 46 Laurent GUERBY
177 46 Laurent GUERBY
h3. Links
178 46 Laurent GUERBY
179 46 Laurent GUERBY
http://routerboard.com/RB433
180 46 Laurent GUERBY
http://routerboard.com/RB433UAH
181 46 Laurent GUERBY
http://routerboard.com/RB435G
182 46 Laurent GUERBY
183 46 Laurent GUERBY
http://wiki.openwrt.org/toh/mikrotik/rb435
184 46 Laurent GUERBY
http://wiki.openwrt.org/toh/mikrotik/rb433
185 46 Laurent GUERBY
186 46 Laurent GUERBY
h3. Power Consumption
187 46 Laurent GUERBY
188 45 Laurent GUERBY
<pre>
189 45 Laurent GUERBY
RB433 MikroTik RouterOS 5.24
190 45 Laurent GUERBY
191 45 Laurent GUERBY
V    mA avec 1 eth
192 45 Laurent GUERBY
24.0 123 (* 24 0.123)2.952  (112 sans eth diff 0.264W)
193 45 Laurent GUERBY
16.0 149 (* 16 0.149)2.384
194 45 Laurent GUERBY
13.9 162 (* 13.9 0.162)2.2518  (142 sans eth diff 0.278W)
195 45 Laurent GUERBY
12.0 178 (* 12.0 0.178)2.136
196 45 Laurent GUERBY
10.0     207 (* 10.0 0.207)2.07
197 45 Laurent GUERBY
 8.0     250 (*  8.0 0.250)2.0
198 45 Laurent GUERBY
199 45 Laurent GUERBY
en dessous de 8 V : coupure
200 45 Laurent GUERBY
201 45 Laurent GUERBY
RB433UAH MikroTik RouterOS 5.24
202 45 Laurent GUERBY
avec 1 eth
203 45 Laurent GUERBY
24.0 189 (* 24 0.189)4.536
204 45 Laurent GUERBY
12.0 249 (* 12 0.249)2.988
205 45 Laurent GUERBY
 8.0 366 (* 8  0.327)2.616 292 sans eth
206 45 Laurent GUERBY
207 45 Laurent GUERBY
208 45 Laurent GUERBY
RB435G MikroTik RouterOS 5.24
209 45 Laurent GUERBY
210 45 Laurent GUERBY
avec 1 eth
211 45 Laurent GUERBY
212 45 Laurent GUERBY
24.0 117 (* 24.0 0.117)2.808 112 sans eth (* 0.005 24)0.12
213 45 Laurent GUERBY
12.0 187 (* 12.0 0.187)2.244
214 45 Laurent GUERBY
10.0 216 (* 10.0 0.216)2.16
215 45 Laurent GUERBY
 8.0 261 (*  8.0 0.261)2.088 255 sans eth (* 0.006 8.0)0.048
216 45 Laurent GUERBY
 7.0 303 (*  7.0 0.303)2.121
217 45 Laurent GUERBY
218 45 Laurent GUERBY
8.0
219 45 Laurent GUERBY
[admin@MikroTik] > system health print
220 45 Laurent GUERBY
     fan-mode: auto
221 45 Laurent GUERBY
      use-fan: main
222 45 Laurent GUERBY
   active-fan: none
223 45 Laurent GUERBY
      current: 172mA
224 45 Laurent GUERBY
  temperature: 20C
225 45 Laurent GUERBY
226 45 Laurent GUERBY
12.0
227 45 Laurent GUERBY
[admin@MikroTik] > system health print
228 45 Laurent GUERBY
           fan-mode: auto
229 45 Laurent GUERBY
            use-fan: main
230 45 Laurent GUERBY
         active-fan: none
231 45 Laurent GUERBY
            voltage: 11.3V
232 45 Laurent GUERBY
            current: 108mA => 192
233 45 Laurent GUERBY
        temperature: 20C
234 45 Laurent GUERBY
  power-consumption: 1.2W
235 45 Laurent GUERBY
236 45 Laurent GUERBY
24.0
237 45 Laurent GUERBY
[admin@MikroTik] > system health print
238 45 Laurent GUERBY
           fan-mode: auto
239 45 Laurent GUERBY
            use-fan: main
240 45 Laurent GUERBY
         active-fan: none
241 45 Laurent GUERBY
            voltage: 24V
242 45 Laurent GUERBY
            current: 50mA => 119
243 45 Laurent GUERBY
        temperature: 20C
244 45 Laurent GUERBY
  power-consumption: 1.2W
245 45 Laurent GUERBY
246 45 Laurent GUERBY
</pre>
247 45 Laurent GUERBY
248 1 Laurent GUERBY
h2. RB750UP
249 1 Laurent GUERBY
250 1 Laurent GUERBY
http://routerboard.com/RB750UP
251 2 Laurent GUERBY
252 25 Laurent GUERBY
http://blog.lekermeur.net/wp-content/uploads/2012/03/Printemps2012_RB750.pdf
253 16 Laurent GUERBY
254 45 Laurent GUERBY
Attention : problèmes lors que le RB750UP est alimenté en PoE : http://forum.mikrotik.com/viewtopic.php?f=3&t=57943
255 26 Laurent GUERBY
> we are working on new FW that would add useful features that are currently missing. One of them is reworked power management.
256 26 Laurent GUERBY
257 12 Laurent GUERBY
Voltage : http://forum.mikrotik.com/viewtopic.php?f=3&t=58124
258 13 Laurent GUERBY
> limit on power out port is 500mA regardless of output voltage. so at 12V you will be able to power only MAX 6W device. while at 30V 15W.
259 13 Laurent GUERBY
> If you power RB570UP with PoE 24V adapter over 100m cable, then resulting output voltage at full load (all 4 ports giving out 500mA totaling to 2A) then voltage to powered ports at RB750UP end will be around 21V then losses on cable and protections you end up with around 19V at the end device. and cables stretching for 200m from PSU brick.
260 13 Laurent GUERBY
> PoE in port has no input limitation only output is limited to 500mA and with 4 prots it is 2A
261 12 Laurent GUERBY
262 1 Laurent GUERBY
Upgrade to 5.20
263 120 Laurent GUERBY
264 120 Laurent GUERBY
<pre>
265 120 Laurent GUERBY
/ip arp print
266 120 Laurent GUERBY
# print MAC IP
267 120 Laurent GUERBY
268 120 Laurent GUERBY
/interface bridge host print
269 120 Laurent GUERBY
# print MAC
270 120 Laurent GUERBY
271 120 Laurent GUERBY
/interface ethernet switch host print
272 120 Laurent GUERBY
# print MAC-port table
273 120 Laurent GUERBY
274 120 Laurent GUERBY
/interface ethernet set ether5 poe-out=forced-on
275 120 Laurent GUERBY
# force PoE
276 121 Laurent GUERBY
277 121 Laurent GUERBY
/interface ethernet poe set ether2-master-local poe-priority=5
278 121 Laurent GUERBY
# lower number = highest priority
279 121 Laurent GUERBY
280 121 Laurent GUERBY
/interface ethernet poe pr   
281 121 Laurent GUERBY
# print prio settings
282 121 Laurent GUERBY
283 121 Laurent GUERBY
/interface ethernet poe monitor [find]
284 121 Laurent GUERBY
# monitor watt and voltage
285 128 Laurent GUERBY
286 128 Laurent GUERBY
system identity set name=totoRB750UP
287 129 Laurent GUERBY
# hostname
288 129 Laurent GUERBY
289 129 Laurent GUERBY
system resource print 
290 129 Laurent GUERBY
                   uptime: 3h54m51s
291 129 Laurent GUERBY
                  version: 5.26
292 129 Laurent GUERBY
              free-memory: 19124KiB
293 129 Laurent GUERBY
             total-memory: 29696KiB
294 129 Laurent GUERBY
                      cpu: MIPS 24Kc V7.4
295 129 Laurent GUERBY
                cpu-count: 1
296 129 Laurent GUERBY
            cpu-frequency: 400MHz
297 129 Laurent GUERBY
                 cpu-load: 0%
298 129 Laurent GUERBY
           free-hdd-space: 90528KiB
299 129 Laurent GUERBY
          total-hdd-space: 126976KiB
300 129 Laurent GUERBY
  write-sect-since-reboot: 157
301 129 Laurent GUERBY
         write-sect-total: 31910
302 129 Laurent GUERBY
               bad-blocks: 0%
303 129 Laurent GUERBY
        architecture-name: mipsbe
304 129 Laurent GUERBY
               board-name: RB750UP
305 129 Laurent GUERBY
                 platform: MikroTik
306 129 Laurent GUERBY
307 129 Laurent GUERBY
308 120 Laurent GUERBY
</pre>
309 35 Laurent GUERBY
310 35 Laurent GUERBY
<pre>
311 35 Laurent GUERBY
312 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe settings> upgrade
313 35 Laurent GUERBY
Do you really want to upgrade PoE firmware? [y/n] 
314 35 Laurent GUERBY
y
315 35 Laurent GUERBY
Please reboot to finish PoE firmware upgrade.
316 35 Laurent GUERBY
317 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe settings> pr
318 35 Laurent GUERBY
                   version: 2.0
319 35 Laurent GUERBY
  ether1-poe-in-long-cable: no
320 35 Laurent GUERBY
321 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe> monitor [find]
322 35 Laurent GUERBY
               name: ether2-master-local ether3-slave-local ether4-slave-local ether5-slave-local
323 12 Laurent GUERBY
    poe-out-voltage:                                                           23.5V
324 7 Laurent GUERBY
    poe-out-current:                                                           160mA
325 7 Laurent GUERBY
      poe-out-power:                                                           3.7W
326 7 Laurent GUERBY
</pre>
327 7 Laurent GUERBY
328 7 Laurent GUERBY
329 7 Laurent GUERBY
330 8 Laurent GUERBY
* http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS
331 7 Laurent GUERBY
* To update firmware (latest RouterOS 5.12):
332 7 Laurent GUERBY
* Files / upload choose file : routeros-mipsbe-5.12.npk (12MB)
333 1 Laurent GUERBY
* Attendre la fin de upload
334 1 Laurent GUERBY
* System / Packages / IPv6 schedule for update
335 1 Laurent GUERBY
* System / Reboot
336 1 Laurent GUERBY
* about 90 seconds. Note: PoE will be cut during the reboot
337 1 Laurent GUERBY
338 3 Jérôme Nicolle
chiwa admin VLAN 3175
339 3 Jérôme Nicolle
192.168.3.20
340 3 Jérôme Nicolle
341 3 Jérôme Nicolle
telnet login admin pass (vide)
342 3 Jérôme Nicolle
web
343 3 Jérôme Nicolle
344 3 Jérôme Nicolle
345 3 Jérôme Nicolle
<pre>
346 3 Jérôme Nicolle
[admin@rb750up-chiwawa] > interface ethernet print                                                                 
347 3 Jérôme Nicolle
Flags: X - disabled, R - running, S - slave 
348 3 Jérôme Nicolle
 #    NAME                               MTU MAC-ADDRESS       ARP        MASTER-PORT                            SWITCH                           
349 3 Jérôme Nicolle
 0    ether1-gateway                    1500 00:0C:42:E9:BA:8A enabled   
350 3 Jérôme Nicolle
 1 R  ;;; To chiwa's router *** NO POE ***
351 3 Jérôme Nicolle
      ether2-master-local               1500 00:0C:42:E9:BA:8B enabled    none                                   switch1                          
352 3 Jérôme Nicolle
 2 RS ;;; to Vince' NS5M -  To Myrys
353 3 Jérôme Nicolle
      ether3-slave-local                1500 00:0C:42:E9:BA:8C enabled    ether2-master-local                    switch1                          
354 28 Laurent GUERBY
 3 RS ;;; to NS5M east - To CDRX
355 28 Laurent GUERBY
      ether4-slave-local                1500 00:0C:42:E9:BA:8D enabled    ether2-master-local                    switch1                          
356 28 Laurent GUERBY
 4 RS ;;; to beaconing NS5M (port balcon.3)
357 28 Laurent GUERBY
      ether5-slave-local                1500 00:0C:42:E9:BA:8E enabled    ether2-master-local                    switch1         
358 28 Laurent GUERBY
</pre>
359 28 Laurent GUERBY
360 28 Laurent GUERBY
RouterOS v2
361 28 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out#RouterOS_2   
362 28 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out#Changes_between_1.x_and_2.0_PoE-Out_controller_firmware
363 28 Laurent GUERBY
<pre>
364 28 Laurent GUERBY
[admin@MikroTik] > interface ethernet poe monitor [find]
365 11 Laurent GUERBY
              name: ether2 ether3 ether4 ether5
366 3 Jérôme Nicolle
   poe-out-voltage: 23.2V  23.2V  23.2V  
367 11 Laurent GUERBY
   poe-out-current: 224mA  116mA  64mA   
368 2 Laurent GUERBY
     poe-out-power: 5.1W   2.6W   1.4W 
369 11 Laurent GUERBY
</pre>
370 1 Laurent GUERBY
371 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/PoE-Out
372 1 Laurent GUERBY
373 1 Laurent GUERBY
/interface ethernet set ether2 poe-out=on
374 1 Laurent GUERBY
/interface ethernet set ether2 poe-out=off
375 1 Laurent GUERBY
/interface ethernet set ether2 poe-out=auto
376 11 Laurent GUERBY
377 11 Laurent GUERBY
Note:
378 45 Laurent GUERBY
<obinou> Le poe-out, il faut le mettre à "on" , et pas à "auto".
379 45 Laurent GUERBY
<obinou> sans ça, j'ai l'impression que le RB fait un power-cycle si il détecte une perte de link
380 45 Laurent GUERBY
<obinou> or, quand la NSM5 démarre, entre le bootloader & le firmware ca perd le link
381 22 Julien Aubé
<obinou> conclusion: reboot en boucle.
382 22 Julien Aubé
383 22 Julien Aubé
Note:
384 45 Laurent GUERBY
Après essais il est préférable d'éviter le 12V: Si au départ ça semble marcher, les pics de courants
385 45 Laurent GUERBY
dépassent parfois la limite autorisé par port de 500mA, et le port se coupe immédiatement.
386 45 Laurent GUERBY
Le 24V n'a pas montré ce souci.
387 24 Julien Aubé
388 2 Laurent GUERBY
Note 2: 
389 4 Laurent GUERBY
Dans les derniers firmwares Microtik, l'option "poe-out" prend comme option "auto", "forced-on", ou "forced-off".
390 1 Laurent GUERBY
391 6 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?f=3&t=49976&sid=40ea9661791968a896ab35214dc18f15&start=50
392 1 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?f=3&t=57608
393 6 Laurent GUERBY
394 6 Laurent GUERBY
<pre>
395 1 Laurent GUERBY
[admin@MikroTik-Ouin] > /interface ethernet print detail            
396 6 Laurent GUERBY
Flags: X - disabled, R - running, S - slave 
397 10 Laurent GUERBY
 0 R  name="ether1-gateway" mtu=1500 l2mtu=1600 mac-address=00:0C:42:D3:94:D5 arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps 
398 6 Laurent GUERBY
 1    name="ether2-master-local" mtu=1500 l2mtu=1598 mac-address=00:0C:42:D3:94:D6 arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1 poe-out=auto 
399 6 Laurent GUERBY
 2    name="ether3-slave-local" mtu=1500 l2mtu=1598 mac-address=00:0C:42:D3:94:D7 arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1 poe-out=auto 
400 6 Laurent GUERBY
 3 R  name="ether4-slave-local" mtu=1500 l2mtu=1598 mac-address=00:0C:42:D3:94:D8 arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1 poe-out=on 
401 29 Laurent GUERBY
 4 R  name="ether5-slave-local" mtu=1500 l2mtu=1598 mac-address=00:0C:42:D3:94:D9 arp=enabled auto-negotiation=yes full-duplex=yes speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1 poe-out=on 
402 29 Laurent GUERBY
</pre>
403 29 Laurent GUERBY
404 29 Laurent GUERBY
<pre>
405 29 Laurent GUERBY
[admin@MikroTik-Ouin] > sys resource pr
406 29 Laurent GUERBY
                   uptime: 6m6s
407 29 Laurent GUERBY
                  version: 5.12
408 29 Laurent GUERBY
              free-memory: 17880KiB
409 29 Laurent GUERBY
             total-memory: 29708KiB
410 29 Laurent GUERBY
                      cpu: MIPS 24Kc V7.4
411 29 Laurent GUERBY
                cpu-count: 1
412 29 Laurent GUERBY
            cpu-frequency: 400MHz
413 29 Laurent GUERBY
                 cpu-load: 0%
414 29 Laurent GUERBY
           free-hdd-space: 30844KiB
415 29 Laurent GUERBY
          total-hdd-space: 61440KiB
416 29 Laurent GUERBY
  write-sect-since-reboot: 214
417 29 Laurent GUERBY
         write-sect-total: 96113
418 29 Laurent GUERBY
               bad-blocks: 0%
419 38 Laurent GUERBY
        architecture-name: mipsbe
420 38 Laurent GUERBY
               board-name: RB750UP
421 38 Laurent GUERBY
                 platform: MikroTik
422 38 Laurent GUERBY
</pre>
423 38 Laurent GUERBY
424 38 Laurent GUERBY
h3. NTP
425 39 Laurent GUERBY
426 39 Laurent GUERBY
<pre>
427 39 Laurent GUERBY
/system ntp client set primary-ntp=172.31.31.254 enabled=yes
428 39 Laurent GUERBY
</pre>
429 1 Laurent GUERBY
430 1 Laurent GUERBY
h3. rsyslog
431 39 Laurent GUERBY
432 39 Laurent GUERBY
http://randomtweaks.blogspot.fr/2013/03/mikrotik-remote-logging-using-ubuntu.html
433 43 Laurent GUERBY
434 39 Laurent GUERBY
<pre>
435 38 Laurent GUERBY
/system log action set 3 remote=172.31.31.252
436 17 Jérôme Nicolle
/system log add action=remote disabled=no
437 17 Jérôme Nicolle
</pre>
438 18 Jérôme Nicolle
439 122 Laurent GUERBY
h3. Bridging sur le 750UP
440 18 Jérôme Nicolle
441 45 Laurent GUERBY
Le RB750UP est conçu dans l'idée d'en faire un CPE multi-antennes. Par défaut, le port 1 (POE-in ou LAN) n'est pas bridgé sur le switch des 4 ports POE-out, on s'en sert plutôt en mode routé.
442 18 Jérôme Nicolle
443 45 Laurent GUERBY
Pour l'utiliser comme un simple switch et non comme un routeur il suffit de créer un bridge entre les interfaces :
444 17 Jérôme Nicolle
445 17 Jérôme Nicolle
<pre>
446 122 Laurent GUERBY
interface bridge add name=bridge1 
447 122 Laurent GUERBY
interface bridge port add bridge=bridge1 interface=ether1-gateway 
448 122 Laurent GUERBY
interface bridge port add bridge=bridge1 interface=ether2-master-local 
449 37 Laurent GUERBY
</pre>
450 37 Laurent GUERBY
451 127 Laurent GUERBY
<pre>
452 127 Laurent GUERBY
ip address print
453 127 Laurent GUERBY
ip address add address=172.31.31.24/24 interface=bridge1
454 127 Laurent GUERBY
455 127 Laurent GUERBY
ip address print
456 127 Laurent GUERBY
ip address remove 0
457 127 Laurent GUERBY
</pre>
458 127 Laurent GUERBY
459 123 Laurent GUERBY
h3. DHCP sur le 750UP
460 22 Julien Aubé
461 45 Laurent GUERBY
Note: Attention, un serveur DHCP est actif par défaut sur les ports 2 à 5. Il faut le désactiver
462 37 Laurent GUERBY
pour passer en mode switch.
463 37 Laurent GUERBY
464 37 Laurent GUERBY
<pre>
465 37 Laurent GUERBY
ip dhcp-server print
466 37 Laurent GUERBY
ip dhcp-server remove 0
467 125 Laurent GUERBY
468 125 Laurent GUERBY
ip dhcp-client print
469 125 Laurent GUERBY
ip dhcp-client remove 0
470 37 Laurent GUERBY
</pre>
471 37 Laurent GUERBY
472 124 Laurent GUERBY
h3. Routing sur le 750UP
473 37 Laurent GUERBY
474 37 Laurent GUERBY
<pre>
475 17 Jérôme Nicolle
ip route add dst-address=0.0.0.0/0 gateway=172.16.0.254
476 10 Laurent GUERBY
</pre>
477 1 Laurent GUERBY
478 1 Laurent GUERBY
479 126 Laurent GUERBY
h3. RB750UP en mode BOX pour les nanostation
480 1 Laurent GUERBY
481 1 Laurent GUERBY
Connection to the routerboard
482 36 Mehdi Abaakouk
483 36 Mehdi Abaakouk
<pre>
484 36 Mehdi Abaakouk
ssh admin@192.168.88.1
485 36 Mehdi Abaakouk
</pre>
486 36 Mehdi Abaakouk
487 36 Mehdi Abaakouk
Reset the RouterBoard :
488 36 Mehdi Abaakouk
<pre>
489 126 Laurent GUERBY
$ setup 
490 126 Laurent GUERBY
$ r
491 36 Mehdi Abaakouk
$ y
492 36 Mehdi Abaakouk
</pre>
493 1 Laurent GUERBY
494 1 Laurent GUERBY
Le routerboard reboot et on se reconnect
495 1 Laurent GUERBY
496 1 Laurent GUERBY
Configuration du WAN
497 1 Laurent GUERBY
498 1 Laurent GUERBY
<pre>
499 1 Laurent GUERBY
$ ip address add address=91.224.149.194/24 interface=ether1-gateway
500 36 Mehdi Abaakouk
$ ip route add gateway=91.224.149.254
501 36 Mehdi Abaakouk
$ ip address print 
502 36 Mehdi Abaakouk
$ ip route print 
503 36 Mehdi Abaakouk
</pre>
504 126 Laurent GUERBY
505 126 Laurent GUERBY
h2. RB250GS
506 126 Laurent GUERBY
507 126 Laurent GUERBY
VLAN http://wiki.mikrotik.com/wiki/SwOS/Router-On-A-Stick
508 126 Laurent GUERBY
Doc http://wiki.mikrotik.com/wiki/SwOS
509 126 Laurent GUERBY
vlan limitation mikrotik rb250gs http://forum.mikrotik.com/viewtopic.php?f=17&t=45721
510 126 Laurent GUERBY
Routeur, switch, VLAN et multi-modems (via rb250gs) http://doc.rhizome-fai.net/doku.php?id=technique:routeur:vlan
511 130 Vross .
512 130 Vross .
h2. CRS226
513 130 Vross .
514 131 Vross .
VLAN : http://wiki.mikrotik.com/wiki/Manual:CRS_examples ; http://wiki.mikrotik.com/wiki/Switch_Chip_Features#Example_-_802.1Q_Trunking_with_Atheros_switch_chip_in_RouterOS_v6
515 132 Vross .
516 132 Vross .
h3. Renommer les interfaces, changer les ports maîtres/esclaves
517 133 Vross .
518 132 Vross .
Par défaut, les interfaces ont des noms comme "ether1-master-local", "ether4-slave-local", "ether8-slave-local" parce que le port 1 est un "master" et les autre des "slaves" (plus d'info : http://wiki.mikrotik.com/wiki/Switch_Chip_Features#Port_Switching ). Comme ça risque de changer, on renomme tout ça :
519 1 Laurent GUERBY
520 133 Vross .
<pre>/interface set ether1-master-local name=ether1;
521 133 Vross .
/interface ethernet set ether2-slave-local master-port=none;
522 133 Vross .
/interface set ether2-slave-local name=ether2;
523 133 Vross .
/interface ethernet set ether3-slave-local master-port=none;
524 133 Vross .
/interface set ether3-slave-local name=ether3;
525 133 Vross .
/interface ethernet set ether4-slave-local master-port=none;
526 133 Vross .
/interface set ether4-slave-local name=ether4;
527 133 Vross .
/interface ethernet set ether5-slave-local master-port=none;
528 133 Vross .
/interface set ether5-slave-local name=ether5;
529 133 Vross .
[...]
530 133 Vross .
</pre>
531 1 Laurent GUERBY
532 1 Laurent GUERBY
Se placer dans le menu des interfaces ethernet et définir un master port (ici ether2) pour les interfaces :
533 133 Vross .
<pre>/interface ethernet
534 133 Vross .
set ether3 master-port=ether2
535 133 Vross .
set ether4 master-port=ether2
536 133 Vross .
set ether5 master-port=ether2
537 133 Vross .
set ether6 master-port=ether2
538 133 Vross .
set ether7 master-port=ether2
539 133 Vross .
set ether8 master-port=ether2
540 133 Vross .
</pre>
541 132 Vross .
542 132 Vross .
Pour voir le résultat, on peut utiliser la commande "print".
543 132 Vross .
544 132 Vross .
h3. VLAN par ports
545 134 Vross .
546 132 Vross .
Créer des VLAN :
547 133 Vross .
*    VLAN 200 : ether3, 4, et 8
548 133 Vross .
*    VLAN 300 : ether5, 6, et 8
549 133 Vross .
*    VLAN 400 : ether7, et 8
550 132 Vross .
551 132 Vross .
Access port
552 132 Vross .
Si du traffic arrive "untagged" (customer-vid=0), on lui assigne un VLAN ID en fonction du port sur lequel il arrive :
553 133 Vross .
<pre>/interface ethernet switch ingress-vlan-translation
554 133 Vross .
add ports=ether3,ether4,ether8 customer-vid=0 new-customer-vid=200
555 133 Vross .
add ports=ether5,ether6,ether8 customer-vid=0 new-customer-vid=300
556 133 Vross .
add ports=ether7,ether8 customer-vid=0 new-customer-vid=400
557 133 Vross .
</pre>
558 132 Vross .
559 132 Vross .
Trunk port
560 1 Laurent GUERBY
port ether2 ici :
561 134 Vross .
<pre>/interface ethernet switch egress-vlan-tag
562 134 Vross .
add tagged-ports=ether2 vlan-id=200
563 134 Vross .
add tagged-ports=ether2 vlan-id=300
564 134 Vross .
add tagged-ports=ether2 vlan-id=400
565 134 Vross .
</pre>
566 1 Laurent GUERBY
567 132 Vross .
VLAN
568 134 Vross .
<pre>/interface ethernet switch vlan
569 132 Vross .
add ports=ether2,ether3,ether4,ether8 vlan-id=200
570 132 Vross .
add ports=ether2,ether5,ether6,ether8 vlan-id=300
571 132 Vross .
add ports=ether2,ether7,ether8 vlan-id=400
572 134 Vross .
</pre>