OpenMPTCProuter: True Bonding of 2 WAN connections for cheap!

OpenMPTCProuter: True Bonding of 2 WAN connections for cheap!

Comments 43

This post is a follow-up to my previous post “Increase Internet speed by load-balancing two WAN connections with WR740N and OpenWRT”, published in 2018.

(I may have overdid it with the thumbnail, sorry! 😄)

It has long been the “holy grail” of people with high speed Internet needs, but with only low speed “supply”, to bond two Internet connections together and achieve aggregate bandwidth on a single connection.

Load Balancing is easy to achieve, and will speed up multithreaded downloading, with tools such as Internet Download Manager, and torrents, but will not help with single threaded downloads, and also with uploads, which is very important for content creators.

True Bonding was unachievable to mere mortals - those unwilling to pay hundreds of dollars/euros for specialized hardware and a monthly subscription from companies dedicated to selling bonding solutions for the broadcast industry. However, that changes NOW!


In this post I show you how to install the excellent OpenMPTCProuter software, made by Yannick Chabanois, which has truly changed the way I use Internet! But first, I will explain a bit about the setup, and the components that are needed.

OpenMPTCProuter Network Diagram

I will not go into details about the technology of Multipath TCP, that is left for another time.

Ingredients

  • Intel/AMD-based Mini PC with Gigabit Ethernet, at least 1 GB of RAM, and a 8 GB or larger USB flash drive OR Raspberry Pi 4B* with those same specs and an microSD card
  • 5 port Gigabit switch (of the “dumb” - non-managed, non-VLAN - variety)
  • 4 Ethernet cables with 4 pairs (8 wires, Cat 5/5e or better)
  • 2 Internet connections - and modems (can be DSL, cable, 4G, fiber, WISP, or whatever…) **
  • Cloud VPS with 1 GB of RAM and at least 1 vCore, as closest to you as possible (ping time matters!), with network speed greater than 120% of what you expect to achieve ***

* Note: You cannot use a Raspberry Pi 3B or less, unless you have less than 90 Mb/s of total Internet speed available, as the Ethernet port of the Pi 3B is limited to 100 Mbps total. Additionally, the Pi 3B’s CPU is slower which can cause problems with the bonding and trigger packet loss or cause the Pi to crash.

** Note: You cannot use a FTTB deployment where you are provided only an Ethernet cable to your apartment that you plug into a router! Only ISPs which provide a CPE (modem/router) can be used!

*** Explanation: If you have 2x 50 Mbps connections that you want to bond into a 100 Mbps connection, your VPS should have at least 120 Mb/s network speed limit to account for protocol overheads. Actual results may vary. Ping from your home to the VPS should be less than 15ms.

Setup part 1: The server

Warning: This server can ONLY be used for terminating OpenMPTCProuter connections! You cannot host a website or run apps on it! You should only attempt this on a CLEAN INSTALL! KVM is required! OpenVZ is not supported and WILL NOT WORK!

Obtain a VPS, with Ubuntu 20.04 x64 installed, with at least 1 GB RAM and 1 vCore. Make sure the network speed of the server is satisfactory, as that will be the maximum bonded speed you can achieve, and make sure the ping from your home connection is low (20ms or lower). It is best to pick a server in a datacenter in the same country as you. Note the server’s IP address.

Run the following commands: (don’t paste them all at once, copy one by one!)

sudo su
apt update -y
apt install -y screen
systemctl unmask systemd-networkd.service
systemctl unmask systemd-networkd.socket
systemctl unmask systemd-networkd-wait-online.service 
systemctl enable systemd-networkd.socket
systemctl enable systemd-networkd.service
systemctl enable systemd-networkd-wait-online.service 
systemctl start systemd-networkd.service

Reboot the server, then SSH into it and run the following commands:

sudo su
screen
wget -O - https://www.openmptcprouter.com/server/ubuntu20.04-x86_64.sh | sh

