Community discussions

MikroTik App
 
vdv79
just joined
Topic Author
Posts: 2
Joined: Fri Apr 28, 2023 2:57 pm

VETH interface have such low bandwidth

Fri Apr 28, 2023 4:12 pm

Hello!
I'm considering buying a Mikrotik router. To begin with, I decided to check the RouterOS operating system in the VMware virtual machine for compliance with my needs. I realized that for my needs a docker container would be needed. My tests with different containers and different versions of OS7.x showed that the speed of the VETH interface in all the containers I tested is very low (1Mbps), although the transfer speed with the virtual router itself is 1Gbps (copying files via FTP).
Why does the VETH interface have such low bandwidth (1% CPU usage)?
Maybe I'm doing something wrong?
  1. I installed the container package.
  2. Granted container mode access.
    /system/device-mode/update container=yes
  3. Confirm with a cold reboot.
  4. Reset system configuration with "Run after reset" script.
    # RouterOS 7.9rc4
    #
    /ip/dhcp-client/remove ether1
    /ip/route/remove [find dst-address="0.0.0.0/0"]
    /ip/address/remove [find interface=ether1]
    /interface/veth/add address=192.168.109.10/24 name=veth1 gateway=192.168.109.2
    /interface/bridge/add name=bridge1
    /interface/bridge/port/add bridge=bridge1 interface=ether1
    /interface/bridge/port/add bridge=bridge1 interface=veth1
    /ip/address/add address=192.168.109.141/24 interface=bridge1
    /ip/route/add disabled=no dst-address=0.0.0.0/0 gateway=192.168.109.2
    /ip/dns/set servers=8.8.8.8
    delay 30
    /container/config/set registry-url=https://registry-1.docker.io tmpdir=/pcie1-usb1-part1/tmp
    /container/add remote-image=elicro/openspeedtest:latest interface=veth1 root-dir=/pcie1-usb1-part1/spdtst
    
  5. Started the container after its extraction was completed.
Speed test from host 192.168.109.1 to VETH interface:
Clip080.jpg
You do not have the required permissions to view the files attached to this post.
 
adityaheri
just joined
Posts: 1
Joined: Sun May 21, 2023 8:19 pm

Re: VETH interface have such low bandwidth

Mon May 22, 2023 6:07 am

I also have the same problem, very low speed even though the cpu is very low, I get 5Mbps download but good upload at 950Mbps
 
vdv79
just joined
Topic Author
Posts: 2
Joined: Fri Apr 28, 2023 2:57 pm

Re: VETH interface have such low bandwidth

Tue May 23, 2023 3:38 pm

In my case, I think this is due to the restriction in a free CHR license.
https://wiki.mikrotik.com/wiki/Manual:CHR#free
Someone could repeat my configuration on the Routeros system with a license without restrictions, and show what the result of the speed will be?

Who is online

Users browsing this forum: No registered users and 70 guests