Projet

Général

Profil

Mikrotik » Historique » Version 35

Laurent GUERBY, 19/09/2012 10:44

1 1 Laurent GUERBY
h1. Mikrotik
2 1 Laurent GUERBY
3 1 Laurent GUERBY
RouterOS
4 1 Laurent GUERBY
5 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/MikroTik_RouterOS
6 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:TOC
7 1 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Webfig
8 1 Laurent GUERBY
9 5 Laurent GUERBY
http://www.mikrotik.com/download.html
10 5 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Upgrading_RouterOS
11 5 Laurent GUERBY
12 27 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Supported_Hardware
13 33 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:Password_reset
14 34 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out
15 27 Laurent GUERBY
16 15 Laurent GUERBY
h2. Boitiers
17 15 Laurent GUERBY
18 16 Laurent GUERBY
* Nice box : http://forum.mikrotik.com/viewtopic.php?p=297825#p297825
19 21 Laurent GUERBY
* http://www.mikrotik.com/mfm
20 21 Laurent GUERBY
* http://www.aerial.net/shop/product_info.php?products_id=1085
21 21 Laurent GUERBY
* http://www.stationbox.info/
22 21 Laurent GUERBY
23 23 Julien Aubé
* Boîtiers Rexel très chers
24 23 Julien Aubé
* http://www.technic-achat.com/coffret-electrique-ip66-imo,fr,4,144T_XX.cfm (144T0010)
25 23 Julien Aubé
* http://www.interprojekt.com.pl/gold-alubox-outdoor-waterproof-case-p-472.html
26 23 Julien Aubé
* http://www.materielelectrique.com/coffret-polyester-marina-ip66-ik10-7035-300x220x160-p-6579.html
27 23 Julien Aubé
28 15 Laurent GUERBY
29 20 Laurent GUERBY
h2. Montage
30 20 Laurent GUERBY
31 20 Laurent GUERBY
* http://shop.varia-store.com/product_info.php?info=p1390_RF-Elements-EasyBracket---EasyBracket-Universal.html
32 20 Laurent GUERBY
33 19 Laurent GUERBY
h2. PoE
34 19 Laurent GUERBY
35 19 Laurent GUERBY
* http://www.i4wifi.eu/en/EU-230V-powering/PoE-convertor-48-V-24-V-802-3af-at.html
36 19 Laurent GUERBY
37 32 Laurent GUERBY
h2. Password
38 32 Laurent GUERBY
39 32 Laurent GUERBY
From: 	Le Net du Kermeur
40 32 Laurent GUERBY
Utilitaire mtpass, ça se trouve là : http://manio.skyboo.net/mikrotik/
41 32 Laurent GUERBY
Ca se compile sous g++, donc sur n'importe quel Linux ou *BSD.
42 32 Laurent GUERBY
Testé sous OpenBSD, il fait le boulot.
43 32 Laurent GUERBY
44 1 Laurent GUERBY
h2. RB750UP
45 1 Laurent GUERBY
46 1 Laurent GUERBY
http://routerboard.com/RB750UP
47 2 Laurent GUERBY
48 25 Laurent GUERBY
http://blog.lekermeur.net/wp-content/uploads/2012/03/Printemps2012_RB750.pdf
49 16 Laurent GUERBY
50 26 Laurent GUERBY
Attention : problèmes lors que le RB750UP est alimenté en PoE : http://forum.mikrotik.com/viewtopic.php?f=3&t=57943
51 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.
52 26 Laurent GUERBY
53 12 Laurent GUERBY
Voltage : http://forum.mikrotik.com/viewtopic.php?f=3&t=58124
54 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.
55 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.
56 13 Laurent GUERBY
> PoE in port has no input limitation only output is limited to 500mA and with 4 prots it is 2A
57 12 Laurent GUERBY
58 35 Laurent GUERBY
Upgrade to 5.20
59 35 Laurent GUERBY
60 35 Laurent GUERBY
<pre>
61 35 Laurent GUERBY
62 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe settings> upgrade
63 35 Laurent GUERBY
Do you really want to upgrade PoE firmware? [y/n] 
64 35 Laurent GUERBY
y
65 35 Laurent GUERBY
Please reboot to finish PoE firmware upgrade.
66 35 Laurent GUERBY
67 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe settings> pr
68 35 Laurent GUERBY
                   version: 2.0
69 35 Laurent GUERBY
  ether1-poe-in-long-cable: no
70 35 Laurent GUERBY
71 35 Laurent GUERBY
[admin@MikroTik] /interface ethernet poe> monitor [find]
72 35 Laurent GUERBY
               name: ether2-master-local ether3-slave-local ether4-slave-local ether5-slave-local