Wait patiently for the install to end (it can last up to 30 minutes). When it is done, press CTRL + A then D (to detach the screen), then copy the contents of /root/openmptcprouter_config.txt to your local PC. This is very important!

After you have installed the script, reboot the server. This is absolutely required!

Note: The SSH port will be changed to 65222, so use that to connect via SSH from now on.

Full instructions can be found on the GitHub page.

Setup part 2: The router image

The hard part is done, what’s left is to install the system image on the router. OpenMPTCProuter image is a fork of OpenWrt with added elements necessary to enable true WAN Bonding. Download images HERE.

Raspberry Pi 3B / 3B+

Download Raspberry PI 3/3B+ (64-bits) ext4-factory image, which is a .tar.gz file.

Extract the file (you need to use WinRar or gunzip on Linux, and not 7zip - it has a bug and cannot extract any of the archives, but they are valid!) and write it to the SD card with Balena Etcher or Win32DiskImager. Insert the microSD card into the Raspberry Pi and proceed with the next step.

Raspberry Pi 4B

Download Raspberry PI 4B (64-bits) ext4-factory image, which is a .img.gz file.

Extract the file (you need to use WinRar or gunzip on Linux, and not 7zip - it has a bug and cannot extract any of the archives, but they are valid!) and write it to the SD card with Balena Etcher or Win32DiskImager. Insert the microSD card into the Raspberry Pi and proceed with the next step.

Intel/AMD PC architecture (x86 / x86_64)

Note: You will need a 8 GB or larger USB Flash drive. I recommend you a large and high quality USB 3 model, as the workload is intensive and cheap USB Flash drives are known to fail quickly (some barely last a day!).

Download x86-64 (64-bits) non-EFI EXT4 image (ext4-combined), which is a .img.gz file. Extract the file (you need to use WinRar or gunzip on Linux, and not 7zip - it has a bug and cannot extract any of the archives, but they are valid!) and write it to the USB Flash drive with Balena Etcher or Win32DiskImager. Insert the USB Flash drive into the PC, set the boot order to first boot from USB, remove all hard drives and SSDs from the device, and proceed with the next step.

Full instructions can be found on the GitHub page.

Download links can be found on the official website.

Setup part 3: Prepare the modems

Note: During this step, you will not have Internet access! It is recommended you create a hotspot on your phone to be able to lookup information in case of problems.

To prepare the modems, you need to do the following:

  1. Set the modems’ LAN IP addresses to 192.168.10.1 for the first and 192.168.11.1 for the second modem
  2. Turn off the modems’ DHCP server. This is very important.

The exact ways to do this vary wildly depending on the model of your modem, but it is important to first change the IPs, and THEN disable DHCP. Failure to do so properly means you have to factory reset the modem or configure a static IP address on your PC to access the web UI of the modem.

It is very important to disable the DHCP server on the modems!

Setup part 4: The wiring

The wiring is actually super simple in this case, in contrast with the load balancing setup.

Take the Gigabit Ethernet switch, and plug into it the two modems, the router (Raspberry Pi or Mini PC) and your own PC. Make sure all cables are functioning to spec, to avoid any problems.

Here is a sample wiring diagram:

OpenMPTCProuter Wiring Diagram

Setup part 5: The configuration

Power on the switch and the modems, and then power on the PC or plug in the power cable into the Raspberry Pi.

Connect your PC to the switch, and wait for the DHCP server to grant you an IP address. The default IP range is 192.168.100.0/24, I strongly recommend that you do not change this.

Open http://192.168.100.1/ and log in with the username root (there is no password, leave it empty).

Sample openmptcprouter_config.txt file

Open the openmptcprouter_config.txt file and copy the “OpenMPTCProuter Server Key” value:

OpenMPTCProuter Server Setup

Go to System > OpenMPTCProuter > Setup Wizard, and enter the Server Key and the VPS IP address.

OpenMPTCProuter WAN Setup

Scroll down to the two predefined interfaces, wan1 and wan2. Enter the labels, and the parameters as follows:

