|
|
|
|
|
by kbolino
17 days ago
|
|
> IPv6 assumes that hosts have multiple IPv6 addresses, yet only one address at a time can be used within a given TCP connection. What IPv6 does differently is that each interface is expected to have multiple addresses, but each of those addresses serves a different purpose. Local network traffic uses the stable link-local address; incoming Internet traffic uses the stable global address; outgoing Internet traffic uses the global privacy address. And, even though privacy addresses get rotated for new connections, the old ones remain valid until all connections using them are closed. So, there really isn't any reason to use more than one address for the same connection. What it sounds like you're asking for is something like MPTCP, which was designed to solve a problem that didn't really exist when IPv6 was created. |
|
Nope. IPv6 was designed from the beginning to support multiple Internet-connected routers. Even the earliest RFCs that defined protocols for router advertisement allowed for multiple routers and addresses.
Yet at the same time, TCP (and DNS) ended up stuck with the "one address, one host" model.
> So, there really isn't any reason to use more than one address for the same connection. > What it sounds like you're asking for is something like MPTCP, which was designed to solve a problem that didn't really exist when IPv6 was created.
There is. To support Happy Eyeballs natively in the OS.
Happy Eyeballs should have been standardized along with IPv6 in the 90-s, but it took 15 years for it to be deployed!
In the counter-factual world, the IPv6 TCP would have been standardized on something like MPTCP from the beginning. There would have been one call to establish a connection: "connect(const char *hostname, uint16_t port)".
It then would have raced IPv4 TCP and IPv6 TCP connections, the TCPv6 then would have treated the V4 connection as a subflow. With perhaps multiple TCPv6 flows going over different source-dest address pairs.