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?
- I installed the container package.
- Granted container mode access.
Code: Select all
/system/device-mode/update container=yes
- Confirm with a cold reboot.
- Reset system configuration with "Run after reset" script.
Code: Select all
# 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
- Started the container after its extraction was completed.