On Mon, Sep 9, 2024 at 10:43 AM <tabris@tabris.net> wrote:
No. It may even be better in that a switch's support for balancing may be [usually is] limited. e.g. if it supports only L2/MAC or L3 hashing, you couldn't saturate the combined links. Even L3+L4 hashing would require multiple TCP streams to saturate the links, and that's not guaranteed. Most switches don't like to do round robin balancing as it requires state to be maintained. YMMV of course depending on your gear.
I have set up such a directly connected system. One side is openSUSE 15.6, and the other is Windows 10. My aim is increasing throughput speed for data transfer between the two systems. The situation is that the Windows computer can access the Linux computer via this network (via ssh). The Linux system, otoh, cannot access the Windows computer. The route information is: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.2.192.65 0.0.0.0 UG 0 0 0 eth1 10.1.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 10.1.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 10.1.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 10.1.9.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4 10.1.10.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0 10.2.192.64 0.0.0.0 255.255.255.224 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5 195.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 Where network 10.1.10 is the bonded network. There is no gateway on that network as there are only these two machines on the 10.1.10 network. The gateway to unknown networks is eth1. But the bonded network is known. The network is configured (via yast2) as: IPADDR='10.1.10.1/24' BOOTPROTO='static' STARTMODE='auto' BONDING_MASTER='yes' BONDING_SLAVE0='eth11' BONDING_SLAVE1='eth9' BONDING_SLAVE2='eth12' BONDING_SLAVE3='eth10' BONDING_MODULE_OPTS='mode=active-backup miimon=100' and each slave is configured as: IPADDR='0.0.0.0' MTU='0' BOOTPROTO='none' STARTMODE='auto' The mode (active-backup) is curious. I have tried others (e.g. balance-alb) to no effect. Of course the first thing was to see if Windows was blocking something. We do not run any firewall. These are systems in road measurement vehicles. When the network is one standard NIC, all works. Doing this bonding does not. It is only this network that is acting this way. On a different network connection to this computer (10.1.4), all things work. I usually point the finger at the Windows system when these situations arise. I really do not feel that is the case now. But I'm not total sure about that. The system is a high-speed data collection system. It has many network-based transducers. Thus all the networks.
Sent from myPhone.
On Sep 9, 2024, at 4:35 AM, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
If one bonds a number of NIC, is it a requirement that they be connected to the network via a switch? Say that you connect two computers to each other, with 4 NIC on one computer directly connected to 4 NIC on the other. On each these are bonded (called a Team on Windows).
I know that if you do use a switch, it must support Static Link Aggregation. But is a switch required to make this work at all? kip the discu -- Roger Oberholtzer
-- Roger Oberholtzer