Hi.
does anybody knows if ports can be grouped on RB2011 to act like a simple switch ? The goal is to achieve wire speed switching on some ports. If it's possible which ports can be joined to a switch?
Set ether1 as the master for ether 2-5, then set ether6 as the master for ether 7-10, then bridge ether6 to ether1.Did you ever find a way to put all ports into 1 switch?
I am wanting to do this on RB493g and RB2011
Set ether1 as the master for ether 2-5, then set ether6 as the master for ether 7-10, then bridge ether6 to ether1.
Set ether1 as the master for ether 2-5, then set ether6 as the master for ether 7-10, then bridge ether6 to ether1.
New to routeros, so please excuse the noob question. How to configure this? In cli or the web interface?
Set ether1 as the master for ether 2-5, then set ether6 as the master for ether 7-10, then bridge ether6 to ether1.
New to routeros, so please excuse the noob question. How to configure this? In cli or the web interface?
Either one... Or you can use Winbox which is a free GUI configuration and management tool.
Ok thanks. Checked my config in Winbox,
Ether6 is master for 7-10. And Ether 2-5, ether6 and wlan 1 are part of bridge-local. Is this correct? And I assume ether 1 is left out because it is the "WAN" port and must be routed?
Do you really need it? 10 copper ports is not enough for you?I have been searching high and low for a Copper SFP, but they are all in excess of 70 USD. Anyplace where I can source them for cheap?
My broadband link is at 100 Meg now, see belowDo you really need it? 10 copper ports is not enough for you?I have been searching high and low for a Copper SFP, but they are all in excess of 70 USD. Anyplace where I can source them for cheap?
Back to the original question. If you need WAN port to be 1G port then do the following:
1. Set master port for ports 1, 2 and 6 to none.
2. Set master port for ports 3-5 to ether2.
3. Set master port for ports 7-10 to ether6.
4. Make ether2 and ether6 a part of the bridge (bridge-local).
This way you will have ether1 as your WAN port and bridge-local as your LAN port. 1G ports 2-5 are hardware-switched together, 100M ports 6-10 are hardware switched together as well, and these to groups of hardware switched ports are software bridged.
And if 100M is enough for your WAN port you can consider the following scenario as an alternative:
1. Set master port for ports 1, 6 and 10 to none.
2. Set master port for ports 2-5 to ether1.
3. Set master port for ports 7-9 to ether6.
4. Make ether1 and ether6 a part of the bridge (bridge-local).
This way you will have ether10 as your WAN port and bridge-local as your LAN port. 1G ports 1-5 are hardware-switched together, 100M ports 6-9 are hardware switched together as well, and these to groups of hardware switched ports are software bridged.
Regards,
Andrey.
Is this config correct? Why is there no entry under "Switch all ports" Does it mean the CPU is handling the traffic now? How do I configure ether1 as the WAN port?Back to the original question. If you need WAN port to be 1G port then do the following:
1. Set master port for ports 1, 2 and 6 to none.
2. Set master port for ports 3-5 to ether2.
3. Set master port for ports 7-10 to ether6.
4. Make ether2 and ether6 a part of the bridge (bridge-local).
This way you will have ether1 as your WAN port and bridge-local as your LAN port. 1G ports 2-5 are hardware-switched together, 100M ports 6-10 are hardware switched together as well, and these to groups of hardware switched ports are software bridged.
According to http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features this option is only meaningful on RB450G and RB435G boards. On your device (RB2011, I assume) this option does nothing.Why is there no entry under "Switch all ports".
That depends on what traffic you're referring to. Lets assume you've configured your device like this:Does it mean the CPU is handling the traffic now?
In this case you have two groups of ports. The first group includes 1G ports from 2 to 5, while the second group includes 100M ports from 6 to 10. any traffic passing between any couple of ports inside any given group is handled by the switch chip. But any traffic passing from port in one group to a port in another group will be handled by CPU.1. Set master port for ports 1, 2 and 6 to none.
2. Set master port for ports 3-5 to ether2.
3. Set master port for ports 7-10 to ether6.
4. Make ether2 and ether6 a part of the bridge (bridge-local).
You'd better show us[admin@MikroTik] > interface ethernet print
/interface ethernet export
[admin@MikroTik] > interface ethernet exportYou'd better show usros code
/interface ethernet export
Euhm, why are all your speeds set to 100Mbit? If I do an export the speed are not explicitly listed unless I forced them?
Can you try forcing a gigabit or setting auto-negotiation?
Otherwise try to clear your config, configure the bare minimum (put them in a switch group) and try then?
According to http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features this option is only meaningful on RB450G and RB435G boards. On your device (RB2011, I assume) this option does nothing.Why is there no entry under "Switch all ports".
That depends on what traffic you're referring to. Lets assume you've configured your device like this:Does it mean the CPU is handling the traffic now?In this case you have two groups of ports. The first group includes 1G ports from 2 to 5, while the second group includes 100M ports from 6 to 10. any traffic passing between any couple of ports inside any given group is handled by the switch chip. But any traffic passing from port in one group to a port in another group will be handled by CPU.1. Set master port for ports 1, 2 and 6 to none.
2. Set master port for ports 3-5 to ether2.
3. Set master port for ports 7-10 to ether6.
4. Make ether2 and ether6 a part of the bridge (bridge-local).
For example:
Traffic between ports 2 and 5 - switch chip
Traffic between ports 3 and 4 - switch chip
Traffic between ports 6 and 7 - switch chip
Traffic between ports 8 and 10 - switch chip
Traffic between ports 3 and 6 - CPU
Traffic between ports 5 and 9 - CPU
There is no way to pass traffic between 1G and 100M ports off-CPU.
You'd better show us[admin@MikroTik] > interface ethernet printros code
/interface ethernet export
[medcon1] interface ethernet print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH
0 RS ether1 1500 XX:XX:XX:XX:XX:XX enabled ether2 switch1
1 R ether2 1500 XX:XX:XX:XX:XX:XX enabled none switch1
2 RS ether3 1500 XX:XX:XX:XX:XX:XX enabled ether2 switch1
3 RS ether4 1500 XX:XX:XX:XX:XX:XX enabled ether2 switch1
10 RS sfp1-medcon2 1500 XX:XX:XX:XX:XX:XX enabled ether2 switch1
[medcon1] interface ethernet switch port print
Flags: I - invalid
# NAME SWITCH VLAN-MODE VLAN-HEADER DEFAULT-VLAN-ID
0 sfp1-medcon2 switch1 secure add-if-missing auto
1 ether1 switch1 secure always-strip 800
2 ether2 switch1 secure add-if-missing auto
3 ether3 switch1 secure always-strip 500
4 ether4 switch1 secure always-strip 900
11 switch1_cpu switch1 secure leave-as-is auto
[medcon1] interface ethernet switch vlan print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 switch1 800 ether1
sfp1-medcon2
5 switch1 500 ether3
sfp1-medcon2
6 switch1 900 ether4
sfp1-medcon2
[medcon1]
[medcon2] interface ethernet print
Flags: X - disabled, R - running, S - slave
# NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH
0 RS ether1 1500 XX:XX:XX:XX:XX:XX enabled sfp1-medcon1 switch1
4 RS ether5 1500 XX:XX:XX:XX:XX:XX enabled sfp1-medcon1 switch1
5 RS ether6 1500 XX:XX:XX:XX:XX:XX enabled none switch2
6 S ether7 1500 XX:XX:XX:XX:XX:XX enabled ether6 switch2
10 RS sfp1-medcon1 1500 XX:XX:XX:XX:XX:XX enabled none switch1
[medcon2] interface ethernet switch port print
Flags: I - invalid
# NAME SWITCH VLAN-MODE VLAN-HEADER DEFAULT-VLAN-ID
0 sfp1-medcon1 switch1 secure add-if-missing auto
1 ether1 switch1 secure always-strip 800
5 ether5 switch1 secure always-strip 500
6 ether6 switch2 secure always-strip 900
11 switch1_cpu switch1 secure leave-as-is auto
[medcon2] interface ethernet switch vlan print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 switch1 800 ether1-AirFiber
sfp1-medcon1
5 switch1 500 ether5-Lobacker-5GHz
sfp1-medcon1
6 switch1 900 sfp1-medcon1
7 switch2 900 ether6-interlink-schaalby
[medcon2] interface bridge port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether6 bridge-local-masterports 0x80 10 none
1 sfp1-medcon1 bridge-local-masterports 0x80 10 none
Yes, but why would you want to? The 100Mbit bridge between the switches through the CPU doesn't cost much performance.Quick question for the guru's...
I know this is an old post, but it is relevant to my issue.
Would this be possible?
ether1-gateway
bridge-local > ether2-master, ether3-5slave
interfaces > ether6-master, ether7-10slave
Then take a physical cable between ether5 and ether6 bypassing the CPU for switching
Yeah, euhm. That should work a lot better. Either bridged or switched you should be able to get 1Gbit, so something else might be wrong.I was testing throughput with the btest utility between a Windows host on ether2 and the RB2011 with all gigabit ether ports in a bridge group and I was only hitting 80-90Mbit/s at 95% CPU. I was thinking doing my half ass workaround would bypass the CPU for all switching.
I also tested between 2 computers last night with ether2 set as master and all ether3-5 as slave. It was bypassing the CPU as it was only hitting 4% but I was still only getting about 200-300Mbit/s.
I advise to put it on autobtest is the bandwidth test utility MikroTik has available for download.
Checked flow control, it is off for tx and rx.
I have another RB2011, maybe I'll connect it via gigabit and run a bandwidth test between the 2 ruling out the Windows boxes.
@vortex your reply is quite confusing. He is not talking about bridging and in his setup he wouldn't need to bridge either? I do agree that with a bridge or without the RB2011 shouldn't be too bothered by it since the bridge will max out because of the 100Mbps internal switch uplink.
@toshes22 Euhm, I'm not sure how you picked the RB2011 but it has exactly the same CPU as the RB951G you are using right now? There will be virtually no difference between them CPU or throughput wise...
So if you are only using some queues on the ports to distribute the bandwith on the RB951G/RB2011 there is no reason why you would not get full speed. It should be able to handle it easily even with some queues set for bandwith restrictions per port. Have you checked if the router is indeed hitting 100% CPU usage during usage?
Where are you doing the queues for the wireless clients? Looking at your design these should be running on the RB1100Ah which has your wireless clients connected. The RB1100Ah is a much faster device and much better suited for that role and it would offload the RB951G/RB2011!
Please provide us with a bit more details, since your setup should be having no problems at all.
p.s. It would have been better to open a new topic for this, since your question has nothing to do with the actual topic you posted in?
not sure i understand you correctly each link is for each company or all the wan side of the links are independent but all the lan part are mixed to be redistributed to all companies??@vortex your reply is quite confusing. He is not talking about bridging and in his setup he wouldn't need to bridge either? I do agree that with a bridge or without the RB2011 shouldn't be too bothered by it since the bridge will max out because of the 100Mbps internal switch uplink.
@toshes22 Euhm, I'm not sure how you picked the RB2011 but it has exactly the same CPU as the RB951G you are using right now? There will be virtually no difference between them CPU or throughput wise...
So if you are only using some queues on the ports to distribute the bandwith on the RB951G/RB2011 there is no reason why you would not get full speed. It should be able to handle it easily even with some queues set for bandwith restrictions per port. Have you checked if the router is indeed hitting 100% CPU usage during usage?
Where are you doing the queues for the wireless clients? Looking at your design these should be running on the RB1100Ah which has your wireless clients connected. The RB1100Ah is a much faster device and much better suited for that role and it would offload the RB951G/RB2011!
Please provide us with a bit more details, since your setup should be having no problems at all.
p.s. It would have been better to open a new topic for this, since your question has nothing to do with the actual topic you posted in?
Yes sir I just need to use more ports since the rb951g only has 5 ports. They bought this rb1100ah to serve mainly for wifi hotspot users only. We upgraded our bandwidth and distribute it centrally because before each of these companies have their own ISP. Right now we only have one ISP and the distribution of bandwidths are done using the rb951g. What I want to do now is to use this RB2011UiAS as the main switch to allocate bandwidths per ports in each company. How should I do it? I created bridge1 and joined port1 (wan), but when trying to join the port6 it does not allow (port6 is already added to Bridge Local) then I can't access to the interface and have to reset it to factory default.
Thank you for the replies guys.