Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.86k stars 269 forks source link

openmptcprouter and Starlink #1767

Closed naturelle137 closed 3 years ago

naturelle137 commented 3 years ago

I have recently started using Starlink. Parallely I have a Telekom Magenta Hybrid connection running. I want to combine both with openmptcprouter.

  1. The Starlink modem in dishy has a fixed IP 192.168.100.1 that conflicts with the openmptcprouter IP. The Starlink modem IP cannot be changed. Can the openmptcprouter IP be changed?
  2. The Starlink router has a fixed IP 192.168.1.1 that cannot be changed. The Wiki says that the Router IPs shall be changed to 192.168.10.1 and 192.168.11.1. That is not possible with Starlink. Can I instead configure Starlink with 192.168.1.1 and insert that IP in the wizard for WAN1 or will that cause problems?
  3. Can I instead remove the Starlink router from the setup and connect dishy (with the modem) directly to openmptcprouter and configure WAN1 with the modem IP 192.168.100.1 as gateway? Problem 1 would remain.
Ysurac commented 3 years ago
  1. Yes OpenMPTCProuter IP can be changed.
  2. Routers IPs in doc are example, so no problem
  3. No idea, I don't know how starlink work and if the provided router is needed or not.
naturelle137 commented 3 years ago

Thank you. Is there a guide on how to change openmptcp ip? Or will I intuitively find it in the wizard? Starlink router is not needed, I can attach any router so I will just try whats working best.

Ysurac commented 3 years ago

You can change OpenMPTCProuter IP via the wizard or via Network->Interfaces, edit "LAN" interface.

hairy-dog commented 3 years ago

The wiki examples are just that: examples. I have the OMR IP as 192.168.0.201 and my wan connections are 192.168.8.1, 192.168.10.1, 192.168.12.1 and 192.168.11.1 All you need to do is to connect to each of the wan routers in turn and give each a fixed IP address and switch off their DHCP service. Then on the OMR settings, add the WAN connections, for example putting 192.168.10.2 in the address box, and 192.168.10.1 in the gateway box. I don't think the docs make that clear.

docderwood commented 3 years ago
  • Yes OpenMPTCProuter IP can be changed.
  • Routers IPs in doc are example, so no problem
  • No idea, I don't know how starlink work and if the provided router is needed or not.

If I want to use two Starlinks but their routers only allow them to have 192.168.100.1 as their address, will OpenMPTCP allow me use them together?

hairy-dog commented 3 years ago

If the starlinks both have to have that up address, you won't be able to connect both to the same network. This is not an openmptcproter restriction. I think you will need to add an additional router between the second Starlink and the rest of the network. I decided not to order one starlink because the cost was too high. Two would cost twice as much!

naturelle137 commented 3 years ago

openmptcp_router_hybrid_disconnect @Ysurac I have trouble with the Starlink. If I don't use a VPS and connect both ISPs to OMR, always Hybrid is the outgoing connection. If I disconnect Hybrid, Starlink takes over. I wish it was the other way round. If I connect the VPS and have both ISPs the speed is like only Hybrid is active. So I disconnect Hybrid and have only Starlink attached and then I have no internet at all. You see it where Ethernet in Task Manager goes down to 0 in the attached screenshot, there I disconnected the Hybrid line. I tried both using Starlink router or connect dishy with the modem directly (of course I changed the IPs accordingly) but the behavior is the same.

@docderwood This would be my idea for you, if you have Starlink running with OMR: Connect one dishy directly with IP 192.168.100.1 and the other Starlink with the router with 192.168.1.1

Ysurac commented 3 years ago

You can check in State->System log what is happening when there is only starlink.

naturelle137 commented 3 years ago

I did the following:

systemlog_starlink-only.txt openmptcp_router_both_connect openmptcp_router_starlink-only_connect

Ysurac commented 3 years ago