73 35 Laurent GUERBY
    poe-out-voltage:                                                           23.5V
74 35 Laurent GUERBY
    poe-out-current:                                                           160mA
75 35 Laurent GUERBY
      poe-out-power:                                                           3.7W
76 35 Laurent GUERBY
</pre>
77 35 Laurent GUERBY
78 35 Laurent GUERBY
79 12 Laurent GUERBY
80 7 Laurent GUERBY
* http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS
81 7 Laurent GUERBY
* To update firmware (latest RouterOS 5.12):
82 7 Laurent GUERBY
* Files / upload choose file : routeros-mipsbe-5.12.npk (12MB)
83 7 Laurent GUERBY
* Attendre la fin de upload
84 7 Laurent GUERBY
* System / Packages / IPv6 schedule for update
85 7 Laurent GUERBY
* System / Reboot
86 8 Laurent GUERBY
* about 90 seconds. Note: PoE will be cut during the reboot
87 7 Laurent GUERBY
88 7 Laurent GUERBY
chiwa admin VLAN 3175
89 1 Laurent GUERBY
192.168.3.20
90 1 Laurent GUERBY
91 1 Laurent GUERBY
telnet login admin pass (vide)
92 1 Laurent GUERBY
web
93 1 Laurent GUERBY
94 3 Jérôme Nicolle
95 3 Jérôme Nicolle
<pre>
96 3 Jérôme Nicolle
[admin@rb750up-chiwawa] > interface ethernet print                                                                 
97 3 Jérôme Nicolle
Flags: X - disabled, R - running, S - slave 
98 3 Jérôme Nicolle
 #    NAME                               MTU MAC-ADDRESS       ARP        MASTER-PORT                            SWITCH                           
99 3 Jérôme Nicolle
 0    ether1-gateway                    1500 00:0C:42:E9:BA:8A enabled   
100 3 Jérôme Nicolle
 1 R  ;;; To chiwa's router *** NO POE ***
101 3 Jérôme Nicolle
      ether2-master-local               1500 00:0C:42:E9:BA:8B enabled    none                                   switch1                          
102 3 Jérôme Nicolle
 2 RS ;;; to Vince' NS5M -  To Myrys
103 3 Jérôme Nicolle
      ether3-slave-local                1500 00:0C:42:E9:BA:8C enabled    ether2-master-local                    switch1                          
104 3 Jérôme Nicolle
 3 RS ;;; to NS5M east - To CDRX
105 3 Jérôme Nicolle
      ether4-slave-local                1500 00:0C:42:E9:BA:8D enabled    ether2-master-local                    switch1                          
106 3 Jérôme Nicolle
 4 RS ;;; to beaconing NS5M (port balcon.3)
107 3 Jérôme Nicolle
      ether5-slave-local                1500 00:0C:42:E9:BA:8E enabled    ether2-master-local                    switch1         
108 3 Jérôme Nicolle
</pre>
109 3 Jérôme Nicolle
110 28 Laurent GUERBY
RouterOS v2
111 28 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out#RouterOS_2   
112 28 Laurent GUERBY
http://wiki.mikrotik.com/wiki/Manual:PoE-Out#Changes_between_1.x_and_2.0_PoE-Out_controller_firmware
113 28 Laurent GUERBY
<pre>
114 28 Laurent GUERBY
[admin@MikroTik] > interface ethernet poe monitor [find]
115 28 Laurent GUERBY
              name: ether2 ether3 ether4 ether5
116 28 Laurent GUERBY
   poe-out-voltage: 23.2V  23.2V  23.2V  
117 28 Laurent GUERBY
   poe-out-current: 224mA  116mA  64mA   
118 28 Laurent GUERBY
     poe-out-power: 5.1W   2.6W   1.4W 
