| ▲ | nutjob2 2 hours ago | |||||||
Somewhat off-topic: has anyone implemented USB C based networking? So for instance you have two or more machines that have USB 4 ports at 20 to 80 Gbps and you plug in the appropriate USB C cables to connect them. What do you need to make the connections appear as a (point to point) part of a regular TCP/IP network? Seems much cheaper than Ethernet if you already have the ports. | ||||||||
| ▲ | undersuit 2 minutes ago | parent | next [-] | |||||||
You're limited in your network topology because there is no USB Switch. This HN post used two USB4 connections to create a 3-node cluster: https://news.ycombinator.com/item?id=39003469 | ||||||||
| ▲ | davkan 2 hours ago | parent | prev | next [-] | |||||||
I used to have a thunderbolt ring network for a ceph backend on my k8s cluster. On Linux load the thunderbolt_net kernel module and they show up the same as any other Ethernet interfaces. Just directly connect them and configure the network settings on each end using your normal tools. Latency was an order of magnitude higher than twisted pair but the throughput was greater than 10Gbps and I didn’t have to spend on 10GbE capable servers and network equipment. I vaguely remember that they had to be proper Thunderbolt not just USB-C but that could have changed it’s been quite a while. | ||||||||
| ▲ | imoverclocked 2 hours ago | parent | prev | next [-] | |||||||
Yup, totally doable. Of course, it’s a point to point link so if you want to build a whole cluster that way then you’ll need a lot of usb-c ports or you’ll need to make more of a mesh topology. I believe MacOS supports it via the usual network control panel. I’ve used it for transferring data from an older laptop to a newer one. The cable is more expensive than fiber, last time I checked. | ||||||||
| ||||||||
| ▲ | robin_reala 2 hours ago | parent | prev | next [-] | |||||||
USB-4 is basically Thunderbolt right? Thunderbolt networking is pretty automatic on Macs at least: https://support.apple.com/en-gb/guide/mac-help/mchld53dd2f5/... | ||||||||
| ▲ | ssl-3 2 hours ago | parent | prev | next [-] | |||||||
With USB 4, very strictly speaking: It's iffy. USB 4 doesn't require hosts to be able to switch roles and talk to other hosts. It can support this, but support is optional. But for all certified Thunderbolt 4 and 5 ports, this kind of networking support is a requirement. (It is optional with Thunderbolt 3.) The rest is up to the operating system. | ||||||||
| ▲ | warpflyght 2 hours ago | parent | prev [-] | |||||||
Yes, there are a few standard(ish) mechanisms for doing this, like [RNDIS][1] and NCM. If you have two Thunderbolt-equipped Macs and connect their ports together, you can use Bonjour/zeroconf for network discovery between them. | ||||||||