For WAN1: Protocol - Static address, IPv4 address - 192.168.10.100, Subnet mask - 255.255.255.0, IPv4 Gateway - 192.168.10.1

For WAN2: Protocol - Static address, IPv4 address - 192.168.11.100, Subnet mask - 255.255.255.0, IPv4 Gateway - 192.168.11.1

(the only difference is the IP subnet 192.168.10.0 and 192.168.11.0, as you configured in step 3.)

Click SAVE & APPLY, and after a few seconds you will be redirected to the Status page. If everything is OK, it should look like this:

OpenMPTCProuter Status Page

That’s it!

Testing

Dual-WAN Bonded SpeedTest

This is a sample of a bonded VDSL2 connection with 50/8 Mbps and LTE Advanced with ∞/10 Mbps speed (upload is limited to 10 Mbps).

If you have any questions or need help, don’t hesitate to contact me. You’re invited to share your SpeedTests in the comments 😊 Make sure to include the before & after pics 😉

3
❤️
1
👍
0
😲
0
😢
1
😠
0

Comments (43)

Please be civil when commenting. Think before writing, don't spam, self promote, bully, harass or harm anyone. Please read the Comment Policy before posting. Comments are moderated.
See all 43 comments

Dariusz

Dariusz

Hi,

I have a problem with the configuration, I have the following problems:

Network overview

OpenMPTCProuter

(192.168.100.1)

vpn tunnel down

--

Direct output (x.xxx.3.235)

can't get public ip address from shadowsocks

can't contact server admin script (no token yet available - no api script answer).

where is the crux of the problem?

Reply · 1 week ago · #790

Jessica

Jessica

Hi Milan,

Thanks alot for your detailed instructions, I am going to try the set-up I'm few days. I have ordered raspberry pi 4, should reach in few days.

My current setup

Laptop>>>WiFi>>>TPlink router with 4G SIM>>internet

Future setup

Laptop>>WiFi>>>Raspberry Pi(running openmptcp)>>switch>> going to Tplink (4G)

>>Switch (same as above) >>>USB hub with ethernet adapter>> 4G dongle

Just to avoid any confusion, So switch will connect to existing Tplink and also a usb hub with ethernet adapter which connects to 4G dongle.

As you suggested, I will turn off the DHCP service on my existing Tplink ( WiFi router) and newly added 4g dongle and set it for different IP segment. 4g 192.168.1.x , Tplink 192.168.2.x and my raspberry pi running openmptcp 192.168.3.x with DHCP enabled.

So my question is , when I configure openmptcp for binding, Once completed, I normally connect my laptop over WiFi but now as I have to disable DHCP on my Tplink, how will my laptop get IP from openmptcp?

Lastly, is I have 3 more 4G dongles, can I connect them to the usb hub which connects to the switch over the ethernet adapter, or is there a better option to bond the additional 4g usb dongles.

Reply · 1 week ago · #786

Milan Kragujević

...replying to Jessica

Milan Kragujević Admin

Hi Jessica,

OpenMPTCProuter has DHCP server built in. It will give out IP addresses.

Regards,

Milan

Reply · 1 week ago · #788

Jessica

...replying to Milan Kragujević

Jessica

Hi Milan,

Thanks for your reply.

So if I understand correctly, I will connect to the (old) SSID advertised by TPLink and it will send the DHCP request to Openmptcp router(Raspberry Pi). So I don't need to change any settings on Tplink to forward the broadcast?

Or do you mean I have to advertise a new SSID on the openmptcp (Raspberry Pi 4) and then I need my laptop to connect to the new SSID for Openmptcp to handout DHCP leases.

some questions regarding routing, since openmptcp has been configured with only one subnet , example (192.168.3.0/24) , how will it know to reachISP1/ Tplink (192.168.1.0/24) and ISP2 (4G dongle - 192.168.2.0/24), although they all are connected over the switch.

Lastly, is there a limitation on how many isp links or type of connection we can bond?

Many thanks in advance.

Kind regards

Jessica

Reply · 1 week ago · #789

Markus

Markus

