I reckon it's via an USB-Ethernet adapter.
If you use USB Hubs you could theoretically add as many as you want on a single USB port if you daisy chain the Hubs (if it's a really large number some of the Hubs must have external power).
Granted, performance is limited.
Never tried it, though, so maybe there are further limitations.