DeskPi-Team / super6c

Super6c stands for Super 6 CM4 Cluster.
MIT License
72 stars 5 forks source link

Make the onboard switch's I2C interface available to a CM4 module #28

Closed jdimpson closed 8 months ago

jdimpson commented 1 year ago

According to the data sheet the RTL8370N is a full manageable switch. I am probably oversimplifying, but it looks like all this requires is for teh I2C pins of the switch chip to be connected to those of one of the CM4 devices. It is a shame to be unable to set VLANs, utilize the access controls and QoS, Port Mirroring, and other advanced features of this switch chip.

yoyojacky commented 8 months ago

Actually, this motherboard primarily integrates the CM4 network cards into the environment of the switch chip, allowing all CM4 modules to achieve data forwarding similar to a switch backplane through the internal hardware network. In reality, the ETH0 network interface of each CM4 module, as seen in the Raspberry Pi system, is connected to a local network. Regarding the advanced features of the switch, it may require support at the system level. The hardware we provide may not support VLAN segmentation, but if you want to implement access control and QoS, you can try using application-level IPTABLES. This is a baseboard for a cluster, and it might be more suitable for cluster applications rather than network devices.