Awesome guide, thanks. You wrote raspberry pi3b wouldn't do. Would this work with the plus version of raspberry pi3b if my total bandwidth is higher than 100 mbit? Or does even the plus version not offer enough?

Reply · 1 month ago · #738

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

Hi Markus,

sadly due to encryption used and in general the amount of things that run in the OMR build to keep it all working and to monitor stuff, it would not work, as the Pi 3B+ CPU is too slow and it has too little RAM. You need Pi 4B or some PC board (x86/x64). And for >~200 Mbps or more than 3 WAN connections, you need more than 1GB RAM in whatever device you have.

Regards,

Milan

Reply · 1 month ago · #739

Markus

...replying to Milan Kragujević

Markus

oh one more thing, in case you know. I got an old HP Proliant Micro G7 available here which might have enough power. Yet it doesn't seem to boot the x86 images, with and without efi. Couldn't get it to boot from a laptop either. Are those images not suitable for USB sticks? So far I only got it working on micro SD cards for the raspberry.

Reply · 1 month ago · #741

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

Hi Markus, yes, images work on normal PCs booted from a USB drive. Make sure to download the PC (.img.gz files, non-EFI ext4) and not VirtualBox images and to flash with Rufus.

Reply · 1 month ago · #742

Markus

...replying to Milan Kragujević

Markus

oh, forgot to mention: for some reason the shell showed “link up, 100Mbps, full duplex” even though the raspberry Pi3B should have Gigabit…

Reply · 1 month ago · #749

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

Hi! Sorry I keep replying out of thread, there's a nesting limit :)

RE: Network speed issue, I assumed you had the 3B+ because you wrote in your first comment “Would this work with the plus version of raspberry pi3b”. Of course 3B has 10/100 Mbps port, and 3B+ has 10/100/1000 Mbps, but since it's over USB 2.0 the speed is at maximum ~400 Mbps, but probably less as all of the ports (including SD card reader, WiFi, Ethernet and USB ports) share the same 480 Mbps. In reality you can get between 200 and 300 Mbps depending on IO devices connected.

Reply · 1 month ago · #757

Markus

...replying to Milan Kragujević

Markus

Yeah, my bad, turned it out was the B model only. Thanks for the detailed info. :)

1 month ago · #758

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

Hi Markus,

It's possible the port is faulty or your modem or switch has Fast Ethernet ports only (so 100 Mbps).

Regarding the speeds, what is the port speed of your VPS? It should be 20% more than aggregate bandwidth you expect to use.

Regards,
Milan

Reply · 1 month ago · #753

Markus

...replying to Milan Kragujević

Markus

All right, figured it out. There was some conflicting information on the internet. Apparently the Pi 3 B model only has 100 Mbit. It'd either take an USB adapter to get up to 300 Mbit or a B+ model (or a Pi 4).

1 month ago · #756

Markus

...replying to Milan Kragujević

Markus

Hey, the VPS can handle up to 10 Gbit or even more. Works fine since I use a normal laptop as openmptcp "router" as temporary solution. Getting an additional 100 Mbit increase on downstream.

I'll check whether there is a way to find out why the raspberry seems to go to down to 100 Mbit on the interface. Can't remember it did that on raspbian.

1 month ago · #755

Markus

...replying to Milan Kragujević

Markus

ok I partly figured it out. Had to disable secure boot and switch to legacy. Yet it won't work on the HP, oh well.

Reply · 1 month ago · #744

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

RE: your last comment, about the speed: if it's not a bother, please retry with RPi 3B+ but in the OMR Wizard page, under VPS, check Advanced options, then under encryption where it says ChaCha20 set it to none. Then reboot both VPS and RPi (through SSH or GUI option reboot, and VPS via SSH obviously). This should speed it up, but won't encrypt your data. Given almost all traffic nowadays is over HTTPS, it's not that bad. And also regarding the HP server, did you also turn off Secure Boot and enable Legacy Boot mode on it? Disable PXE booting also, and maybe try any random Linux USB stick to see if it will boot into the installer, maybe the problem is not related to OMR at all.

Reply · 1 month ago · #747

Markus

...replying to Milan Kragujević

Markus

I couldn't find such a wizard. I assume you mean the openmptcprouter assistant? At least there I found the chacha encryption setting in advanced settings within the VPS part. I set that to none and it looks like I gained another 5-10 Mbit. Still slower than my single fixed landline. Assuming I changed the correct setting, I guess the ethernet interface and/or the cpu still cannot handle it. I agree, encryption is not needed as that should happen through the application protocols in browser etc.

I got it to work on the HP now as well. I tried the microSD card in an SD reader USB adapter, connected that and it worked (with that same non efi ext4 image for x86). Very strange.

1 month ago · #748

Milan Kragujević

...replying to Markus

Milan Kragujević Admin

Sorry to hear it doesn't work. I just want to assure you that it does work in general and that you should check the settings of the HP. In the end with effort you will get it booting.

Reply · 1 month ago · #745

Markus

...replying to Milan Kragujević

Markus

Yeah thanks for the confirmation. Thanks to you I gave it another try as I mentioned and currently using a laptop as “router”. That wouldn't be a permanent solution but I was able to increase my downstream significantly. The raspberry pi 3B got me 60 Mbit only (yet my fixed landline alone already has 100 Mbit). With the laptop as router I got to 180 Mbit!

1 month ago · #746

Markus

...replying to Milan Kragujević

Markus

Thanks again. No luck on that. I download the ext4 non efi for image x86 (also tried x86-x64), wrote to USB stick with Rufus and tried it on a laptop (where I know USB booting works). When selecting the stick it just jumps back to the main options screen and I can just continue boot normally. Strange.

Reply · 1 month ago · #743

Markus

...replying to Milan Kragujević

Markus

Hi Milan,

Awesome, thanks! I tried in the meantime and yeah the downstream speed hasn't improved really. The upstream almost doubled. I'll look either into a raspberry 4 or go for speedify then, thanks!!

Cheers,

Markus

Reply · 1 month ago · #740

Obbyone

Obbyone

Thanks for this. What VPS do you recommend? I am trying to get this to provide more speed to my wisp, I currently have 70 customers. Need a cheap and good VPS provider. Please.

Thanks.

Reply · 1 month ago · #736

Milan Kragujević

...replying to Obbyone

Milan Kragujević Admin

Hi! It depends on your location and bandwidth needs. As I have mentioned, you need a physically close server with bandwidth 10-20% more than the speed of all your connections combined. However, I am curious also how you plan to improve the speeds for your 70 customers, do you plan on aggregating backhaul capacity from multiple providers? What speeds in total are you seeing from all your customers at peak usage, and what are your expansion plans going further? Regards, Milan

Reply · 1 month ago · #737

Obbyone

...replying to Milan Kragujević

Obbyone

Speeds are limited to 5 mbps in rural areas with antennas. I currently have a not dedicated asymetrical provider 200/10 and planning to add dedicated fiber optic 100/100. Of course I want to bond both speeds and have them to back up each other.

I am northern Mexico.

Reply · 1 month ago · #751

Milan Kragujević

...replying to Obbyone

Milan Kragujević Admin

Hi! It's best to try and find a server in your country or collocate a server in a datacenter that is geographically close to where you will be connecting from. I cannot recommend you anything specific as I don't have experience with this, but try to have 5-10ms ping to the server from the aggregation router. In general you should find a provider with 400 Mbps port speed and 2 cores and 2 GB RAM. You will need Ubuntu 20.04, not older Ubuntu. Also CentOS won't work!

Reply · 1 month ago · #754

Nicholas Mclachlan

Nicholas Mclachlan

Hey

i wana use this with 8 USB LTE modems

all on usb bus will it work and can the run on DHCP

Reply · 2 months ago · #700

Jimmy

Jimmy

Great post! I'm currently running a Peplink Balance One because I have inconsistent Cable and limited bandwidth 4g LTE so this sounds perfect. I have a few questions, if that's ok?

