Tuesday, November 19, 2019

Portable link aggregation / network bonding router for life-streaming

Hello. I hope my post is good enough to qualify for you guys.

What I'm trying to do:I'm trying to achieve stable network connection from multiple LTE modems + wi-fi + build in ethernet plug for streaming into the external RTMP server with load balancing between my multiple modems so if one gets disconnect or it will somehow break network connection would still be not broken.

What have I done/tried so far:

  1. I have set up Windows on my portable computer (Lattepanda 800s) and a Hyper-V virtual machine running OpenMPTCProuter,
  2. Configurated vpn,
  3. I have configurated Hyper-V virtual switches and network adapter for the VM,
  4. Set up NAT so the virtual machine can share internet back into the host computer,
  5. I wrote myself a simple autostart program to set virtual switches mode (external or internal depending if there is physical network adapter to connect to) depending on detected adapter in the network with help of few powershell scripts,
  6. I set them up in the GUI provided by the OpenMPTCProuter (as there will always be an adapters in the side of VM),
  7. I started the stream,
  8. Unplugged on of the connections (wi-fi) and stream goes down without recovery of any sort.
  9. I tried messing with some setting on the side of the OpenMPTCPRouterbut nothing help, always same results,

My bonus ideas (I'm not the network specialist out of profession so this is just raw speculations):

  1. Set up Linux,
  2. Get all adapters,
  3. Get connection on eth0 to host computer,
  4. Send/receive packets on all routers at the same time,
  5. On VPN the feasters one gets accepted rest is ignored as the crypto hash is invalid/duplicated,

or

  1. Set up Linux
  2. Get all adapters
  3. Ping 8.8.8.8 from all of the connections and use fasters 2 based on response times
  4. On VPN the feasters one gets accepted rest is ignored as the crypto hash is invalid/duplicated

Any kind of working solution would be nice I'm kind of running out of time as I need to have the setup ready on 27th of November.



No comments:

Post a Comment