Professional Documents
Culture Documents
Master Porta - Configuracao
Master Porta - Configuracao
● Daniel Starnowski
Switch chip on MikroTik RouterBoard
● It is really easy!
2
RouterBoard – just an example
3
OSI layers
● Switch operates on layer 2 and
forwards ethernet frames between
ports
● Router operates on layer 3 and
4
RouterBoard – the anatomy
5
RouterBoard – ports and interfaces
6
RouterBoard – a routing scenario
7
RouterBoard – a bridge
8
RouterBoard – IP address on a bridge
9
RB2011 – the performance
● fast path:
~1500 Mbps with 1500 B packets
~150 Mbps with 64 B packets
● without fast path:
11
RouterBoard – VLAN bridging config
● 8 different streams
● Only 1500 B packets
14
The switch chip
possible
15
Switch chips in MikroTik devices
● Atheros 8316
● Atheros 8327
● Atheros 8227
● Atheros 7240
● other
16
What chip does my RouterBoard have?
17
How to turn the switch chip on?
18
How to turn the switch chip on?
19
Activating the switch chip
21
Activating the switch chip
22
Switch chip – the master port
24
Switch chip – port names
26
Default configuration of switch chip
28
VLAN bridging with the switch chip
29
Switch chip – preparing the vlans
30
Switch chip – preparing the vlans
31
Switch chip – the trunk port
32
Switch chip – the access port
33
Switch chip – trunk and access ports
● Trunk port:
– Mode: secure
– Header: add if missing
● Access port:
– Mode: secure
– Header: always strip
– Default VLAN ID (a.k.a. PVID)
● No „hybrid“ ports!
34
Switch chip – the speed test
35
Switch chip – the speed test
36
Switch chip
– port stats
● From ROS 6.5
stats available
for the switch
ports (traffic
doesn't need to
go through
CPU
37
Switch chip – routing the VLANs
38
Switch chip – routing the VLANs
40
Hosts table
41
Switch chip's limitations
43