Skip to content

Transmission rate slows down when using mlvpn0 #121

@beyondhong

Description

@beyondhong

Hi, @zehome
I have two 4G modules and I test their transmission rate via www.speedtest.net. Both of them can reach about 26Mbps.
So theoretically I will get about 2X26Mbps if I use mlvpn.

I did some tests and I got these results:

  1. one 4G module without mlvpn -> 26Mbps
  2. one 4G module with mlvpn -> 14.17Mbps
  3. on server side, 75Mbps
  4. two 4G modules with mlvpn -> 10.8Mbps (tcpdump shows both two links carry data)

mlvpn_test

So it seems the transmission rate will slow down when using mlvpn0 and link aggregation did not take effect.

Here are my config:

// client ====================================
[general]
statuscommand = "/tmp/root/c_mlvpn0_updown.sh"
tuntap = "tun"
mode = "client"
interface_name = "mlvpn0"
timeout = 30
password = "123"
#reorder_buffer_size = 0 //disable reorder system by this way?
loss_tolerence = 60

[filters]

[wwan0]
bindhost = "wwan0" // get ip by interface
remotehost = "120.42.xx.xx" //my server IP
remoteport = 1600

[usb0]
bindhost = "usb0"
remotehost = "120.42.xx.xx"
remoteport = 1601

//route table ---------------
admin@router:~# ip rule list
0: from all lookup local
32764: from 10.147.166.32/27 lookup t2
32765: from 10.146.207.88/29 lookup t1
32766: from all lookup main
32767: from all lookup default

admin@router:# ip route list table t1
10.146.207.88/29 dev wwan0
default via 10.146.207.93 dev wwan0
admin@router:
# ip route list table t2
10.147.166.32/27 dev usb0
default via 10.147.166.33 dev usb0
admin@router:#
admin@router:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.104.128.106 0.0.0.0 255.255.255.255 UH 0 0 0 wwan0
10.147.166.33 0.0.0.0 255.255.255.255 UH 0 0 0 usb0
58.22.96.66 0.0.0.0 255.255.255.255 UH 0 0 0 wwan0
10.146.207.93 0.0.0.0 255.255.255.255 UH 0 0 0 wwan0
10.146.207.88 0.0.0.0 255.255.255.248 U 0 0 0 wwan0
10.147.166.32 0.0.0.0 255.255.255.224 U 0 0 0 usb0
192.168.57.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 mlvpn0
128.0.0.0 0.0.0.0 128.0.0.0 U 0 0 0 mlvpn0
0.0.0.0 10.146.207.93 0.0.0.0 UG 0 0 0 wwan0

// server ====================================
[general]
statuscommand = "/tmp/root/s_mlvpn0_updown.sh"
tuntap = "tun"
mode = "server"
interface_name = "mlvpn0"
timeout = 30
password = "123"
#reorder_buffer_size = 0
loss_tolerence = 60

[filters]

[wwan0]
bindhost="120.42.xx.xx"
bindport=1600

[usb0]
bindhost="120.42.xx.xx"
bindport=1601

Is there anything wrong with my config? Or what problem it might be? Thanks!

c_mlvpn0_updown.sh.txt
client.conf.txt
s_mlvpn0_updown.sh.txt
server.conf.txt
sourece_routing.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions