The SJA1105 switch do not have a Linux kernel driver. As such, the PHY chip (BCM5464R) attached to the 4 externally connected ports of the LS1021ATSN board (ETH2, ETH3, ETH4, ETH5) is not controlled by the Linux kernel either.
Please refer to GitHub - openil/sja1105-tool: The sja1105-tool is a Linux userspace application for configuring the ...
echo 0 > /proc/sys/net/ipv4/ip_forward
ping <eth2_IP> -I eth0
The networking packets should go to outside.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------