119 28 Laurent GUERBY
</pre>
120 28 Laurent GUERBY
121 11 Laurent GUERBY
http://wiki.mikrotik.com/wiki/PoE-Out
122 3 Jérôme Nicolle
123 11 Laurent GUERBY
/interface ethernet set ether2 poe-out=on
124 2 Laurent GUERBY
/interface ethernet set ether2 poe-out=off
125 2 Laurent GUERBY
/interface ethernet set ether2 poe-out=auto
126 11 Laurent GUERBY
127 11 Laurent GUERBY
Note:
128 11 Laurent GUERBY
<obinou> Le poe-out, il faut le mettre à "on" , et pas à "auto".
129 11 Laurent GUERBY
<obinou> sans ça, j'ai l'impression que le RB fait un power-cycle si il détecte une perte de link
130 11 Laurent GUERBY
<obinou> or, quand la NSM5 démarre, entre le bootloader & le firmware ca perd le link
131 11 Laurent GUERBY
<obinou> conclusion: reboot en boucle.
132 1 Laurent GUERBY
133 22 Julien Aubé
Note:
134 22 Julien Aubé
Après essais il est préférable d'éviter le 12V: Si au départ ça semble marcher, les pics de courants
135 22 Julien Aubé
dépassent parfois la limite autorisé par port de 500mA, et le port se coupe immédiatement.
136 22 Julien Aubé
Le 24V n'a pas montré ce souci.
137 22 Julien Aubé
138 24 Julien Aubé
Note 2: 
139 24 Julien Aubé
Dans les derniers firmwares Microtik, l'option "poe-out" prend comme option "auto", "forced-on", ou "forced-off".
140 24 Julien Aubé
141 2 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?f=3&t=49976&sid=40ea9661791968a896ab35214dc18f15&start=50
142 4 Laurent GUERBY
http://forum.mikrotik.com/viewtopic.php?f=3&t=57608
143 1 Laurent GUERBY
144 6 Laurent GUERBY
<pre>
145 1 Laurent GUERBY
[admin@MikroTik-Ouin] > /interface ethernet print detail            
146 6 Laurent GUERBY
Flags: X - disabled, R - running, S - slave 
147 6 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 
148 1 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 
149 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 
150 10 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 
151 6 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 
152 6 Laurent GUERBY
</pre>
153 6 Laurent GUERBY
154 29 Laurent GUERBY
<pre>
155 29 Laurent GUERBY
[admin@MikroTik-Ouin] > sys resource pr
156 29 Laurent GUERBY
                   uptime: 6m6s
157 29 Laurent GUERBY
                  version: 5.12
158 29 Laurent GUERBY
              free-memory: 17880KiB
159 29 Laurent GUERBY
             total-memory: 29708KiB
160 29 Laurent GUERBY
                      cpu: MIPS 24Kc V7.4
161 29 Laurent GUERBY
                cpu-count: 1
162 29 Laurent GUERBY
            cpu-frequency: 400MHz
163 29 Laurent GUERBY
                 cpu-load: 0%
164 29 Laurent GUERBY
           free-hdd-space: 30844KiB
165 29 Laurent GUERBY
          total-hdd-space: 61440KiB
166 29 Laurent GUERBY
  write-sect-since-reboot: 214
167 29 Laurent GUERBY
         write-sect-total: 96113
168 29 Laurent GUERBY
               bad-blocks: 0%
169 29 Laurent GUERBY
        architecture-name: mipsbe
170 29 Laurent GUERBY
               board-name: RB750UP
171 29 Laurent GUERBY
                 platform: MikroTik
172 29 Laurent GUERBY
</pre>
173 29 Laurent GUERBY
174 17 Jérôme Nicolle
h2. Bridging sur le 750UP
175 17 Jérôme Nicolle
176 18 Jérôme Nicolle
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é.
177 18 Jérôme Nicolle
178 18 Jérôme Nicolle
Pour l'utiliser comme un simple switch et non comme un routeur il suffit de créer un bridge entre les interfaces :
179 18 Jérôme Nicolle
180 17 Jérôme Nicolle
<pre>
181 17 Jérôme Nicolle
[admin@rb750up-chiwawa] > interface bridge add name=bridge1 
182 17 Jérôme Nicolle
[admin@rb750up-chiwawa] > interface bridge port add bridge=bridge1 interface=ether1-gateway 
183 17 Jérôme Nicolle
[admin@rb750up-chiwawa] > interface bridge port add bridge=bridge1 interface=ether2-master-local 
184 1 Laurent GUERBY
</pre>
185 22 Julien Aubé
186 22 Julien Aubé
Note: Attention, un serveur DHCP est actif par défaut sur les ports 2 à 5. Il faut le désactiver
187 22 Julien Aubé
pour passer en mode switch.
188 17 Jérôme Nicolle
189 17 Jérôme Nicolle
190 10 Laurent GUERBY
h2. RB250GS
191 1 Laurent GUERBY
192 30 Laurent GUERBY
VLAN http://wiki.mikrotik.com/wiki/SwOS/Router-On-A-Stick
193 30 Laurent GUERBY
Doc http://wiki.mikrotik.com/wiki/SwOS
194 30 Laurent GUERBY
vlan limitation mikrotik rb250gs http://forum.mikrotik.com/viewtopic.php?f=17&t=45721
195 31 Jocelyn Dealande
Routeur, switch, VLAN et multi-modems (via rb250gs) http://doc.rhizome-fai.net/doku.php?id=technique:routeur:vlan