Community discussions

MikroTik App
 
spdfrk1
just joined
Topic Author
Posts: 5
Joined: Tue Feb 10, 2015 11:39 am

RB2011UAS-2HnD-IN, Minor packet loss

Tue Feb 10, 2015 12:11 pm

Dear all,

I resently purchased a RB2011UAS-2HnD-IN to replace the router I got from my ISP. The ISP router works fine but the options are very limited.

I have a FTTH connection with two vlan's: IPTV and WAN on the SFP port. What I'm trying to do is to make the IPTV vlan available on one of the switch1 ports by internal mapping and untagging. The WAN vlan is available to the CPU so I can NAT the connection to my LAN, also on switch1.

The above setup works nicely but I have some packet loss on the IPTV multicast streams. I checked the continuity counters in the TS headers and I have a loss of about 20 packets per hour on a 13mbit/s stream. The result is clicks in the audio and artifacts on the screen. RouterOS itself does not register any tx/rx errors. Placing back the ISP router resolves the problem.

Is there something wrong with my setup or is the RB2011 switch not able to handle the 13mbit/s stream without packet loss?

Any help would be very welcome. Thanks in advance!
 
rogerowl
just joined
Posts: 9
Joined: Wed Jan 28, 2015 12:05 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Tue Feb 10, 2015 10:34 pm

Hi spdfrk1,
I'm trying to get a similar configuration, but I'm having problems with the vlans. Can you share your configuration so I can understand what I'm doing wrong?
thanks in advance
 
spdfrk1
just joined
Topic Author
Posts: 5
Joined: Tue Feb 10, 2015 11:39 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Wed Feb 11, 2015 1:16 am

Hi spdfrk1,
I'm trying to get a similar configuration, but I'm having problems with the vlans. Can you share your configuration so I can understand what I'm doing wrong?
thanks in advance
Hi,

No problem at all! I assume you know how to setup your firewall. Please let me know if you have any progress.
/interface bridge
add name=bridge-local

/interface ethernet
set [ find default-name=ether1 ] name=local_ether1_master
set [ find default-name=ether2 ] master-port=local_ether1_master name=local_ether2_slave
set [ find default-name=ether3 ] master-port=local_ether1_master name=local_ether3_slave
set [ find default-name=ether4 ] master-port=local_ether1_master name=local_ether4_slave
set [ find default-name=ether5 ] name=iptv-ether5
set [ find default-name=ether6 ] name=ether6-master-local
set [ find default-name=ether7 ] master-port=ether6-master-local name=ether7-slave-local
set [ find default-name=ether8 ] master-port=ether6-master-local name=ether8-slave-local
set [ find default-name=ether9 ] master-port=ether6-master-local name=ether9-slave-local
set [ find default-name=ether10 ] master-port=ether6-master-local name=ether10-slave-local
set [ find default-name=sfp1 ] auto-negotiation=no speed=1000Mbps

/interface vlan
add interface=sfp1 l2mtu=1594 name=vlan_wan vlan-id=20

/interface bridge port
add bridge=bridge-local interface=ether6-master-local
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=local_ether1_master

/interface bridge settings
set allow-fast-path=yes
/interface ethernet switch vlan
add independent-learning=no ports=sfp1,switch1-cpu switch=switch1 vlan-id=20
add independent-learning=no ports=sfp1,iptv-ether5,local_ether1_master switch=switch1 vlan-id=80
add independent-learning=no ports="switch1-cpu,local_ether1_master,local_ether,2_slave,local_ether3_slave,local_ether4_slave" switch=switch1 vlan-id=1

/interface ethernet switch port
set 0 vlan-header=add-if-missing vlan-mode=secure
set 1 default-vlan-id=1 vlan-mode=secure
set 2 default-vlan-id=1 vlan-mode=secure
set 3 default-vlan-id=1 vlan-mode=secure
set 4 default-vlan-id=1 vlan-mode=secure
set 5 default-vlan-id=80 vlan-header=always-strip vlan-mode=secure
set 11 vlan-mode=secure

Last edited by spdfrk1 on Sat Feb 14, 2015 2:02 am, edited 1 time in total.
 
rogerowl
just joined
Posts: 9
Joined: Wed Jan 28, 2015 12:05 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Wed Feb 11, 2015 12:45 pm

Hi,
Thanks for the info.
I'll do some experiences based on your config. I'll let you know of the evolution.
 
Elie
just joined
Posts: 23
Joined: Tue Jan 13, 2015 1:10 pm

Re: RB2011UAS-2HnD-IN, Minor packet loss

Fri Feb 13, 2015 1:50 pm

did u try setting multicast helper to full ?
 
spdfrk1
just joined
Topic Author
Posts: 5
Joined: Tue Feb 10, 2015 11:39 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Fri Feb 13, 2015 2:13 pm

Thanks for the suggestion but as I understand the multicast helper is only wireless related? Also I'm trying to solve it on a vlan level (layer 2?).

Some further progress:
- If I enslave one of my rj45 ports to the SFP port and just use the IPTV vlan I have no more packet loss. Of course this is not acceptable as the RB2011 is now just a medium converter. As soon as I add the WAN vlan again I get packet loss, without even putting any load on the WAN vlan.
- I tried to route the IPTV vlan through the CPU and use queues to set priority and limits but this will just make it worse.
- I tried IGMP proxy but this also does not help.

I'm starting to think the RB2011 just is not usable for my situation. Please prove me different because I really like this device :(
 
Elie
just joined
Posts: 23
Joined: Tue Jan 13, 2015 1:10 pm

Re: RB2011UAS-2HnD-IN, Minor packet loss

Fri Feb 13, 2015 3:31 pm

well we need to make sure where the packet loss is from tx or rx can run a bt test and check the incoming and outgoing packet loss ? whats your setup ?
 
spdfrk1
just joined
Topic Author
Posts: 5
Joined: Tue Feb 10, 2015 11:39 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Fri Feb 13, 2015 5:23 pm

well we need to make sure where the packet loss is from tx or rx can run a bt test and check the incoming and outgoing packet loss ? whats your setup ?
For now I have a very basic setup, the goal is to split the IPTV vlan so I can connect the STB to one of the switch ports and NAT the WAN vlan to the LAN. The LAN has just a couple of pc's connected.

          ISP fiber (WAN / IPTV vlan)
                         | 
                     SFP (RB2011)
        /  IPTV vlan                  \   WAN vlan
       |                                       |  Routing / NAT
       |                                       |

                              switch1 (RB2011)

  | IPTV (untagged)         | LAN               |  LAN                      | LAN
 STB                         PC                 PC                         PC
 
Could you explain how I can do this test?
 
spdfrk1
just joined
Topic Author
Posts: 5
Joined: Tue Feb 10, 2015 11:39 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Wed Feb 18, 2015 12:15 am

I now tried to put a RB260GS in front of the RB2011, the RB260GS reports FCS Rx errors on the SFP interface (about one every minute) which makes the problem worse. If I put the SFP module back in the ISP router (both Draytek) everything is fine.

Could there be a compatibility problem with the SFP module? I can replace it with a Mikrotik but I need to be sure because those BIDI SFP modules are quite expensive.
 
jkaberg
just joined
Posts: 24
Joined: Sun Jul 17, 2016 5:00 am

Re: RB2011UAS-2HnD-IN, Minor packet loss

Wed Jul 27, 2016 8:56 am

I fixed my issues by using only the switch chip (and thus not routing traffic via the weak CPU), more info here http://forum.mikrotik.com/viewtopic.php ... 87#p549269

Who is online

Users browsing this forum: kevin29 and 22 guests