-AMD/Intel PC? Either needs to be window's based? Just asked b/c there are various Chrome OS boxes on sale.

-The IP address- for my cable line- the cable modem will be hooked up to a clean router, I assign the router one of the IP addresses you specified above, correct? I don't think I can't change the IP address of my cable modem. For the other internet connection, I have an LTE modem/router and it's IP address is already one of the addresses you suggested above, so i'm really only worried about my cable connection.

-Once this is achieved, there is zero load balancing? Are there rules available? I'd rather have hot failover vs bonding

-I can do everything as stated above and use a switch with more ports so I can hook in wired access points, I assume? With the above setup diagram, after setup, can you replace the end user PC with a home network switch to run internet throughout the house?

Thanks in advance. Really appreciate it!

Reply · 3 months ago · #672

Milan Kragujevic

...replying to Jimmy

Milan Kragujevic Admin

Hi Jimmy!

Re. #1: You need an x86 or x86_64 based PC which has an unlocked bootloader and on which you can boot a generic Linux-based OS. I don't think the recent Chromeboxes would comply with that requirement as they have a pretty fidgety bootloader and cannot just boot anything.

Re. #2: If your modem passes the IP to the router on the LAN port (i.e., does not do NAT itself and have a private IP range), you will need to attach another router to it (modem LAN to router WAN), then connect that router into the switch. All routers must have DHCP disabled.

Re. #3: The connections are bonded. You can omit certain local or remote IP ranges, services by ASN or by L7 service filter, but the connection is bonded. This is not a load balancing setup, every connection is spread between all possible uplinks. You can have failover set up if you set the connection as “Backup” under Multipath TCP, but then you don't have bonding.

Re. #4: Correct, you can hook up everything into the same switch or have a mixed star-bus topology with multiple switches. All devices are in the same network and are visible to each-other, but the default gateway and DHCP server is OpenMPTCProuter at 192.168.100.1 (you can customize the IP range if you want, of course). Other access points can be connected into the same switch as other client devices, the modems and the router.

I hope I've helped.

Regards,

Milan

Reply · 3 months ago · #674

Jimmy

...replying to Milan Kragujevic

Jimmy

Woot! You've been superhelpful! I think I have enough info to try this. I'm looking for hot failover and this sound identical to Peplink's Speedfusion product, but a DIY solution.

VPS- any recommendations? How is speed of the VPS effectively measured against one another? Do I care about CPU/RAM/SSD? Not many advertise “speed” but now I understand why Speedfusion is limited to 100gb.

Thanks again! Can't wait to give this a try. I have most of the equipment anyway. HAHA

Reply · 3 months ago · #675

Harsh Jain

Harsh Jain

Alright, so here is the update.

I was able to connect both and honestly didnt expect the whole process to be that simple. Like its mindblowingly simple. Wow. And works much better than the github one i provided.

Combined my 200mbps + 100mbps into 1 connection. (my 200mbps goes upto 250 at times).

https://prnt.sc/w6yl65

https://prnt.sc/w6yljn

I am blown away by this. Literally.

The best part is i didnt need any hardware. Just created a VM in my unraid machine, created a virtual switch, combined my windows and the vm running openmctcprouter and then configured the IP in windows to connect to the mctcp and bang it worked. Thanks a ton Milan.

Reply · 3 months ago · #653

Jessica

...replying to Harsh Jain

Jessica

Hi Harsh,

Could you be so kind to share how you did this using VM. I will be really thankful to you.

I am sure others will also find it useful, It will be great if you could share detailed information do we can follow your steps and avoid any issues.

Reply · 1 week ago · #784

Harsh

...replying to Jessica

Harsh

Honestly it's way more complicated than what I said.

I am running unraid and have my windows on VM with hardwares bypassed to VM. And I run another VM with openmptcprouter. I have dual Lan port on my mobo, so I just connect the Lan from both routers and turn it on, it automatically works without even doing anything.

