Live data from Hacker News

Mptcp: Moving laptop from GBit to wireless without applications noticing?

redhat.com

1–10 of 43 posts

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#2
MPTCP has been on my radar for a long while and seems very cool.

I will say that for seamless wireless/wired switching, Linux bonding works very well. ~15+ years ago I had my laptop set up with eth and wifi bonded, with eth as the preferred, I believe using link-beat as the method. I could be running a big copy, plug in the ethernet and the transfer rate would almost instantly shoot up, and then when done I could unplug and all of my connections would stay up.

As WiFi got faster and faster, I used this less and less, so I haven't had it set up for for quite a few years now. But it does show the promise of MPTCP.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#3

MPTCP has been on my radar for a long while and seems very cool. I will say that for seamless wireless/wired switching, Linux bonding works very well. ~15+ years ago I had my laptop set up with eth and wifi bonded, with eth as the preferred, I believe using link-beat as the method. I could be running a big copy, plug in the ethernet and the transfer rate would almost instantly shoot up, and then when done I could unp…

Nice, was not sure how stable such a setup would be. The applications will not need further modification and just need to be sent over the bond.

For MPTCP, as of today the applications over the mptcp-stream (which has subflows over the 2 media) need to be modified to use MPTCP, or an additional layer like with shadowsocks needs to be used to transparently encapsulate traffic over the link.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#4
post #3

MPTCP has been on my radar for a long while and seems very cool. I will say that for seamless wireless/wired switching, Linux bonding works very well. ~15+ years ago I had my laptop set up with eth and wifi bonded, with eth as the preferred, I believe using link-beat as the method. I could be running a big copy, plug in the ethernet and the transfer rate would almost instantly shoot up, and then when done I could unp…

Nice, was not sure how stable such a setup would be. The applications will not need further modification and just need to be sent over the bond. For MPTCP, as of today the applications over the mptcp-stream (which has subflows over the 2 media) need to be modified to use MPTCP, or an additional layer like with shadowsocks needs to be used to transparently encapsulate traffic over the link.

The article mentions the tool `mptcpize` which converts TCP into MPTCP by hooking calls to the networking API.

With the tooling already there, I think this makes for an excellent use case for MPTCP.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#5

MPTCP has been on my radar for a long while and seems very cool. I will say that for seamless wireless/wired switching, Linux bonding works very well. ~15+ years ago I had my laptop set up with eth and wifi bonded, with eth as the preferred, I believe using link-beat as the method. I could be running a big copy, plug in the ethernet and the transfer rate would almost instantly shoot up, and then when done I could unp…

Re: bonding, what a good idea! I may have to set this up on my laptop. Are there any downsides? (Besides being unable to connect to different networks of course)

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#6

MPTCP has been on my radar for a long while and seems very cool. I will say that for seamless wireless/wired switching, Linux bonding works very well. ~15+ years ago I had my laptop set up with eth and wifi bonded, with eth as the preferred, I believe using link-beat as the method. I could be running a big copy, plug in the ethernet and the transfer rate would almost instantly shoot up, and then when done I could unp…

Re: bonding, what a good idea! I may have to set this up on my laptop. Are there any downsides? (Besides being unable to connect to different networks of course)

You need to be in the same L2/L3 domain. Not always the case for the corporate networks.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#8
The net community gave up on the TCP->SCTP upgrade because of NAT (and other middle-) boxes breaking IP. It would have fixed many other things too (eg head-of-line blocking). The good side was that we kept the simplicity of TCP. I wonder what's the middlebox story of MPTCP.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#9
You can use WireGuard and our service hoppy.network to achieve the same thing! By having a static IP address exposed, you can switch from WiFi to ethernet or cellular without any network connections breaking. Probably not the best solution from an architectural standpoint, but certainly practical.

Re: Mptcp: Moving laptop from GBit to wireless without applications noticing?

#10
post #8

The net community gave up on the TCP->SCTP upgrade because of NAT (and other middle-) boxes breaking IP. It would have fixed many other things too (eg head-of-line blocking). The good side was that we kept the simplicity of TCP. I wonder what's the middlebox story of MPTCP.

Newer protocols like QUIC are encapsulated by UDP instead of adding new protocol numbers. NAT box breaks because NAT must be implemented for each protocol (port number not at IP level).
Post reply on HN