Internet seems to be working from the router (else it can't get VPS IP, load average,...) IPv6 is disabled for hybrid connection ? DHCP too ? Are you sure your client computer use OMR as gateway and DNS ?

naturelle137 commented 3 years ago

DHCP at hybrid router is off, IPv6 is enabled on Hybrid, I will disable it. I have a static ip at the client computer with the OMR as gateway. With the Starlink router it's not possible to disable DHCP but the direct connection to the modem gives the same behavior. I will check my public IP if it is from the VPS or from Hybrid IPS.

docderwood commented 3 years ago

openmptcp_router_hybrid_disconnect @Ysurac I have trouble with the Starlink. If I don't use a VPS and connect both ISPs to OMR, always Hybrid is the outgoing connection. If I disconnect Hybrid, Starlink takes over. I wish it was the other way round. If I connect the VPS and have both ISPs the speed is like only Hybrid is active. So I disconnect Hybrid and have only Starlink attached and then I have no internet at all. You see it where Ethernet in Task Manager goes down to 0 in the attached screenshot, there I disconnected the Hybrid line. I tried both using Starlink router or connect dishy with the modem directly (of course I changed the IPs accordingly) but the behavior is the same.

@docderwood This would be my idea for you, if you have Starlink running with OMR: Connect one dishy directly with IP 192.168.100.1 and the other Starlink with the router with 192.168.1.1

Thank you for the tip!!. ...my Starlink will be here 4/26, I will be unable to install for a couple of weeks :(

bdruth commented 3 years ago

fwiw - 192.168.100.1 is Dishy's address. If you connect directly to Dishy, you will get a CGNAT address from the Starlink network - that address will not be in the 192.168.100.x subnet - e.g. mine is currently 100.68.0.x. If you want to hook up two Starlink dishes, you can do as @docderwood suggests, but you won't be using 192.168.100.1 ... also, unless you do some magical routing, you'll only be able to connect to the status page of one Dishy ... 192.168.100.1 is static to the dish, every dish uses the same IP, irrespective of what router sits in front of it. And even then, you'll need to hard-code a route in OMR to which Dishy you want 192.168.100.1 to route to.

Fwiw, I'm pretty sure you can change the LAN subnet the Starlink router is offering up to be whatever you want it to be (that doesn't impact the 192.168.100.1, as it's upstream of the router. e.g. you could setup the Starlink router on one dish to use 192.168.1.0/24, a 2nd to be 192.168.2.0/24, and your OMR can use 192.168.0.0/24.

naturelle137 commented 3 years ago

@bdruth I now set up the 100.xxxxx IP from the Starlink App as a gateway. In the pictue below I put a static IP in same range as Ipv4 for WAN1, I alo changed it to 192.168.1.1 what doesn't make any difference in the picture.

With this config I don't get an output but the Starlink is green.

I now did a clean new setup of OMR, no VPS, for the first try to setup the Starlink only via OMR. When I have that running, I will install the VPS and Hybrid.

IMG_20210423_080944

naturelle137 commented 3 years ago

Ok, did some further testing. Got Starlink finally running, Starlink router is connected (191.168.1.1 with DHCP because no configuration possible in Starlink router). So i connected the VPS, it works and my IP in the internet is the VPS IP.

Connected to Hybrid and again only the speed of hybrid. So I deactivated IPv6 on my client PC and TADAAAAA, it works now with bonded speed (down only 100Mbps max due to my Laptop running as OMR with only 100M Ethernet port + Client PC on powerline is braking) but upload is clearly more or less both speeds bonded.

Now my problem is only, that IPv6 cannot be deactivated in the Hybrid router and using another router for Telekom Hybrid is definitely not possible (only the two available Telekom router can handle Hybrid). On a PC this is not an issue, there I can deactivate IPv6 in the adapter settings. But Smarthones or my TV don't have the option :(

Ok, therefore I can say, that the issue can be closed, OMR is working as intended! Thank you for your support!

Shitty hybrid router is out of scope here.

image

image

Ysurac commented 3 years ago

To disable IPv6 you can use a router with multiple ports and use a port for each wan router, so no IPv6 conflict on network. You can also use another router between OpenMPTCProuter and the Hybrid router, like an OpenWrt on a RPI and disable IPv6 support.

naturelle137 commented 3 years ago

OMR is currently a laptop:

Possible? Than the hybrid has no chance to give IPv6 to my other network devices

Ysurac commented 3 years ago

Using Wifi as source is not a good idea: some packets are lost and OpenMPTCProuter doesn't like that. You can use an USB to Ethernet adapter ;)

naturelle137 commented 3 years ago

regarding @docderwood question with two starlink routers with the same IP maybe its a possibility to use 2 different ethernet ports, than the same IPs shouldn't matter?

docderwood commented 3 years ago

regarding @docderwood question with two starlink routers with the same IP maybe its a possibility to use 2 different ethernet ports, than the same IPs shouldn't matter?

This is my plan, once I get it installed: Two separate physical WAN ethernet ports for Starlink along with two separate LTE connections.

The only issue I see is accessing the Starlink app for each individual dish, since the OPenMPTC router will have the same IP address that can't be changed (yet, maybe starling will allow in the future)

naturelle137 commented 3 years ago

Last update from my side:

Thank's for the great support!