-
Notifications
You must be signed in to change notification settings - Fork 335
Aggregation fails when using modems with IPs in same subnet #452
Comments
Hello, It might depend on the path-manager you use. Also, do you get a different IP each time? If not, it is possible it gets confused if they all have the same IPs. A workaround is maybe to create a net namespace with veth devices having different IPs, where the traffic would go to one specific USB modem. There are probably other solutions but that's not common to have multiple times the same IP :) If you have different IPs, it should work I think. It depends on the routing rules you use. http://multipath-tcp.org/pmwiki.php/Users/ConfigureRouting |
The IPs are different. And the path-manager is 'fullmesh'. Does 'fullmesh' work or should I be using a different path-manager?
|
Fullmesh should work. How many subflows are created when you establish an MPTCP connection? How many IPs are listed by the FM PM? |
The num of subflows was set to 1. There are no statistics displayed except for the column headers when running
|
Are there any MPTCP connections that exist in your machine when you are running this command? Also, it has to be run with root privilege. |
Did you have active MPTCP connections running when you ran the |
Only to see the tokens but here we don't care about the tokens ;-) |
Yes, the commands were run with root privileges (please check the shell prompts). I initiated a file download from the LAN side of the mptcp-based router when running
However, the ISP seem to be blocking mptcp, as suggested by tracebox. I guess I have to try with a different provider.
|
No it looks like the MPTCP options are received by the multipath-tcp.org server. Can you try with the IP/DNS name of your server? |
Asking out of curiosity, but doesn't |
In the output you provided, it is quite confusing because you only have the view of the end server. In fact, you can see the SYN+ACK (+MPCAPABLE) here, not the SYN (+MPCAPABLE). It tells you that the bytes in the MPCAPABLE option are no longer the same. |
Update: After using a different ISP in one of the modems, there is some output from
|
|
@matttbe, could you please clarify about
|
@SriramScorp oh yes, my bad, I thought it was saying the option was still there but the bytes were different (the json format is clearer :) So yes, good point, MPTCP options are certainly stripped in the middle. Can you check with another port number?
Sometime there is an "HTTP optimiser" on port 80. |
I tried aggregating network bandwidth with 2 modems using a different ISP which was not blocking MPTCP. Now, traffic seems to flow through both interfaces and aggregation seems to work without any issues.
While MPTCP seems to work with different interface IPs, I haven't tested if it would still work if all modems were to lease the same DHCP IP. Maybe, I could configure the interfaces with identical static IPs instead and post my findings later.
I haven't been able to test this either. But, assuming |
👍
I initially thought your issue was that each modem was giving the same IP but you correctly identified the cause was different.
Good question. These optimisers are usually quite old and don't really make sense anymore now that a large part of the traffic is in HTTPS. I would not be surprised if they only look at the traffic on port 80. |
When I use 3 USB modems with the same IP (192.168.42.1) and giving DHCP leases in the subnet 192.168.42.0/24, traffic flows only through one of the modems, based on the interface metric. The IP and DHCP range seems hardcoded in the modems and I'm unable to change them. Does aggregation work with this setup as long the interface IPs are unique? Or is it mandatory that each WAN interface should have IPs in unique subnet?
The text was updated successfully, but these errors were encountered: