Low connection speed

Hello all, recently I have bought a RB751G-2HnD RouterBoard for use as wireless/ethernet router at home.
Upgraded to latest stable OS (5.22) Set up ether1 as WAN port, bridged ether2-ether5 and wlan1, PPTP, DHCP, NAT, IGMP etc. Firewall and QoS rules are empty ATM.
All working perfectly, except one thing - my ISP does have so called “local resources” such as FTP, P2P, IPTV available at 100Mbit\s speed.
When I try, for exampe, to download a file from local ftp server, the download speed is miserable, like 1-2 megabits or so. Same thing happens to IPTV and P2P traffic as well. However, when I connect ISP’s cable through some cheap 100Mbit switch, I get steady 60-90Mbit with the same settings.

Not sure if it’s worth mentioning, but initially my RB751 had trouble recognizing ISP cable connected to ether1, and I was forced to uncheck “auto negotiation” on ether1 and force-set it up as 100Mbit port.

So far I have no further ideas how to solve this problem, so any help would be greatly appreciated.
P.S. Sorry for mistakes in my English, my native language is Russian :slight_smile: .

A small addition to previous post - old router (DIR-615) worked perfectly with the same ISP cable plugged straight to it (D\L ~7-10 Mbytes\s), as well as the ancient DI-804HV. Cable type is UTP Cat.5 2-pair, exact cable length is unknown to me, probably 50-100m.

Not sure if it’s worth mentioning, but initially my RB751 had trouble recognizing ISP cable connected to ether1, and I was forced to uncheck “auto negotiation” on ether1 and force-set it up as 100Mbit port.

Perhaps it is worth to contact ISP and ask them, what is used on the other end.
RouterBOARD 751 should auto-negotiate with any standard device.

Check /queue simple and /queue tree configuration on your router and make sure there is no limitation configured.

sergejs, thanks for your reply! Here’s some information provided by the ISP:

Hello, you are connected to Cisco WS-C3550-48. Port Speed and Duplex have been set to “auto”.

sw-28.mgmt-a4-0.qline.by#show interfaces fa0/5 capabilities
FastEthernet0/6
Model: WS-C3550-48
Type: 10/100BaseTX
Speed: 10,100,auto
Duplex: half,full,auto
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Channel: yes
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off,on,desired),tx-(none)
Fast Start: yes
QOS scheduling: rx-(1q0t),tx-(4q0t),tx-(1p3q0t)
CoS rewrite: yes
ToS rewrite: yes
UDLD: yes
Inline power: no
SPAN: source/destination
PortSecure: yes
Dot1x: yes

>
> The port status information indicates some errors on the TX pair:
>
> ```text
sw-28.mgmt-a4-0.qline.by#show interfaces fa0/5
FastEthernet0/5 is up, line protocol is up (connected)
  Hardware is Fast Ethernet, address is 0009.e863.3a85 (bia 0009.e863.3a85)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Auto-duplex, Auto-speed, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 3d23h, output 00:00:05, output hang never
  Last clearing of "show interface" counters 5d17h
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 3247000 bits/sec, 650 packets/sec
  5 minute output rate 3504000 bits/sec, 484 packets/sec
     610740791 packets input, 759103228 bytes, 0 no buffer
     Received 12412 broadcasts (12244 multicast)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 12244 multicast, 0 pause input
     0 input packets with dribble condition detected
     390663923 packets output, 3577557376 bytes, 0 underruns
->     11478 output errors, 36516 collisions, 0 interface resets
     0 babbles, 11478 late collision, 76094 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out

However, statistics shown are for my current working router-to-replace-with-mikrotik, i.e. DIR-615, so for now I guess it’s time to do some tests on the ISP side. Nevertheless, it’s interests me why do I have so poor performance with potentially far more superior device such as RB751G, so I’ll keep you posted when I have some more test results.

BTW, here is my RB751 current configuration:

# jan/15/2013 16:55:13 by RouterOS 5.22
# software id = LA7D-1DVL
#
/interface bridge
add l2mtu=1598 name=bridge-local
/interface ethernet
set 0 auto-negotiation=no comment=WAN mac-address=**my_mac_address_here**
set 1 comment=LAN
set 2 master-port=ether2
set 3 master-port=ether2
set 4 master-port=ether2
/interface wireless security-profiles
add authentication-types=wpa2-psk eap-methods=passthrough group-ciphers=tkip \
    management-protection=allowed mode=dynamic-keys name=ap_security \
    supplicant-identity="" unicast-ciphers=tkip wpa2-pre-shared-key=\
    "**wpa2psk**"
/interface wireless
set 0 band=2ghz-b/g/n comment=WIRELESS disabled=no frequency=2437 l2mtu=2290 \
    mode=ap-bridge security-profile=ap_security
/interface wireless nstreme
set wlan1 comment=WIRELESS
/interface wireless manual-tx-power-table
set wlan1 comment=WIRELESS
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=dhcp_pool1 ranges=192.168.1.100-192.168.1.199
add name=dhcp_pool2 ranges=192.168.1.100-192.168.1.199
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=bridge-local name=dhcp1
/interface pptp-client
add add-default-route=yes comment=INTERNET connect-to=10.70.255.253 disabled=\
    no max-mtu=1400 name=pptp-qline password=**my_password** profile=default user=\
    **my_username**
/interface bridge port
add bridge=bridge-local interface=ether2
add bridge=bridge-local interface=wlan1
/ip address
add address=192.168.1.254/24 interface=bridge-local
/ip dhcp-client
add default-route-distance=0 disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=10.70.255.254,193.58.255.5,8.8.8.8 \
    gateway=192.168.1.254
/ip firewall nat
add action=masquerade chain=srcnat comment="Added by webbox" out-interface=\
    ether1
add action=masquerade chain=srcnat out-interface=pptp-qline
add action=dst-nat chain=dstnat comment=dc-main dst-address=10.70.66.30 \
    dst-port=3301 protocol=tcp to-addresses=192.168.1.11 to-ports=3301
add action=dst-nat chain=dstnat dst-address=10.70.66.30 protocol=udp \
    src-port=3333 to-addresses=192.168.1.11 to-ports=3333
/ip neighbor discovery
set wlan1 disabled=yes
/ip upnp
set allow-disable-external-interface=no enabled=yes
/ip upnp interfaces
add interface=ether1 type=external
add interface=ether2 type=internal
add interface=ether3 type=internal
add interface=ether4 type=internal
add interface=ether5 type=internal
add interface=wlan1 type=internal
add interface=pptp-qline type=internal
add interface=bridge-local type=internal
/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/0 interface=ether1 upstream=yes
add interface=bridge-local
/system leds
set 0 interface=wlan1
/system ntp client
set enabled=yes mode=unicast primary-ntp=178.124.164.107 secondary-ntp=\
    178.124.164.107
/tool graphing interface
add

You say that you disabled the auto-negotiation on the WAN port. The Cisco gear at the other end will then speed sense the line at 100 Mbps but will set the port to HALF DUPLEX even if your end is set to full duplex - and that kills the throughput due to late collisions etc. .

Either you need to get the Cisco and RouterBoard to auto-neg correctly or force both ends to 100 Mbps full duplex manually. Leaving the Cisco to speed sense will definitely cause problems due to the duplex mismatch.

Note that the maximum allowed segment length is 100m for 100BASE-TX.

You were absolutely right, sir!
Problem was solved by manually setting 100Mbit/Full Duplex on the ISP’s side, after that I’ve got steady 11Mbytes/sec on FTP file download, and no further ploblems whatsoever.

Thank you and sergejs for your support!