I just have to create a virtual switch and add it across all the VMs.

Reply · 1 week ago · #785

Jessica

...replying to Harsh

Jessica

Thanks for your quick reply.

Few quick question, if you are ok with that.

“I have dual Lan port on my mobo” what is mobo?

“hardwares bypassed to VM” what does it mean?

Lastly, Are you running VM in VMware workstation? Virtual switch is it on VMware workstation?

Do you mind sharing the network settings of VMs and virtual switch.

I will try to replicate your set-up, hope it will work.

Reply · 1 week ago · #787

Milan Kragujevic

...replying to Harsh Jain

Milan Kragujevic Admin

Hi! It's great that it works for you, and yeah it's super simple to setup, and works very well. In fact it works better than a lot of Hybrid access systems used by ISPs worldwide, most notably Huawei's. Enjoy! Regards, Milan

Reply · 3 months ago · #654

Harsh Jain

...replying to Milan Kragujevic

Harsh Jain

I am getting 1:1 network, which is crazy. Now the only problem i am facing is, i have done it on the virtual switch, idk how will convert it to wifi, lol. I guess i have to buy hardware.

Reply · 3 months ago · #655

Harsh Jain

Harsh Jain

This is terrific and I am yet to try. I am kinda hoping to spin up a VM on my local Unraid server then use that VM to load balance, not sure if it will work or not but will give it a try.

In a mean time I found this great way, that you should check Milan, that does not require any special hardware, just a VM to work.

https://github.com/onemarcfifty/openvpn-bonding

It does work however currently I am not getting full 300mbps (trying to bond 100 & 200mbps)…i am yet to debug it…but still trying.btw did you try your method on VM?

Reply · 3 months ago · #646

Milan Kragujevic

...replying to Harsh Jain

Milan Kragujevic Admin

Hello Harsh!

You can use OpenMPTCPRouter as a VirtualBox (or any other kind of hypervisor) guest, you just have to bridge the host Ethernet interface with the guest interface, and enable promiscuous mode. You have to download the virtual disk image from the OpenMPTCPRouter website, instead of the x86_64 or arm64 images that you'd write to a flash drive.

For me personally I get around 90% of the possible speed (i.e. combined speed of all interfaces) inside the tunnel (i.e. usable speed for my devices), so I am pretty satisfied with this setup, don't really have the time to try that OpenVPN bonding script you sent.

If you have any further questions, I stand available.

Thank you,
Milan

Reply · 3 months ago · #647

Harsh Jain

...replying to Milan Kragujevic

Harsh Jain

Thanks for the reply.

My current setup is Unraid → Windows VM = Dockers

I also have 2 nic, both in use as br0 and br1 and connected to all the dockers and VM. I wonder if 2 nic is enough or do I have to get 4 nic gigabite connection and then connect the internet to them and then on to the nic, by pass 1 to OpenMPTCProuter and 1 to Windows and configure it. Is that the way to go?Or any other way?

Reply · 3 months ago · #648

Milan Kragujevic

...replying to Harsh Jain

Milan Kragujevic Admin

Hi!

I don't really understand your intended setup, but OMR uses only one NIC and uses MacVLAN to create virtual interfaces for LAN and WAN1, WAN2, etc… So you only need one NIC.

I'm not sure if it will work for you, but you should try…

Regards,

Milan

Reply · 3 months ago · #649

Harsh Jain

...replying to Milan Kragujevic

Harsh Jain

If it doesn't work that way then will order a switch and cables

Reply · 3 months ago · #651

Harsh Jain

...replying to Milan Kragujevic

Harsh Jain

No I mean I have 2 internet connection and trying to connect it. Both are connected to 2 nic on my motherboard. I think if I setup VM it will create virtual LAN and should work without switch.

I will try it tomorrow and report back.

Reply · 3 months ago · #650

Milan Kragujevic

...replying to Harsh Jain

Milan Kragujevic Admin

It will probably work with a virtual switch.

Reply · 3 months ago · #652


Scroll to top